Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d34281d9d9 | |||
| c02e8b9172 | |||
| d5bcdac8e2 | |||
| 2ce0b56e1b | |||
| 2d3c5cd43c |
@@ -1,55 +1,20 @@
|
|||||||
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 { Roboto } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-halant", subsets: ["latin"],
|
|
||||||
weight: ["300", "400", "500", "600", "700"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const inter = Inter({
|
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const roboto = Roboto({
|
|
||||||
variable: "--font-roboto", subsets: ["latin"],
|
|
||||||
weight: ["100", "300", "400", "500", "700", "900"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "PhoneHub - Premium Smartphones & Deals", description: "Shop the latest flagship phones with advanced cameras, premium displays & powerful processors. Compare models, trade-in your old phone & save today.", keywords: "smartphones, phones for sale, flagship phones, mobile devices, phone deals, buy phones online", robots: {
|
title: "PhoneHub - Premium Smartphones", description: "Discover our curated collection of the latest flagship phones with cutting-edge technology, stunning displays, and powerful cameras."};
|
||||||
index: true,
|
|
||||||
follow: true,
|
|
||||||
},
|
|
||||||
openGraph: {
|
|
||||||
title: "PhoneHub - Premium Smartphones & Deals", description: "Discover premium smartphones with cutting-edge technology. Shop flagship phones from top brands.", url: "https://phonehub.com", siteName: "PhoneHub", type: "website", images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/man-using-smartphone-digital-remix_53876-104964.jpg", alt: "PhoneHub - Premium Smartphones"},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image", title: "PhoneHub - Premium Smartphones & Deals", description: "Shop the latest flagship phones with advanced technology and competitive pricing.", images: ["http://img.b2bpic.net/free-photo/man-using-smartphone-digital-remix_53876-104964.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.className}>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${roboto.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1417,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export default function LandingPage() {
|
|||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
background={{ variant: "radial-gradient" }}
|
background={{ variant: "radial-gradient" }}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Shop Now", href: "#products" },
|
{ text: "Shop Premium Phones", href: "#products" },
|
||||||
{ text: "Learn More", href: "#features" },
|
{ text: "Learn More", href: "#features" },
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
@@ -271,4 +271,4 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user