panku-app/src/components/page-layout.jsx

1import { Outlet } from "react-router"; 2 3import { Navbar } from "./navbar"; 4 5export const PageLayout = () => { 6 return ( 7 <> 8 <div className="container"> 9 <Outlet /> 10 {/* extra space at the bottom */} 11 <div className="empty-height"></div> 12 13 <Navbar /> 14 </div> 15 </> 16 ); 17}; 18 19export default PageLayout;