Update src/app/layout.tsx

This commit is contained in:
2026-03-10 10:20:24 +00:00
parent 466ec78ec1
commit 3dfd8fc956

View File

@@ -1,24 +1,61 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Figtree } 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 { Figtree } 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 figtree = Figtree({
variable: "--font-figtree",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Brew Haven - Premium Coffee Experience",
description: "Discover Brew Haven, your destination for expertly crafted coffee. Explore our menu of signature espresso drinks, cold brews, and seasonal creations.",
keywords: "coffee shop, espresso, specialty coffee, latte, cold brew, local cafe",
metadataBase: new URL("https://brewhaven.com"),
alternates: {
canonical: "https://brewhaven.com",
},
openGraph: {
title: "Brew Haven - Premium Coffee",
description: "Experience the finest crafted coffee at Brew Haven",
url: "https://brewhaven.com",
siteName: "Brew Haven",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/top-view-tasty-espresso-served-cup-with-coffee_24972-2324.jpg",
alt: "Brew Haven Coffee",
},
],
},
twitter: {
card: "summary_large_image",
title: "Brew Haven - Premium Coffee",
description: "Experience the finest crafted coffee",
images: ["http://img.b2bpic.net/free-photo/top-view-tasty-espresso-served-cup-with-coffee_24972-2324.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={`${figtree.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${figtree.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +78,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}