Update src/app/layout.tsx

This commit is contained in:
2026-03-04 18:26:44 +00:00
parent ed604ee0d5
commit f67688905d

View File

@@ -1,67 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Public_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 publicSans = Public_Sans({
variable: "--font-public-sans",
subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Blue Pools | Premium Pool Construction & Solar Solutions",
description: "Expert pool construction, solar energy systems, and maintenance services across South Africa. Transform your outdoor space with Blue Pools' 15+ years of excellence.",
keywords: "pool construction, solar panels, pool maintenance, swimming pool, solar energy, South Africa, renewable energy",
metadataBase: new URL("https://bluepools.co.za"),
alternates: {
canonical: "https://bluepools.co.za",
},
robots: {
index: true,
follow: true,
},
openGraph: {
title: "Blue Pools | Premium Pool & Solar Solutions",
description: "Expert pool construction, solar energy systems, and professional maintenance. Transform your outdoor space today.",
url: "https://bluepools.co.za",
siteName: "Blue Pools",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "Blue Pools | Premium Pool & Solar Solutions",
description: "Expert pool construction and solar energy systems in South Africa",
},
};
title: "Blue Pools | Premium Pool & Solar Solutions", description: "Transform your outdoor space with custom pool construction and solar energy solutions. Blue Pools delivers excellence in design, installation, and maintenance across South Africa."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${publicSans.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1429,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}