"use client";

import React from "react";
import TopBar from "./TopBar";
import NavBar from "./NavBar";
import Footer from "./Footer";
import WhatsAppButton from "../common/WhatsAppButton";

interface LayoutProps {
  children: React.ReactNode;
}

const Layout: React.FC<LayoutProps> = ({ children }) => {
  return (
    <div className="min-h-screen flex flex-col">
      <TopBar />
      <NavBar />
      <main className="grow">{children}</main>
      <Footer />
      <WhatsAppButton />
    </div>
  );
};

export default Layout;
