Files
3751bf4e-3017-430a-a738-1c6…/src/app/layout.tsx
2026-06-08 12:38:33 +00:00

69 lines
2.3 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 { Mulish } from "next/font/google";
export const metadata: Metadata = {
title: 'The Daily Grind - Ваша любимая кофейня',
description: 'Наслаждайтесь лучшим кофе, свежей выпечкой и уютной атмосферой в The Daily Grind. Ваш идеальный уголок для утреннего кофе и приятных встреч.',
openGraph: {
"title": "The Daily Grind - Ваша любимая кофейня",
"description": "Наслаждайтесь лучшим кофе, свежей выпечкой и уютной атмосферой в The Daily Grind. Ваш идеальный уголок для утреннего кофе и приятных встреч.",
"url": "https://thedailygrind.com",
"siteName": "The Daily Grind",
"images": [
{
"url": "http://img.b2bpic.net/free-photo/front-view-cup-coffee-with-muffins_23-2148251619.jpg",
"alt": "Cozy coffee shop interior"
}
],
"type": "website"
},
twitter: {
"card": "summary_large_image",
"title": "The Daily Grind - Ваша любимая кофейня",
"description": "Наслаждайтесь лучшим кофе, свежей выпечкой и уютной атмосферой в The Daily Grind.",
"images": [
"http://img.b2bpic.net/free-photo/front-view-cup-coffee-with-muffins_23-2148251619.jpg"
]
},
robots: {
"index": true,
"follow": true
},
};
const mulish = Mulish({
variable: "--font-mulish",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${mulish.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}