Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 168d5367af | |||
| db0c9a28ad | |||
| d03ef44299 | |||
| b8d7e64b7a | |||
| 565501ea5c | |||
| 65cd6d746c | |||
| 80390b7267 | |||
| 9a8996d072 | |||
| ae644bc71f |
@@ -1,54 +1,35 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import { Open_Sans } from "next/font/google";
|
|
||||||
import "./globals.css";
|
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({
|
const inter = Inter({
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
variable: "--font-inter", subsets: ["latin"],
|
||||||
});
|
});
|
||||||
|
|
||||||
const openSans = Open_Sans({
|
|
||||||
variable: "--font-open-sans", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
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: {
|
title: "Ahmaam Sports - Premium Athletic Wear", description: "Premium athletic wear designed for champions. Performance, style, and comfort in every piece."};
|
||||||
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"],
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<body className={`${inter.variable} antialiased`}>
|
||||||
<body
|
{children}
|
||||||
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
|
<script
|
||||||
>
|
dangerouslySetInnerHTML={{
|
||||||
<Tag />
|
__html: `
|
||||||
{children}
|
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
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1416,7 +1397,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export default function LandingPage() {
|
|||||||
background={{ variant: "downward-rays-static" }}
|
background={{ variant: "downward-rays-static" }}
|
||||||
avatars={[
|
avatars={[
|
||||||
{
|
{
|
||||||
src: "http://img.b2bpic.net/free-photo/midsection-view-teenage-boy-with-basketball_23-2147888355.jpg", alt: "Ahmaam Sports athletes"},
|
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AgJZ54jkLGn1DEyyoCxPuTSlxW/uploaded-1773008708625-izxd1bl4.jpg", alt: "Ahmaam Sports logo"},
|
||||||
]}
|
]}
|
||||||
avatarText="Trusted by athletes worldwide"
|
avatarText="Trusted by athletes worldwide"
|
||||||
buttons={[
|
buttons={[
|
||||||
|
|||||||
Reference in New Issue
Block a user