Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3e7bce3d41 | |||
| 224ccdc506 | |||
| ae98f90f2d | |||
| 70118aa5e5 | |||
| 1c7c3b8a58 |
@@ -1,67 +1,28 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Inter } from "next/font/google";
|
import { Geist, Geist_Mono } 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 inter = Inter({
|
const geist = Geist({
|
||||||
variable: "--font-inter",
|
variable: "--font-geist-sans", subsets: ["latin"],
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const openSans = Open_Sans({
|
const geistMono = Geist_Mono({
|
||||||
variable: "--font-open-sans",
|
variable: "--font-geist-mono", subsets: ["latin"],
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "EchoStore - Premium E-Commerce Platform | Quality Products",
|
title: "Create Next App", description: "Generated by create next app"};
|
||||||
description: "Discover exceptional products at unbeatable prices. Free shipping, secure checkout, 30-day guarantee. Shop 50,000+ happy customers' favorite store.",
|
|
||||||
keywords: "ecommerce, online store, shopping, products, quality, free shipping, secure checkout",
|
|
||||||
metadataBase: new URL("https://echostore.com"),
|
|
||||||
alternates: {
|
|
||||||
canonical: "https://echostore.com",
|
|
||||||
},
|
|
||||||
openGraph: {
|
|
||||||
title: "EchoStore - Your Trusted Online Store",
|
|
||||||
description: "Discover exceptional products at unbeatable prices with free shipping and 30-day money-back guarantee.",
|
|
||||||
url: "https://echostore.com",
|
|
||||||
siteName: "EchoStore",
|
|
||||||
type: "website",
|
|
||||||
images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/online-shopping-web-shop-e-shopping-concept_53876-124856.jpg",
|
|
||||||
alt: "EchoStore - Modern E-Commerce Platform",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image",
|
|
||||||
title: "EchoStore - Premium E-Commerce Platform",
|
|
||||||
description: "Quality products, free shipping, secure checkout. Join 50,000+ happy customers.",
|
|
||||||
images: ["http://img.b2bpic.net/free-photo/online-shopping-web-shop-e-shopping-concept_53876-124856.jpg"],
|
|
||||||
},
|
|
||||||
robots: {
|
|
||||||
index: true,
|
|
||||||
follow: true,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
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={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||||
<body
|
{children}
|
||||||
className={`${inter.variable} ${openSans.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1429,7 +1390,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ export default function HomePage() {
|
|||||||
tagIcon={Sparkles}
|
tagIcon={Sparkles}
|
||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Start Shopping", href: "/products" },
|
{ text: "Shop Now & Save 20%", href: "/products" },
|
||||||
{ text: "Learn More", href: "/about" },
|
{ text: "Learn More", href: "/about" },
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
@@ -323,4 +323,4 @@ export default function HomePage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user