32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
import type { Metadata } from 'next'
|
|
import './globals.css'
|
|
import Header from '@/components/Header'
|
|
import Footer from '@/components/Footer'
|
|
import { Toaster } from 'react-hot-toast'
|
|
import { Providers } from './providers/Providers'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Отправка посылок в любую точку мира | TripWB',
|
|
description:
|
|
'Международная отправка посылок ✓ Отправка посылки в любую точку планеты ✓ Приемлемая цена отправки посылки ✓ Доставка в кратчайшие сроки ➡️ Обращайтесь к нам',
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body className="min-h-screen flex flex-col font-dispay">
|
|
<Providers>
|
|
<Header />
|
|
<main className="flex-grow">{children}</main>
|
|
<Toaster />
|
|
<Footer />
|
|
</Providers>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|