Files
8f93cec2-54e2-467e-bf38-88f…/src/app/layout.tsx
2026-05-19 19:02:17 +00:00

44 lines
1.1 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 { Nunito } from "next/font/google";
export const metadata: Metadata = {
title: 'T.R. Klima og Montasje | Profesjonell Klima og Installasjon',
description: 'T.R. Klima og Montasje tilbyr profesjonelle installasjonsløsninger for privat og bedriftsmarkedet.',
};
const nunito = Nunito({
variable: "--font-nunito",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${nunito.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}