|
|
|
|
@@ -1,55 +1,20 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Halant } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import { Roboto } 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"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const inter = Inter({
|
|
|
|
|
variable: "--font-inter", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const roboto = Roboto({
|
|
|
|
|
variable: "--font-roboto", subsets: ["latin"],
|
|
|
|
|
weight: ["100", "300", "400", "500", "700", "900"],
|
|
|
|
|
});
|
|
|
|
|
const inter = Inter({ subsets: ["latin"] });
|
|
|
|
|
|
|
|
|
|
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: {
|
|
|
|
|
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"],
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
title: "PhoneHub - Premium Smartphones", description: "Discover our curated collection of the latest flagship phones with cutting-edge technology, stunning displays, and powerful cameras."};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${halant.variable} ${inter.variable} ${roboto.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body className={inter.className}>{children}
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1417,7 +1382,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|