5 Commits

Author SHA1 Message Date
d34281d9d9 Update src/app/page.tsx 2026-03-04 21:00:12 +00:00
c02e8b9172 Update src/app/layout.tsx 2026-03-04 21:00:11 +00:00
d5bcdac8e2 Merge version_1 into main
Merge version_1 into main
2026-03-04 20:59:08 +00:00
2ce0b56e1b Merge version_1 into main
Merge version_1 into main
2026-03-04 20:58:05 +00:00
2d3c5cd43c Merge version_1 into main
Merge version_1 into main
2026-03-04 20:56:52 +00:00
2 changed files with 9 additions and 45 deletions

View File

@@ -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>
); );
} }

View File

@@ -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>
); );
} }