Update src/app/layout.tsx

This commit is contained in:
2026-03-03 15:54:32 +00:00
parent 45e4bff3c2
commit 34088dbcb3

View File

@@ -1,48 +1,22 @@
import type { Metadata } from "next";
import { Nunito_Sans } from "next/font/google";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "./styles/variables.css";
import "./styles/base.css";
const nunitoSans = Nunito_Sans({
variable: "--font-nunito-sans", subsets: ["latin"],
});
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Freelance Services - Award-Winning Projects", description: "Discover specialized creative and strategic freelance services. Browse award-winning projects, book a consultation, and let's collaborate on your next success.", keywords: "freelance, consulting, creative services, portfolio, award-winning projects", metadataBase: new URL("https://yoursite.com"),
alternates: {
canonical: "https://yoursite.com"},
openGraph: {
title: "Freelance Services - Award-Winning Projects", description: "Specialized creative and strategic freelance solutions. View my portfolio of award-winning projects.", url: "https://yoursite.com", siteName: "Your Name", type: "website"},
twitter: {
card: "summary_large_image", title: "Freelance Services - Award-Winning Projects", description: "Discover specialized creative and strategic freelance services with proven results."},
};
title: "Freelancer | Award-Winning Creative Services", description: "Clean, Apple-like personal freelance website showcasing award-winning projects with video introduction and booking calendar."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${nunitoSans.variable} ${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1410,7 +1384,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}