Update src/app/layout.tsx

This commit is contained in:
2026-03-05 14:45:30 +00:00
parent d6b0ff3b31
commit dd53825ca1

View File

@@ -1,45 +1,16 @@
import type { Metadata } from "next";
import { Libre_Baskerville } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville", subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Professional Portfolio - Creative Designer & Strategist", description: "Explore my portfolio showcasing strategic design solutions and digital projects. Specializing in branding, user experience, and digital transformation.", keywords: "portfolio, design, creative, UX, branding, digital design, strategist", openGraph: {
title: "Professional Portfolio - Creative Designer & Strategist", description: "Explore my portfolio showcasing strategic design solutions and digital projects.", url: "https://portfolio.example.com", siteName: "Portfolio", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/view-office-desk-with-messy-workspace-laptop_23-2150282085.jpg", alt: "Portfolio showcase"},
],
},
twitter: {
card: "summary_large_image", title: "Professional Portfolio - Creative Designer & Strategist", description: "Explore my portfolio showcasing strategic design solutions and digital projects.", images: ["http://img.b2bpic.net/free-photo/view-office-desk-with-messy-workspace-laptop_23-2150282085.jpg"],
},
};
title: "Portfolio", description: "Creative Professional & Design Strategist"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1407,7 +1378,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}