40 lines
1.0 KiB
TypeScript
40 lines
1.0 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Playfair_Display } from "next/font/google";
|
|
import "./globals.css";
|
|
import ScrollToTop from "@/components/ScrollToTop/ScrollToTop";
|
|
|
|
const playfairDisplay = Playfair_Display({
|
|
subsets: ["latin"],
|
|
variable: "--font-heading",
|
|
display: "swap",
|
|
});
|
|
|
|
// Note: Canva Sans is loaded via CDN in the head section below
|
|
// We'll use system fonts as fallback in the CSS variables
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Antalya Restaurant - Book A Table",
|
|
description: "Experience luxury dining at Antalya Restaurant.",
|
|
};
|
|
|
|
import Navbar from '@/components/Navbar/Navbar'
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="en" className={playfairDisplay.variable}>
|
|
<head>
|
|
<link rel="preconnect" href="https://fonts.cdnfonts.com" />
|
|
<link href="https://fonts.cdnfonts.com/css/canva-sans" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<Navbar />
|
|
{children}
|
|
<ScrollToTop />
|
|
</body>
|
|
</html>
|
|
)
|
|
} |