38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
import type { Metadata } from 'next'
|
|
import { Geist, Geist_Mono } from 'next/font/google'
|
|
import './globals.css'
|
|
import Header from '@/components/Header'
|
|
import Footer from '@/components/Footer'
|
|
|
|
const geistSans = Geist({
|
|
variable: '--font-geist-sans',
|
|
subsets: ['latin'],
|
|
})
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: '--font-geist-mono',
|
|
subsets: ['latin'],
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Отправка посылок в любую точку мира | TripWB',
|
|
description:
|
|
'Международная отправка посылок ✓ Отправка посылки в любую точку планеты ✓ Приемлемая цена отправки посылки ✓ Доставка в кратчайшие сроки ➡️ Обращайтесь к нам',
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
|
|
<body className="min-h-screen flex flex-col">
|
|
<Header />
|
|
<main className="flex-grow">{children}</main>
|
|
<Footer />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|