Update src/app/layout.tsx

This commit is contained in:
2026-03-08 06:00:09 +00:00
parent 6fc83a733e
commit 1f0a2450f4

View File

@@ -1,58 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Lato } from "next/font/google";
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 lato = Lato({
variable: "--font-lato", subsets: ["latin"],
weight: ["100", "300", "400", "700", "900"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Minimal - Timeless Clothing Collection", description: "Discover minimalist, sustainable clothing designed for comfort and style. Shop our curated collection of quality essentials and statement pieces.", keywords: "minimal clothing, sustainable fashion, organic apparel, essentials collection", metadataBase: new URL("https://minimal.com"),
alternates: {
canonical: "https://minimal.com"},
openGraph: {
title: "Minimal - Timeless Clothing Collection", description: "Discover minimalist, sustainable clothing designed for comfort and style.", type: "website", siteName: "Minimal", url: "https://minimal.com", images: [
{
url: "http://img.b2bpic.net/free-photo/woman-nature-with-clothesline_23-2148170139.jpg", alt: "minimalist clothing fashion collection model"},
],
},
twitter: {
card: "summary_large_image", title: "Minimal - Timeless Clothing Collection", description: "Shop sustainable, minimalist fashion for every moment.", images: ["http://img.b2bpic.net/free-photo/woman-nature-with-clothesline_23-2148170139.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "Minimal - Timeless Clothing", description: "Discover our curated collection of minimalist apparel designed for comfort and style."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${lato.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1420,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}