Update src/app/layout.tsx

This commit is contained in:
2026-03-06 13:29:22 +00:00
parent 1e7b011589
commit 907a2c6628

View File

@@ -1,44 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } 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 inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Math Plomberie - Plombier Professionnel 4,9/5 (116 avis)", description: "Math Plomberie : plombier réactif et professionnel. Intervention chauffe-eau, chaudière, radiateurs. Service 24/7. Note 4,9/5 - 116 avis clients.", keywords: "plomberie, plombier, chauffe-eau, chaudière, radiateurs, dépannage, urgence plomberie", robots: {
index: true,
follow: true,
},
openGraph: {
title: "Math Plomberie - Plombier Professionnel à Votre Service", description: "Plombier réactif et professionnel. Chauffe-eau, chaudière, radiateurs, dépannage d'urgence. 4,9/5 - 116 avis.", type: "website", siteName: "Math Plomberie"},
twitter: {
card: "summary_large_image", title: "Math Plomberie - Plombier Professionnel", description: "Services plomberie et chauffage. Note 4,9/5 - 116 avis clients satisfaits."},
};
title: "Math Plomberie", description: "Services de plomberie professionnels"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="fr">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1406,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}