Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a9a59ad62 | |||
| 3e0d20aede | |||
| 28dd6aa402 |
@@ -1,53 +1,25 @@
|
|||||||
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 { Source_Sans_3 } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
import "./styles/variables.css";
|
||||||
import Tag from "@/tag/Tag";
|
import "./styles/base.css";
|
||||||
|
|
||||||
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 sourceSans3 = Source_Sans_3({
|
|
||||||
variable: "--font-source-sans-3", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "ShopHub - Premium Products & Fast Delivery | Shop Online", description: "Discover premium products with fast 2-3 day delivery, quality guaranteed, and 24/7 customer support. Shop trusted brands at ShopHub.", keywords: "online shopping, ecommerce, products, fast delivery, quality guaranteed, customer service", robots: {
|
title: "ShopHub - Premium Products & Fast Shipping", description: "Discover premium products with fast shipping and excellent customer service. Trusted by 50,000+ happy customers."};
|
||||||
index: true,
|
|
||||||
follow: true,
|
|
||||||
},
|
|
||||||
openGraph: {
|
|
||||||
title: "ShopHub - Premium Products & Fast Delivery", description: "Discover premium products with fast 2-3 day delivery, quality guaranteed, and 24/7 customer support.", type: "website", siteName: "ShopHub", images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/person-setting-up-online-store-uploading-products-laptop_73899-54387.jpg", alt: "ShopHub - Premium Shopping Experience"},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image", title: "ShopHub - Premium Products & Fast Delivery", description: "Discover premium products with fast delivery and exceptional customer service.", images: ["http://img.b2bpic.net/free-photo/person-setting-up-online-store-uploading-products-laptop_73899-54387.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">
|
||||||
<ServiceWrapper>
|
<body className={inter.variable}>
|
||||||
<body
|
{children}
|
||||||
className={`${halant.variable} ${inter.variable} ${sourceSans3.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
@@ -1416,7 +1388,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user