85 lines
2.6 KiB
TypeScript
85 lines
2.6 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import { Open_Sans } 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 openSans = Open_Sans({
|
|
variable: "--font-open-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Pensiunea Andreea - Luxury Guesthouse in Romania",
|
|
description: "Discover boutique luxury accommodation in Romania. Premium rooms, fine dining, and personalized service in a serene countryside setting. Book your escape today.",
|
|
keywords: "luxury guesthouse Romania, boutique hotel Botoșani, Romanian accommodation, fine dining countryside, luxury retreat, luxury guesthouse booking",
|
|
metadataBase: new URL("https://pensiuneaandreea.ro"),
|
|
alternates: {
|
|
canonical: "https://pensiuneaandreea.ro",
|
|
},
|
|
openGraph: {
|
|
title: "Pensiunea Andreea - Luxury Boutique Accommodation",
|
|
description: "Experience authentic Romanian hospitality combined with world-class luxury. Intimate rooms, personalized service, and culinary excellence.",
|
|
url: "https://pensiuneaandreea.ro",
|
|
siteName: "Pensiunea Andreea",
|
|
type: "website",
|
|
images: [
|
|
{
|
|
url: "https://pensiuneaandreea.ro/og-hero.jpg",
|
|
alt: "Luxury terrace at sunset - Pensiunea Andreea",
|
|
},
|
|
{
|
|
url: "https://pensiuneaandreea.ro/og-rooms.jpg",
|
|
alt: "Elegant luxury room - Pensiunea Andreea",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Pensiunea Andreea - Luxury Romanian Guesthouse",
|
|
description: "Luxury accommodation with authentic hospitality, fine dining, and personalized service.",
|
|
images: ["https://pensiuneaandreea.ro/twitter-hero.jpg"],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body
|
|
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |