Update src/app/layout.tsx

This commit is contained in:
2026-03-17 06:42:49 +00:00
parent a8f9a2be89
commit 792fc34577

View File

@@ -1,24 +1,61 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Nunito } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Nunito } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const nunito = Nunito({
variable: "--font-nunito",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Daily Coffee & Restaurant - Casablanca",
description: "Discover Daily Coffee & Restaurant in Casablanca. Fresh coffee, delicious meals, family-friendly atmosphere. Dine-in, delivery, catering, and reservations available. Call 06 00 14 19 14.",
keywords: "restaurant Casablanca, coffee café, lunch dinner, delivery, catering, reservations, local food",
metadataBase: new URL("https://dailycoffee-restaurant.ma"),
alternates: {
canonical: "https://dailycoffee-restaurant.ma",
},
openGraph: {
title: "Daily Coffee & Restaurant - Casablanca",
description: "Fresh Coffee. Delicious Meals. Feel at Home. Local favorite for dining, delivery, and catering.",
url: "https://dailycoffee-restaurant.ma",
siteName: "Daily Coffee & Restaurant",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-coffee_23-2148892879.jpg",
alt: "Fresh artisan coffee at Daily Coffee & Restaurant",
},
],
},
twitter: {
card: "summary_large_image",
title: "Daily Coffee & Restaurant - Casablanca",
description: "Fresh coffee, delicious meals, and a warm atmosphere. Call 06 00 14 19 14 to order or reserve.",
images: ["http://img.b2bpic.net/free-photo/close-up-hand-pouring-milk-coffee_23-2148892879.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +64,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${nunito.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +78,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}