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

This commit is contained in:
2026-03-07 19:54:51 +00:00
parent 1a9c967c7c
commit 79389b9b27

View File

@@ -1,33 +1,55 @@
import type { Metadata } from "next";
import "./styles/variables.css";
import "./styles/base.css";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Manrope } from "next/font/google";
import { DM_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 manrope = Manrope({
variable: "--font-manrope", subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "FGA Growth - Scale Your E-Commerce Performance", description: "Data-driven digital marketing agency specializing in e-commerce growth, Meta Ads, TikTok Ads, and Google Ads optimization."};
title: "Performance Marketing Results | FGA Growth", description: "See proven case studies with 17x+ ROAS. FGA Growth scales e-commerce brands through data-driven performance marketing strategies.", keywords: "performance marketing, ROAS, case studies, e-commerce growth, marketing agency", openGraph: {
title: "Performance Marketing Results That Scale", description: "17x+ ROAS case studies from FGA Growth. Data-driven strategies for e-commerce success.", siteName: "FGA Growth", type: "website", images: [
{
url: "http://img.b2bpic.net/free-vector/online-shopping-sales-landing-page-template_23-2148826283.jpg", alt: "FGA Growth case study results"},
],
},
twitter: {
card: "summary_large_image", title: "Performance Marketing Results | FGA Growth", description: "17x+ ROAS. Proven case studies from leading performance marketing agency.", images: ["http://img.b2bpic.net/free-vector/online-shopping-sales-landing-page-template_23-2148826283.jpg"],
},
};
export default function RootLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body className={`${inter.variable} antialiased`}>
<ServiceWrapper>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${manrope.variable} ${dmSans.variable} antialiased`}
>
<Tag />
</ServiceWrapper>
{children}
<script type="application/ld+json">
{JSON.stringify({
"@context": "https://schema.org", "@type": "LocalBusiness", "name": "FGA Growth", "description": "Data-driven digital marketing agency specializing in e-commerce growth"
})}
</script>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1395,14 +1417,7 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
function ServiceWrapper({ children }: { children: React.ReactNode }) {
return <>{children}</>;
}
function Tag() {
return null;
}