Skip to content

Commit

Permalink
feat: add base layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhall1515 committed Apr 21, 2024
1 parent 4aaa362 commit 51c834c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/(public)/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import CookieBanner from "@/components/cookies";
import Footer from "@/components/footer";
import Header from "@/components/header";

export default function PublicLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<>
<Header />
<main className="">{children}</main>
<Footer />
<CookieBanner />
</>
);
}

0 comments on commit 51c834c

Please sign in to comment.