Merge version_2 into main #2
@@ -1,54 +1,40 @@
|
||||
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"],
|
||||
});
|
||||
import { ServiceWrapper } from "@/providers/serviceWrapper/ServiceWrapper";
|
||||
import { Tag } from "@/components/common/Tag";
|
||||
|
||||
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`}
|
||||
>
|
||||
<body className={`${inter.variable} antialiased`}>
|
||||
<ServiceWrapper>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
</ServiceWrapper>
|
||||
<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 +1402,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ export default function LandingPage() {
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
logo={"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AgJZ54jkLGn1DEyyoCxPuTSlxW/uploaded-1773008708625-izxd1bl4.jpg"}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -42,7 +43,7 @@ export default function LandingPage() {
|
||||
background={{ variant: "downward-rays-static" }}
|
||||
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"
|
||||
buttons={[
|
||||
|
||||
Reference in New Issue
Block a user