Update src/app/layout.tsx

This commit is contained in:
2026-03-10 19:37:43 +00:00
parent cac4abf284
commit 7ca91659c9

View File

@@ -1,28 +1,54 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { DM_Sans } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { DM_Sans } from "next/font/google";
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Бабасов Камиль — адвокат в Москве | Уголовное право",
description: "Персональный сайт адвоката Бабасова К.А. Специализация: уголовное право, защита прав адвокатов, судебные экспертизы, УИП. АП РД, реестровый номер 05/1667.",
keywords: "адвокат Москва, уголовное право, адвокат Камиль Бабасов, защита в суде, Адвокатская палата Дагестан",
metadataBase: new URL("https://babasov.ru"),
alternates: {
canonical: "https://babasov.ru",
},
openGraph: {
title: "Бабасов Камиль — адвокат | Официальный сайт",
description: "Квалифицированная правовая помощь по уголовному праву, защите прав адвокатов и судебным экспертизам",
url: "https://babasov.ru",
siteName: "Бабасов Камиль",
type: "website",
images: [
{
url: "https://babasov.ru/og-image.jpg",
alt: "Бабасов Камиль — адвокат Москва",
},
],
},
twitter: {
card: "summary_large_image",
title: "Бабасов Камиль — адвокат",
description: "Правовая помощь по уголовному праву, защита прав адвокатов, судебные экспертизы",
images: ["https://babasov.ru/twitter-image.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -31,7 +57,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${dmSans.variable} ${inter.variable} antialiased`}>
<body
className={`${dmSans.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -43,4 +71,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}