Update src/app/layout.tsx

This commit is contained in:
2026-03-22 10:16:36 +00:00
parent af103efa7c
commit 2c348389a7

View File

@@ -1,18 +1,22 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Poppins } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Poppins } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const poppins = Poppins({
variable: "--font-poppins",
@@ -20,6 +24,39 @@ const poppins = Poppins({
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "StyleCraft - Custom Tailoring & Fashion Shop",
description: "Premium custom tailoring and bespoke clothing design. Create perfectly fitted garments with our expert tailors. Shop custom orders and ready-made fashion.",
keywords: "custom tailoring, bespoke clothing, custom dress, tailored suit, fashion shop, personalized clothing",
metadataBase: new URL("https://stylecraft.com"),
alternates: {
canonical: "https://stylecraft.com",
},
openGraph: {
title: "StyleCraft - Custom Tailoring & Fashion",
description: "Elevate your style with custom tailored garments designed just for you.",
url: "https://stylecraft.com",
siteName: "StyleCraft",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/woman-showing-dress_23-2147688400.jpg",
alt: "Custom tailored clothing showcase",
},
],
},
twitter: {
card: "summary_large_image",
title: "StyleCraft - Custom Tailoring",
description: "Create perfectly fitted custom clothing with our expert tailors.",
images: ["http://img.b2bpic.net/free-photo/woman-showing-dress_23-2147688400.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -28,7 +65,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${poppins.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${poppins.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -40,4 +79,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}