Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b7d035f1ad | |||
| 544c50511a | |||
| c8a45c6ac3 | |||
| 824d5f2163 | |||
| a4c2e1e86a | |||
| b23c7ede63 | |||
| 0510f63877 |
@@ -1,48 +1,21 @@
|
||||
import type { Metadata } from "next";
|
||||
import { DM_Sans } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const dmSans = DM_Sans({
|
||||
variable: "--font-dm-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "iPhone Store - Premium Smartphones & Accessories", description: "Shop authentic iPhones with best prices, 24/7 support, and flexible payment options. 100% genuine products with manufacturer warranty.", keywords: "iPhone, Apple smartphone, buy iPhone, iPhone store, mobile phones, latest iPhone models", robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
openGraph: {
|
||||
title: "iPhone Store - Premium Smartphones", description: "Discover the latest iPhone models at competitive prices with expert support", url: "https://iphonestore.com", siteName: "iPhone Store", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-psd/new-smartphone-a18-bionic-social-media-banner-design-template_47987-33085.jpg", alt: "Latest iPhone Collection"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "iPhone Store - Shop Premium iPhones", description: "Get the latest iPhones with best prices and expert support", images: ["http://img.b2bpic.net/free-psd/new-smartphone-a18-bionic-social-media-banner-design-template_47987-33085.jpg"],
|
||||
},
|
||||
title: "iPhone Store - Premium Apple Devices", description: "Shop the latest iPhone models with expert support and competitive pricing."
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${dmSans.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1410,7 +1383,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user