Switch to version 1: modified src/app/layout.tsx
This commit is contained in:
@@ -1,24 +1,50 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Libre_Baskerville } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "./styles/variables.css";
|
||||
import "./styles/base.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
const libreBaskerville = Libre_Baskerville({
|
||||
variable: "--font-libre-baskerville", subsets: ["latin"],
|
||||
weight: ["400", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Padaryk Evaldo Baldam Ten Baldu Kompanija - Premium Furniture", description: "Discover exquisite handcrafted furniture that transforms your living space. Premium materials, timeless design, and uncompromising quality."};
|
||||
title: "Padaryk - Premium Handcrafted Furniture | Evaldo Baldam", description: "Discover exquisite handcrafted furniture by Padaryk. Premium materials, timeless design, and uncompromising quality for your home.", keywords: "furniture, handcrafted, premium, design, sofa, chairs, tables, interior design", openGraph: {
|
||||
title: "Padaryk - Premium Handcrafted Furniture", description: "Exquisite furniture that transforms your living space with timeless design and superior craftsmanship.", type: "website", siteName: "Padaryk", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/modern-interior-design-living-room-with-soft-sofa-background-wooden-wall-minim_1258-134116.jpg", alt: "Padaryk Premium Furniture Collection"
|
||||
}
|
||||
]
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Padaryk - Premium Handcrafted Furniture", description: "Discover timeless furniture designs by Padaryk", images: ["http://img.b2bpic.net/free-photo/modern-interior-design-living-room-with-soft-sofa-background-wooden-wall-minim_1258-134116.jpg"]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={inter.className}>
|
||||
{children}
|
||||
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1386,6 +1412,7 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user