fp/services/next/app/layout.tsx

59 lines
1.3 KiB
TypeScript

import { ReactNode } from 'react'
import Footer from "./components/footer"
import Navbar from "./components/navbar"
import "bulma"
import "../assets/styles/global.css"
import "@fortawesome/fontawesome-svg-core/styles.css"
import type { Metadata } from 'next'
import NotificationCenter from './components/notification-center'
import QueryProvider from './components/query-provider'
import AuthProvider from './components/auth-provider'
export const metadata: Metadata = {
title: 'Futureporn.net',
description: "The Galaxy's Best VTuber Hentai Site",
other: {
RATING: 'RTA-5042-1996-1400-1577-RTA'
},
metadataBase: new URL('https://futureporn.net'),
twitter: {
site: '@futureporn_net',
creator: '@cj_clippy'
},
alternates: {
types: {
'application/atom+xml': '/feed/feed.xml',
'application/rss+xml': '/feed/rss.xml',
'application/json': '/feed/feed.json'
}
}
}
type Props = {
children: ReactNode;
}
export default function RootLayout({
children,
}: Props) {
return (
<html lang="en">
<body>
<QueryProvider>
<AuthProvider>
<Navbar />
<NotificationCenter />
<div className="container">
{children}
{/* <Footer /> */}
</div>
</AuthProvider>
</QueryProvider>
</body>
</html>
)
}