Files
dd4a455e-a012-40e7-92a2-478…/src/app/layout.tsx
2026-05-20 16:47:37 +00:00

49 lines
1.4 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Open_Sans } from "next/font/google";
export const metadata: Metadata = {
title: 'CONFORTO — Plomberie, Climatisation & Pompe à chaleur à Truyes (37)',
description: 'Artisan plombier et climaticien à Truyes (37). Installation et dépannage : climatisation, pompe à chaleur, VMC, adoucisseur. Devis gratuit.',
openGraph: {
"title": "CONFORTO — Plomberie & Climatisation 37",
"siteName": "CONFORTO"
},
robots: {
"index": true,
"follow": true
},
};
const openSans = Open_Sans({ variable: "--font-open-sans", subsets: ["latin"] });
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${openSans.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}