Files
7ea7455f-99f8-4d81-81b5-85e…/src/app/layout.tsx
2026-06-10 11:30:08 +00:00

78 lines
2.9 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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";
import { Public_Sans } from "next/font/google";
export const metadata: Metadata = {
title: 'Pizzeria Daniel | Найкраща Піца в Коломиї',
description: 'Смакуйте справжню неаполітанську піцу, італійську пасту, м\'ясо на грилі та суші від Pizzeria Daniel у Коломиї. Замовляйте онлайн або бронюйте столик.',
keywords: ["піцерія Коломия, піца Коломия, італійський ресторан, замовити піцу, доставка піци Коломия, паста, суші, гриль, Pizzeria Daniel"],
openGraph: {
"title": "Pizzeria Daniel | Найкраща Піца в Коломиї",
"description": "Смакуйте справжню неаполітанську піцу, італійську пасту, м'ясо на грилі та суші від Pizzeria Daniel у Коломиї. Замовляйте онлайн або бронюйте столик.",
"url": "https://www.pizzeriadaniel.com.ua",
"siteName": "Pizzeria Daniel",
"images": [
{
"url": "http://img.b2bpic.net/free-photo/high-angle-chef-baking-pizza-wood-fired-oven_52683-106696.jpg",
"alt": "Піца з дров'яної печі"
}
],
"type": "website"
},
twitter: {
"card": "summary_large_image",
"title": "Pizzeria Daniel | Найкраща Піца в Коломиї",
"description": "Смакуйте справжню неаполітанську піцу, італійську пасту, м'ясо на грилі та суші від Pizzeria Daniel у Коломиї. Замовляйте онлайн або бронюйте столик.",
"images": [
"http://img.b2bpic.net/free-photo/high-angle-chef-baking-pizza-wood-fired-oven_52683-106696.jpg"
]
},
robots: {
"index": true,
"follow": true
},
};
const publicSans = Public_Sans({
variable: "--font-public-sans",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${publicSans.variable} ${inter.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}