Next.js 16 App Router, TR/EN i18n via [lang] routing and proxy.ts, Tailwind v4, minimal list menu style, sticky bottom tab bar with Intersection Observer, PWA manifest, WhatsApp fixed button. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
804 B
TypeScript
38 lines
804 B
TypeScript
import type { Metadata } from 'next'
|
|
import { Playfair_Display, Inter } from 'next/font/google'
|
|
import './globals.css'
|
|
|
|
const playfair = Playfair_Display({
|
|
subsets: ['latin'],
|
|
variable: '--font-playfair',
|
|
display: 'swap',
|
|
style: ['normal', 'italic'],
|
|
weight: ['400', '500', '600', '700'],
|
|
})
|
|
|
|
const inter = Inter({
|
|
subsets: ['latin'],
|
|
variable: '--font-inter',
|
|
display: 'swap',
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Kozmos Beach & More',
|
|
description: 'Kozmos Beach & More dijital menüsü',
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html
|
|
lang="tr"
|
|
className={`${playfair.variable} ${inter.variable}`}
|
|
>
|
|
<body className="bg-cream font-body antialiased">{children}</body>
|
|
</html>
|
|
)
|
|
}
|