onedrive/pages/index.tsx

32 lines
929 B
TypeScript
Raw Normal View History

2021-06-22 11:58:37 +00:00
import Head from 'next/head'
import siteConfig from '../config/site.config'
import Navbar from '../components/Navbar'
import FileListing from '../components/FileListing'
import Footer from '../components/Footer'
2021-06-23 20:27:51 +00:00
import Breadcrumb from '../components/Breadcrumb'
import { SwitchLayout } from '../components/SwitchLayout'
2021-06-22 11:58:37 +00:00
export default function Home() {
return (
<div className="flex min-h-screen flex-col items-center justify-center bg-white dark:bg-gray-900">
2021-06-22 11:58:37 +00:00
<Head>
<title>{siteConfig.title}</title>
2021-06-22 11:58:37 +00:00
</Head>
<main className="flex w-full flex-1 flex-col bg-gray-50 dark:bg-gray-800">
<Navbar />
<div className="mx-auto w-full max-w-5xl p-4">
<nav className="mb-4 flex items-center justify-between pl-1">
<Breadcrumb />
<SwitchLayout />
</nav>
2021-06-23 20:27:51 +00:00
<FileListing />
</div>
2021-06-22 11:58:37 +00:00
</main>
<Footer />
2021-06-22 11:58:37 +00:00
</div>
)
}