Update src/app/layout.tsx
This commit is contained in:
@@ -1,54 +1,21 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Open_Sans } from "next/font/google";
|
||||
import "./styles/variables.css";
|
||||
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 openSans = Open_Sans({
|
||||
variable: "--font-open-sans", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "PetLove - Premium Pet Supplies & Care Products", description: "Shop premium pet supplies, vet-approved nutrition, and interactive toys for dogs, cats, and more. Fast shipping, expert guidance, and 98% customer satisfaction guaranteed.", keywords: "pet supplies, dog food, cat toys, pet care, pet grooming, premium pet products, pet store online", robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
openGraph: {
|
||||
title: "PetLove - Premium Pet Supplies & Care", description: "Premium pet care products trusted by thousands of pet owners. Fast shipping and vet-approved solutions.", siteName: "PetLove", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/happy-young-woman-playing-with-her-pet-laughing-smiling-enjoying-spending-time-with-her-lovely_1258-193311.jpg", alt: "Premium pet supplies and care products"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "PetLove - Premium Pet Supplies", description: "Shop premium pet supplies with fast shipping and expert guidance.", images: ["http://img.b2bpic.net/free-photo/happy-young-woman-playing-with-her-pet-laughing-smiling-enjoying-spending-time-with-her-lovely_1258-193311.jpg"],
|
||||
},
|
||||
};
|
||||
title: "Calming Den Kit for Anxious Dogs", description: "Premium sound-dampening crate cover and weighted bed insert kit for separation-anxious dogs. Effective desensitization training tool under $200."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1416,7 +1383,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user