fp/services/next/app/layout.tsx

81 lines
2.1 KiB
TypeScript
Raw Normal View History

2024-01-20 16:16:14 +00:00
import { ReactNode } from 'react'
import Footer from "./components/footer"
import Navbar from "./components/navbar"
2024-03-29 07:28:02 +00:00
import "bulma"
import "../assets/styles/global.css";
2024-01-20 16:16:14 +00:00
import "@fortawesome/fontawesome-svg-core/styles.css";
import { AuthProvider } from './components/auth';
import type { Metadata } from 'next';
import NotificationCenter from './components/notification-center';
2024-11-05 19:48:21 +00:00
import { SuperTokensProvider } from "./components/supertokensProvider";
2024-05-27 22:20:58 +00:00
// import {
// QueryClientProvider,
// QueryClient
// } from '@tanstack/react-query'
2024-01-20 16:16:14 +00:00
// import NextTopLoader from 'nextjs-toploader';
// import Ipfs from './components/ipfs'; // slows down the page too much
2024-05-27 22:20:58 +00:00
// const queryClient = new QueryClient()
2024-01-20 16:16:14 +00:00
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">
2024-11-05 19:48:21 +00:00
<body>
{/* <NextTopLoader
color="#ac0722"
initialPosition={0.08}
crawlSpeed={200}
height={3}
crawl={true}
showSpinner={false}
easing="ease"
speed={200}
shadow="0 0 10px #2299DD,0 0 5px #2299DD"
/> */}
{/* <AuthProvider> */}
<SuperTokensProvider>
{/* <QueryClientProvider client={queryClient}> */}
{/* <Navbar /> */}
<NotificationCenter />
<div className="container">
{children}
{/* <Footer /> */}
</div>
{/* </QueryClientProvider> */}
{/* </AuthProvider> */}
</SuperTokensProvider>
</body>
2024-01-20 16:16:14 +00:00
</html>
)
}