Update src/app/layout.tsx

This commit is contained in:
2026-03-16 15:40:43 +00:00
parent e2a8028367
commit 45dcf74763

View File

@@ -1,24 +1,63 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Raleway } 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 { Raleway } 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 raleway = Raleway({
variable: "--font-raleway",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Creative Developer Portfolio | 3D & Interactive Design",
description: "Explore my dynamic portfolio showcasing innovative 3D web experiences, interactive design, and cutting-edge digital development. Creative solutions for digital innovators.",
keywords: "creative developer, 3D web design, interactive portfolio, web development, design",
metadataBase: new URL("https://yourportfolio.com"),
alternates: {
canonical: "https://yourportfolio.com",
},
openGraph: {
title: "Creative Developer Portfolio",
description: "Discover stunning 3D and interactive digital experiences built with modern web technologies.",
url: "https://yourportfolio.com",
siteName: "CreativeDev Portfolio",
type: "website",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B27royIjeBdrF4uilP04d1yy1o/an-abstract-3d-scene-with-rotating-geome-1773675581380-173db866.png",
alt: "Creative Developer Portfolio",
},
],
},
twitter: {
card: "summary_large_image",
title: "Creative Developer Portfolio",
description: "Interactive 3D web experiences and innovative digital design",
images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B27royIjeBdrF4uilP04d1yy1o/an-abstract-3d-scene-with-rotating-geome-1773675581380-173db866.png",
],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +66,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${raleway.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${raleway.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +80,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}