Update src/app/layout.tsx

This commit is contained in:
2026-03-17 13:12:32 +00:00
parent 59b6b69b73
commit ddaafb4c54

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_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";
import { Nunito_Sans } 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 nunitoSans = Nunito_Sans({
variable: "--font-nunito-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Chicko Chicken - Bahrain's Favorite Crispy Chicken",
description: "Order fresh, crispy fried chicken in Bahrain. Fast delivery via Talabat. Premium broasted chicken, burgers, and twisters at affordable prices.",
keywords: "fried chicken Bahrain, fast food, broasted chicken, chicken burger, Talabat delivery, quick service restaurant",
metadataBase: new URL("https://chickochicken.bh"),
alternates: {
canonical: "https://chickochicken.bh",
},
openGraph: {
title: "Chicko Chicken - Crispy Chicken Delivered Fresh",
description: "Bahrain's favorite fast-food fried chicken. Order now on Talabat for quick delivery!",
url: "https://chickochicken.bh",
siteName: "Chicko Chicken",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/close-up-hand-holding-vegetarian-taco_23-2148629346.jpg",
alt: "Chicko Chicken - Crispy Twister Wrap",
},
],
},
twitter: {
card: "summary_large_image",
title: "Chicko Chicken - Bahrain's Favorite",
description: "Fresh crispy chicken, burgers, and twisters. Order on Talabat today!",
images: ["http://img.b2bpic.net/free-photo/close-up-hand-holding-vegetarian-taco_23-2148629346.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={`${nunitoSans.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +78,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}