Update src/app/layout.tsx
This commit is contained in:
@@ -1,56 +1,17 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Figtree } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const figtree = Figtree({
|
||||
variable: "--font-figtree",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
import "./styles/globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Modern E-Commerce Store - Premium Products & Fast Shipping",
|
||||
description: "Shop our curated collection of premium products with fast shipping, secure checkout, and 24/7 customer support. Discover your favorites today!",
|
||||
keywords: "online shopping, ecommerce, products, buy online, fast shipping, quality merchandise",
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
openGraph: {
|
||||
type: "website",
|
||||
title: "Modern E-Commerce Store - Shop Premium Products",
|
||||
description: "Discover exceptional products at unbeatable prices. Free shipping on orders over $50!",
|
||||
siteName: "Storefront",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/person-setting-up-online-store-uploading-products-laptop_73899-54387.jpg",
|
||||
alt: "Premium e-commerce shopping platform",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Modern E-Commerce Store",
|
||||
description: "Shop quality products with fast shipping and excellent customer service",
|
||||
images: [
|
||||
"http://img.b2bpic.net/free-photo/person-setting-up-online-store-uploading-products-laptop_73899-54387.jpg",
|
||||
],
|
||||
},
|
||||
};
|
||||
title: "Storefront - Premium Products Online", description: "Shop our exclusive collection of high-quality items with exceptional customer service and fast shipping."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${figtree.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1418,7 +1379,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user