Update src/app/layout.tsx

This commit is contained in:
2026-03-08 04:58:05 +00:00
parent 4dd666c865
commit cc0a57eeef

View File

@@ -1,57 +1,22 @@
import type { Metadata } from "next";
import { Libre_Baskerville, Inter } from "next/font/google";
import { Halant } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import './globals.css';
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville", subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: "Premium Graphic T-Shirts | Your Logo", description: "Discover premium graphic tees for modern lifestyle. Shop bold streetwear designs with exceptional quality and unique artistic prints.", keywords: "graphic t-shirts, streetwear, fashion, premium tees, modern style, artistic prints", metadataBase: new URL("https://yourlogo.com"),
alternates: {
canonical: "https://yourlogo.com"},
openGraph: {
title: "Premium Graphic T-Shirts | Your Logo", description: "Discover premium graphic tees for modern lifestyle. Shop bold streetwear designs with exceptional quality.", url: "https://yourlogo.com", siteName: "Your Logo", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/medium-shot-happy-man-holding-glasses_23-2149004834.jpg", alt: "Premium graphic t-shirt showcase"},
],
},
twitter: {
card: "summary_large_image", title: "Premium Graphic T-Shirts | Your Logo", description: "Discover premium graphic tees for modern lifestyle", images: ["http://img.b2bpic.net/free-photo/medium-shot-happy-man-holding-glasses_23-2149004834.jpg"],
},
robots: {
index: true,
follow: true,
},
title: 'Premium Graphic Tees | Your Logo',
description: 'Discover our collection of premium graphic t-shirts for modern lifestyle',
};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${libreBaskerville.variable} ${inter.variable} ${halant.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1419,7 +1384,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}