Switch to version 2: modified src/app/layout.tsx

This commit is contained in:
2026-03-06 16:44:51 +00:00
parent 23021d05e9
commit a6aedd9980

View File

@@ -1,16 +1,55 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Nunito } 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 nunito = Nunito({
variable: "--font-nunito", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Poof Sites - Web Development Studio", description: "We build websites that convert. Stunning, responsive web design and development for businesses across all industries."};
title: "Poof Sites - Web Development Agency | 50+ Projects Delivered", description: "Professional web design and development services. We've built 50+ stunning websites for startups and brands in 2 years. Get your custom website today.", keywords: "web development, web design, website builder, responsive design, e-commerce, SaaS, digital agency", robots: {
index: true,
follow: true,
},
openGraph: {
title: "Poof Sites - Web Development Agency", description: "Professional web design and development services. We've built 50+ stunning websites in 2 years.", siteName: "Poof Sites", type: "website", images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AZmcpWHeWm1sUG9szF2sfVbKeH/a-modern-website-homepage-with-clean-nav-1772808626140-2f2948c8.png", alt: "Poof Sites - Web Development Agency"},
],
},
twitter: {
card: "summary_large_image", title: "Poof Sites - Web Development Agency", description: "Professional web design and development services.", images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AZmcpWHeWm1sUG9szF2sfVbKeH/a-modern-website-homepage-with-clean-nav-1772808626140-2f2948c8.png"],
},
};
export default function RootLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
return (
<html lang="en">
<body>{children}
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1378,6 +1417,7 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}