Update src/app/layout.tsx

This commit is contained in:
2026-03-09 13:31:27 +00:00
parent d9b7581771
commit b1095a5e56

View File

@@ -1,58 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Montserrat } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "@/styles/globals.css";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const montserrat = Montserrat({
variable: "--font-montserrat", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Full-Stack Software Engineer | Portfolio", description: "Experienced full-stack developer specializing in React, Node.js, and cloud infrastructure. View my portfolio and let's build amazing products together.", keywords: "software engineer, full-stack developer, React, Node.js, web development", metadataBase: new URL("https://yourportfolio.com"),
alternates: {
canonical: "https://yourportfolio.com"},
openGraph: {
title: "Full-Stack Software Engineer | Portfolio", description: "Experienced full-stack developer specializing in React, Node.js, and cloud infrastructure.", url: "https://yourportfolio.com", siteName: "Dev", type: "website", images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ai5vRNoFH1pwSAQ2OS71p9EcD2/a-modern-software-engineer-workspace-wit-1773062850632-54bd24a5.png", alt: "A modern software engineer workspace with multiple monitors displaying code and dashboards. Clean de"},
],
},
twitter: {
card: "summary_large_image", title: "Full-Stack Software Engineer | Portfolio", description: "Experienced full-stack developer specializing in React, Node.js, and cloud infrastructure.", images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ai5vRNoFH1pwSAQ2OS71p9EcD2/a-modern-software-engineer-workspace-wit-1773062850632-54bd24a5.png"],
},
robots: {
index: true,
follow: true,
},
};
title: "Create Next App", description: "Generated by create next app"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1420,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}