Skip to content

Commit

Permalink
feat: add base layout for public pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhall1515 committed Apr 21, 2024
1 parent 6014c06 commit b879169
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 b879169

Please sign in to comment.