Files
app_umbrix/app/layout.tsx

56 lines
1.2 KiB
TypeScript
Raw Permalink Normal View History

import './globals.css';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import BottomNav from '@/components/BottomNav';
const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: 'Umbrix VPN',
description: 'Быстрый и безопасный VPN сервис',
themeColor: '#191f23',
viewport: {
width: 'device-width',
initialScale: 1,
maximumScale: 1,
userScalable: false,
},
openGraph: {
title: 'Umbrix VPN',
description: 'Быстрый и безопасный VPN сервис',
images: [
{
url: 'https://bolt.new/static/og_default.png',
},
],
},
twitter: {
card: 'summary_large_image',
title: 'Umbrix VPN',
description: 'Быстрый и безопасный VPN сервис',
images: [
{
url: 'https://bolt.new/static/og_default.png',
},
],
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<head>
<script src="https://telegram.org/js/telegram-web-app.js" async></script>
</head>
<body className={inter.className}>
{children}
<BottomNav />
</body>
</html>
);
}