83 lines
2.5 KiB
TypeScript
83 lines
2.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } 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 dmSans = DM_Sans({
|
|
variable: "--font-dm-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Cafe Restaurant La Cote | Authentic Moroccan Cuisine in Asilah",
|
|
description: "Experience authentic Moroccan cuisine at Cafe Restaurant La Cote in Asilah. Elegant dining, traditional recipes, and warm hospitality await.",
|
|
keywords: "Moroccan restaurant, Asilah dining, authentic cuisine, tagine, couscous, Mediterranean food",
|
|
metadataBase: new URL("https://caterestaurantlacote.com"),
|
|
alternates: {
|
|
canonical: "https://caterestaurantlacote.com"
|
|
},
|
|
openGraph: {
|
|
title: "Cafe Restaurant La Cote",
|
|
description: "Enjoy delicious food and drinks in a beautiful atmosphere in Asilah. Authentic Moroccan cuisine.",
|
|
url: "https://caterestaurantlacote.com",
|
|
siteName: "Cafe Restaurant La Cote",
|
|
type: "website",
|
|
images: [
|
|
{
|
|
url: "http://img.b2bpic.net/free-photo/part-home-kitchen-table-setting-with-gray-plates-bouquet-vase_169016-15715.jpg",
|
|
alt: "Cafe Restaurant La Cote - Authentic Moroccan Dining"
|
|
}
|
|
]
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Cafe Restaurant La Cote | Asilah",
|
|
description: "Experience authentic Moroccan cuisine with traditional recipes and warm hospitality.",
|
|
images: [
|
|
"http://img.b2bpic.net/free-photo/part-home-kitchen-table-setting-with-gray-plates-bouquet-vase_169016-15715.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} ${dmSans.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |