import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
import { ReactNode } from "react";

type LayoutProps = {
    children: ReactNode;
  };
  
  const Layout = ({ children }: LayoutProps) => {
    return (
      <div className="min-h-screen bg-white flex flex-col">
        <Navbar />
        <main className="flex-1 pt-16">{children}</main>
        <Footer />
      </div>
    );
  };
  
  export default Layout;