Update src/app/layout.tsx

This commit is contained in:
2026-03-14 15:07:48 +00:00
parent b1ca999c15
commit cd4d390f15

View File

@@ -1,27 +1,62 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { DM_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 { DM_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 dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Professional Portfolio - Creative Designer & Developer",
description: "Explore my creative portfolio showcasing web design, development, and branding projects. Let's collaborate on your next digital project.",
keywords: "portfolio, web design, development, branding, creative services",
metadataBase: new URL("https://yourportfolio.com"),
alternates: {
canonical: "https://yourportfolio.com",
},
openGraph: {
title: "Professional Portfolio - Creative Designer & Developer",
description: "Explore my creative portfolio showcasing web design, development, and branding projects.",
url: "https://yourportfolio.com",
siteName: "My Portfolio",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/close-up-indoor-portrait-lovable-charming-business-lady-with-collected-hair-wearing-dark-jacket-headphones-is-working-laptop-modern-stylish-light-office_291650-2481.jpg",
alt: "Portfolio showcase",
},
],
},
twitter: {
card: "summary_large_image",
title: "Professional Portfolio - Creative Designer & Developer",
description: "Explore my creative portfolio showcasing web design, development, and branding projects.",
images: [
"http://img.b2bpic.net/free-photo/close-up-indoor-portrait-lovable-charming-business-lady-with-collected-hair-wearing-dark-jacket-headphones-is-working-laptop-modern-stylish-light-office_291650-2481.jpg",
],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
@@ -31,7 +66,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${dmSans.variable} ${inter.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -43,4 +80,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}