|
|
|
|
@@ -1,54 +1,35 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Halant } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import { Open_Sans } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
|
|
|
import Tag from "@/tag/Tag";
|
|
|
|
|
|
|
|
|
|
const halant = Halant({
|
|
|
|
|
variable: "--font-halant", subsets: ["latin"],
|
|
|
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const inter = Inter({
|
|
|
|
|
variable: "--font-inter", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const openSans = Open_Sans({
|
|
|
|
|
variable: "--font-open-sans", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "Ahmaam Sports - Premium Athletic Wear", description: "Discover premium sportswear designed for champions. High-performance athletic wear with style and comfort.", keywords: "sportswear, athletic wear, sports apparel, performance clothing, athletic brands", robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true,
|
|
|
|
|
},
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "Ahmaam Sports - Premium Athletic Wear", description: "Discover premium sportswear designed for champions. High-performance athletic wear with style and comfort.", type: "website", siteName: "Ahmaam Sports", images: [
|
|
|
|
|
{
|
|
|
|
|
url: "http://img.b2bpic.net/free-photo/midsection-view-teenage-boy-with-basketball_23-2147888355.jpg", alt: "Ahmaam Sports - Premium Athletic Wear"},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image", title: "Ahmaam Sports - Premium Athletic Wear", description: "Discover premium sportswear designed for champions. High-performance athletic wear with style and comfort.", images: ["http://img.b2bpic.net/free-photo/midsection-view-teenage-boy-with-basketball_23-2147888355.jpg"],
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
title: "Ahmaam Sports - Premium Athletic Wear", description: "Premium athletic wear designed for champions. Performance, style, and comfort in every piece."};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<body className={`${inter.variable} antialiased`}>
|
|
|
|
|
{children}
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
|
|
|
document.documentElement.classList.add('dark')
|
|
|
|
|
} else {
|
|
|
|
|
document.documentElement.classList.remove('dark')
|
|
|
|
|
}
|
|
|
|
|
`,
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1416,7 +1397,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|