import { createRootRoute, Outlet } from "@tanstack/react-router";
import Header from "../ui/Header";
import Footer from "../ui/Footer";

const RootLayout = () => {
  return (
    <>
      <Header />
      <main className="p-4 min-h-screen">
        <Outlet />
      </main>
      <Footer />
    </>
  );
};

export const Route = createRootRoute({
  component: RootLayout,
});
