import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; import Header from "@/layouts/header"; import Footer from "@/layouts/footer"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"], }); export const metadata: Metadata = { title: "Coffee Shop — Hệ thống đặt món", description: "Đặt món cà phê, trà, nước ép và nhiều hơn nữa tại Coffee Shop.", icons: { icon: "/favicon/favicon.ico", shortcut: "/favicon/favicon.ico", apple: "/favicon/apple-touch-icon.png", }, }; export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return ( {/* FontAwesome 6 — icons used throughout the app */} {/* Sticky top header */}
{/* Page content (grows to fill remaining height) */}
{children}
{/* Footer always at bottom */}