61 lines
1.3 KiB
TypeScript
61 lines
1.3 KiB
TypeScript
import '../styles/globals.css';
|
|
import '@livekit/components-styles';
|
|
import '@livekit/components-styles/prefabs';
|
|
import type { Metadata, Viewport } from 'next';
|
|
import { Toaster } from 'react-hot-toast';
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: 'OurWorld meeting Server',
|
|
template: '%s',
|
|
},
|
|
description:
|
|
'',
|
|
twitter: {
|
|
creator: '@ourworld',
|
|
site: '@ourworld',
|
|
card: 'summary_large_image',
|
|
},
|
|
openGraph: {
|
|
url: 'https://www.ourworld.tf',
|
|
images: [
|
|
{
|
|
url: 'https://www.threefold.io/images/new_logo_tft.png',
|
|
width: 1000,
|
|
height: 500,
|
|
type: 'image/png',
|
|
},
|
|
],
|
|
siteName: 'OurWorld meeting Server',
|
|
},
|
|
icons: {
|
|
icon: {
|
|
rel: 'icon',
|
|
url: '/favicon.ico',
|
|
},
|
|
apple: [
|
|
{
|
|
rel: 'apple-touch-icon',
|
|
url: '/images/threefold.png',
|
|
sizes: '180x180',
|
|
},
|
|
{ rel: 'mask-icon', url: '/images/threefold.svg', color: '#070707' },
|
|
],
|
|
},
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
themeColor: '#070707',
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="en">
|
|
<body data-lk-theme="default">
|
|
<Toaster />
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|