Update src/app/layout.tsx

This commit is contained in:
2026-03-07 22:59:56 +00:00
parent 26382af079
commit b5970d76d1

View File

@@ -1,60 +1,24 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Inter_Tight } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "./styles/variables.css";
import "./styles/base.css";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const interTight = Inter_Tight({
variable: "--font-inter-tight", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Premium Home Appliances | HomeApply", description: "Shop quality home appliances with energy-efficient features, fast delivery, and outstanding customer support. Transform your home today.", keywords: "home appliances, kitchen appliances, smart appliances, energy efficient, refrigerator, washer, oven, dishwasher", metadataBase: new URL("https://homeapply.com"),
alternates: {
canonical: "https://homeapply.com"
},
openGraph: {
title: "Premium Home Appliances | HomeApply", description: "Discover quality home appliances for modern living with fast delivery and warranty coverage.", url: "https://homeapply.com", siteName: "HomeApply", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/close-up-oven-with-golden-details_23-2148848652.jpg", alt: "HomeApply Premium Appliances"
}
]
},
twitter: {
card: "summary_large_image", title: "Premium Home Appliances | HomeApply", description: "Shop quality home appliances with fast delivery and exceptional support.", images: ["http://img.b2bpic.net/free-photo/close-up-oven-with-golden-details_23-2148848652.jpg"]
},
robots: {
index: true,
follow: true
}
};
title: "HomeApply - Premium Home Appliances", description: "Discover energy-efficient, durable appliances for modern living."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${interTight.variable} antialiased`}
>
<Tag />
{children}
<body className={inter.className}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1422,7 +1386,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}