Initial commit: CMS completo com gerenciamento de leads e personalização de tema
This commit is contained in:
22
frontend/src/app/(public)/layout.tsx
Normal file
22
frontend/src/app/(public)/layout.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import Header from "@/components/Header";
|
||||
import Footer from "@/components/Footer";
|
||||
import CookieConsent from "@/components/CookieConsent";
|
||||
import WhatsAppButton from "@/components/WhatsAppButton";
|
||||
|
||||
export default function PublicLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<div className="grow">
|
||||
{children}
|
||||
</div>
|
||||
<Footer />
|
||||
<CookieConsent />
|
||||
<WhatsAppButton />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user