Update src/app/layout.tsx
This commit is contained in:
@@ -1,24 +1,54 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Public_Sans } 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 { Public_Sans } 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 publicSans = Public_Sans({
|
||||
variable: "--font-public-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "3D Print Pro - Premium 3D Printed Products & Custom Designs",
|
||||
description: "Premium 3D printing service. Browse products or upload CAD files for custom prints. 15,000+ projects completed with precision and quality.",
|
||||
keywords: "3D printing, 3D printed products, custom 3D printing, CAD file printing, 3D printer service",
|
||||
openGraph: {
|
||||
title: "3D Print Pro - Premium 3D Printed Products",
|
||||
description: "Browse curated 3D printed products or upload your CAD design for custom printing",
|
||||
siteName: "3D Print Pro",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AvHjnh7lPwezsto7kC2irb6C5g/modern-3d-printing-studio-with-multiple--1773466351002-38a419c7.png",
|
||||
alt: "3D Print Pro - Premium Products",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "3D Print Pro - Custom 3D Printing Service",
|
||||
description: "Premium 3D printing with precision and expertise",
|
||||
images: [
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AvHjnh7lPwezsto7kC2irb6C5g/modern-3d-printing-studio-with-multiple--1773466351002-38a419c7.png",
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -27,7 +57,9 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${publicSans.variable} antialiased`}>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${publicSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
@@ -39,4 +71,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user