Update src/app/layout.tsx
This commit is contained in:
@@ -1,57 +1,20 @@
|
||||
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";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const publicSans = Public_Sans({
|
||||
variable: "--font-public-sans", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Web Developer Portfolio | Full-Stack Developer", description: "Innovative full-stack web developer specializing in React, Next.js, and Node.js. View my portfolio of 50+ projects and let's build something amazing together.", keywords: "web developer, full-stack developer, React developer, Next.js, portfolio, freelance developer, web development services", metadataBase: new URL("https://yourportfolio.dev"),
|
||||
alternates: {
|
||||
canonical: "https://yourportfolio.dev"},
|
||||
openGraph: {
|
||||
title: "Web Developer Portfolio | Full-Stack Developer", description: "Discover innovative web development solutions. 50+ projects, 100K+ users impacted. Let's collaborate on your next project.", url: "https://yourportfolio.dev", siteName: "Dev Portfolio", type: "website", images: [
|
||||
{
|
||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AesooPgTYtW7amfS5hbCeIBmBp/a-minimalist-dark-tech-dashboard-interfa-1772964608855-8b8c7000.png", alt: "Developer Dashboard Interface"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Web Developer Portfolio | Full-Stack Developer", description: "50+ projects | 100K+ users | Full-stack expertise in React, Node.js, and modern web technologies", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AesooPgTYtW7amfS5hbCeIBmBp/a-minimalist-dark-tech-dashboard-interfa-1772964608855-8b8c7000.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} ${publicSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1419,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user