54 lines
1.5 KiB
TypeScript
54 lines
1.5 KiB
TypeScript
import type { Metadata } from "next";
|
||
import { Halant } from "next/font/google";
|
||
import { Inter } from "next/font/google";
|
||
import { Libre_Baskerville } from "next/font/google";
|
||
import "./globals.css";
|
||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||
import Tag from "@/tag/Tag";
|
||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||
|
||
const halant = Halant({
|
||
variable: "--font-halant",
|
||
subsets: ["latin"],
|
||
weight: ["300", "400", "500", "600", "700"],
|
||
});
|
||
|
||
const inter = Inter({
|
||
variable: "--font-inter",
|
||
subsets: ["latin"],
|
||
});
|
||
|
||
const libreBaskerville = Libre_Baskerville({
|
||
variable: "--font-libre-baskerville",
|
||
subsets: ["latin"],
|
||
weight: ["400", "700"],
|
||
});
|
||
|
||
export const metadata: Metadata = {
|
||
title: "Patitas de Oro – Peluquería Canina & Spa Premium en Madrid",
|
||
description: "Peluquería canina de lujo en Madrid. Grooming profesional, spa relajante y tratamientos especializados para tu perro. Desde 2018 cuidando mascotas con excelencia.",
|
||
};
|
||
|
||
export default function RootLayout({
|
||
children,
|
||
}: Readonly<{
|
||
children: React.ReactNode;
|
||
}>) {
|
||
return (
|
||
<html lang="es" suppressHydrationWarning>
|
||
<ServiceWrapper>
|
||
<body
|
||
className={`${halant.variable} ${inter.variable} ${libreBaskerville.variable} antialiased`}
|
||
>
|
||
<Tag />
|
||
{children}
|
||
<script
|
||
dangerouslySetInnerHTML={{
|
||
__html: `${getVisualEditScript()}`
|
||
}}
|
||
/>
|
||
</body>
|
||
</ServiceWrapper>
|
||
</html>
|
||
);
|
||
} |