Update src/app/layout.tsx

This commit is contained in:
2026-06-11 20:50:24 +00:00
parent 3a85e292b6
commit 3108e57106

View File

@@ -1,26 +1,32 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Public_Sans } from "next/font/google";
import "./globals.css";
import "@/lib/gsap-setup";
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 publicSans = Public_Sans({
variable: "--font-public-sans", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
title: "E-Bike Emporium | Electric Bikes for Urban & Adventure", description: "Discover premium electric bikes for commuting, mountain trails, and touring. High-performance, eco-friendly e-bikes for every rider.", keywords: undefined,
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'),
openGraph: {
title: "E-Bike Emporium", description: "Premium Electric Bikes for Urban & Adventure", url: "/", siteName: "E-Bike Emporium", images: [{
url: "http://img.b2bpic.net/free-photo/adults-learning-use-electric-scooter_23-2149341773.jpg", alt: "Urban electric bike"
}],
type: "website"},
twitter: {
card: "summary_large_image", title: "E-Bike Emporium", description: "Premium Electric Bikes for Urban & Adventure", images: ["http://img.b2bpic.net/free-photo/adults-learning-use-electric-scooter_23-2149341773.jpg"],
},
robots: {
index: true,
follow: true,
},
alternates: {
canonical: "/"}
};
export default function RootLayout({
@@ -32,7 +38,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
className={`${publicSans.variable} antialiased`}
>
<Tag />
{children}
@@ -45,4 +51,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}