import Header from "@/components/Header";
import Footer from "@/components/Footer";
import CookieConsent from "@/components/CookieConsent";
import WhatsAppButton from "@/components/WhatsAppButton";
import { LocaleProvider } from "@/contexts/LocaleContext";

export default function PublicLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <LocaleProvider locale="pt">
      <Header />
      <div className="grow">
        {children}
      </div>
      <Footer />
      <CookieConsent />
      <WhatsAppButton />
    </LocaleProvider>
  );
}
