Files
6448ef5b-a6bd-40bf-b3b5-2de…/src/app/layout.tsx
2026-03-15 10:59:53 +00:00

87 lines
2.6 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Manrope } from "next/font/google";
import { DM_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const manrope = Manrope({
variable: "--font-manrope",
subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "The Dome - Restaurant & Cocktails in Kénitra, Morocco",
description: "Premium dining, handcrafted cocktails, and signature desserts at The Dome in Kénitra. Open 10 AM - 1 AM daily. Reserve your table now.",
keywords: "restaurant kénitra, cocktails kénitra, desserts kénitra, dining kénitra, premium cafe kénitra, waffles ice cream, late night restaurant",
metadataBase: new URL("https://thedomekénitra.com"),
alternates: {
canonical: "https://thedomekénitra.com",
},
openGraph: {
title: "The Dome - Dining & Cocktails in Kénitra",
description: "Experience premium dining, handcrafted cocktails, and signature desserts in our stylish restaurant. Open until 1 AM.",
url: "https://thedomekénitra.com",
siteName: "The Dome Restaurant",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/beige-colored-interior-dining-room_114579-2540.jpg",
alt: "The Dome restaurant interior",
},
],
},
twitter: {
card: "summary_large_image",
title: "The Dome - Restaurant & Cocktails in Kénitra",
description: "Premium dining and cocktails in the heart of Kénitra. Reserve your table today.",
images: ["http://img.b2bpic.net/free-photo/beige-colored-interior-dining-room_114579-2540.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${manrope.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}