Files
65eb4cdb-ca70-4e8e-9db2-1b2…/src/app/layout.tsx
2026-03-20 05:36:21 +00:00

81 lines
2.5 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Raleway } 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 raleway = Raleway({
variable: "--font-raleway",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Bata Fashion Shoe Corner - Premium Footwear Collection",
description: "Shop premium footwear at Bata Fashion Shoe Corner. Discover men's, women's, sports, and casual shoes with free shipping. Quality shoes at affordable prices.",
keywords: "shoes, footwear, men's shoes, women's shoes, casual shoes, sports shoes, online shoe store, premium footwear",
metadataBase: new URL("https://batafashionshoes.com"),
alternates: {
canonical: "https://batafashionshoes.com",
},
openGraph: {
title: "Bata Fashion Shoe Corner - Premium Footwear",
description: "Discover our exclusive collection of premium shoes for every occasion. Shop men's, women's, sports, and casual footwear online.",
url: "https://batafashionshoes.com",
siteName: "Bata Fashion Shoe Corner",
type: "website",
images: [
{
url: "https://batafashionshoes.com/og-image.jpg",
alt: "Bata Fashion Shoe Corner - Premium Footwear Collection",
},
],
},
twitter: {
card: "summary_large_image",
title: "Bata Fashion Shoe Corner - Premium Shoes",
description: "Shop premium footwear online. Men's, women's, sports, and casual shoes available.",
images: ["https://batafashionshoes.com/twitter-image.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} ${raleway.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}