Update src/app/layout.tsx

This commit is contained in:
2026-02-13 16:45:53 +00:00
parent a849d66d05
commit 43fa4f2c30

View File

@@ -1,47 +1,25 @@
import type { Metadata } from "next";
import { Libre_Baskerville } from "next/font/google";
import { Inter } from "next/font/google";
import { Poppins } 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 libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville", subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
const poppins = Poppins({
variable: "--font-poppins", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "McLaren Labs | Growth Consultancy for Startups", description: "We operate in the shadows so you can shine in the light. Growth partner for ambitious startups ready to scale.", keywords: ["growth consultancy", "startup growth", "scaling", "strategy", "business growth"],
robots: {
index: true,
follow: true,
},
openGraph: {
title: "McLaren Labs | Growth Consultancy for Startups", description: "We operate in the shadows so you can shine in the light. Growth partner for ambitious startups ready to scale.", siteName: "McLaren Labs", type: "website"
},
twitter: {
card: "summary_large_image", title: "McLaren Labs | Growth Consultancy for Startups", description: "We operate in the shadows so you can shine in the light."
},
};
title: "McLaren Labs", description: "Growth partner for startups ready to scale"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${poppins.variable}`}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1260,7 +1238,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}