Files
2026-08-03 21:02:34 +04:00

60 lines
1.7 KiB
TypeScript

import type { Metadata } from "next";
import { Unbounded, Manrope, JetBrains_Mono } from "next/font/google";
import "./globals.css";
import Header from "@/components/Header";
import Footer from "@/components/Footer";
const unbounded = Unbounded({
subsets: ["latin", "cyrillic"],
weight: ["400", "500", "600"],
variable: "--font-unbounded",
display: "swap",
});
const manrope = Manrope({
subsets: ["latin", "cyrillic"],
weight: ["400", "500", "600", "700"],
variable: "--font-manrope",
display: "swap",
});
const jetbrainsMono = JetBrains_Mono({
subsets: ["latin", "cyrillic"],
weight: ["400", "500"],
variable: "--font-jetbrains",
display: "swap",
});
export const metadata: Metadata = {
metadataBase: new URL("https://labnethub.ru"),
title: {
default: "LabNetHub — комплексные IT-решения для бизнеса",
template: "%s — LabNetHub",
},
description:
"Сайты, боты для соцсетей, настройка CRM, хостинг и IT-поддержка. От идеи до стабильной работы вашей инфраструктуры.",
openGraph: {
title: "LabNetHub — комплексные IT-решения для бизнеса",
description:
"Сайты, боты для соцсетей, настройка CRM, хостинг и IT-поддержка.",
locale: "ru_RU",
type: "website",
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="ru" className={`${unbounded.variable} ${manrope.variable} ${jetbrainsMono.variable}`}>
<body>
<Header />
<main className="min-h-screen pt-[73px]">{children}</main>
<Footer />
</body>
</html>
);
}