Update src/app/layout.tsx

This commit is contained in:
2026-03-08 18:09:05 +00:00
parent 1503054d08
commit 35d193c042

View File

@@ -1,57 +1,44 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Figtree } from "next/font/google";
import { Inter_Tight } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { ServiceWrapper } from "@/providers/serviceWrapper/ServiceWrapper";
import { Tag } from "@/components/common/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const figtree = Figtree({
variable: "--font-figtree", subsets: ["latin"],
const interTight = Inter_Tight({
variable: "--font-inter-tight", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "Social Media Management for Small Business | SocialGrow", description: "Expert social media management services for small businesses worldwide. Grow your online presence, build engaged communities, and drive sustainable business growth with SocialGrow.", keywords: "social media management, social media marketing, small business social media, content creation, community management, social media growth, digital marketing", metadataBase: new URL("https://socialgrow.com"),
alternates: {
canonical: "https://socialgrow.com"
},
openGraph: {
title: "Social Media Management for Small Businesses | SocialGrow", description: "Transform your online presence with expert social media management. 500+ businesses trust SocialGrow to grow their social media and reach their goals.", url: "https://socialgrow.com", siteName: "SocialGrow", type: "website", images: [{
url: "http://img.b2bpic.net/free-photo/tired-bookkeeper-imputing-datasets-online-computer-trying-keep-up-with-project-tasks-before-deadline-stressed-employee-working-overnight-office-nightshift_482257-70415.jpg", alt: "social media management dashboard professional"
}]
},
twitter: {
card: "summary_large_image", title: "Social Media Management for Small Businesses | SocialGrow", description: "Expert social media management services. Grow your online presence with proven strategies.", images: ["http://img.b2bpic.net/free-photo/tired-bookkeeper-imputing-datasets-online-computer-trying-keep-up-with-project-tasks-before-deadline-stressed-employee-working-overnight-office-nightshift_482257-70415.jpg"]
},
robots: {
index: true,
follow: true
}
};
title: "SocialGrow - Social Media Management for Business Growth", description: "Expert social media management services for small businesses. We help you build engaged communities and drive sustainable growth through strategic social media management and content creation."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${figtree.variable} antialiased`}
>
<body className={`${interTight.variable}`}>
<ServiceWrapper>
<Tag />
{children}
</ServiceWrapper>
<script
async
src="https://cdn.jsdelivr.net/npm/lenis@1.1.13/dist/lenis.min.js"
></script>
<script>
{`
const lenis = new Lenis();
function raf(time) {
lenis.raf(time);
requestAnimationFrame(raf);
}
requestAnimationFrame(raf);
`}
</script>
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1419,7 +1406,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}