2021-06-22 13:55:53 +00:00
|
|
|
import Head from 'next/head'
|
|
|
|
import { useRouter } from 'next/router'
|
|
|
|
|
|
|
|
import siteConfig from '../config/site.json'
|
|
|
|
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'
|
2021-06-22 13:55:53 +00:00
|
|
|
|
|
|
|
export default function Folders() {
|
2021-06-23 20:27:51 +00:00
|
|
|
const { query } = useRouter()
|
2021-06-22 13:55:53 +00:00
|
|
|
|
|
|
|
return (
|
2021-09-04 14:15:09 +00:00
|
|
|
<div className="dark:bg-gray-900 flex flex-col items-center justify-center min-h-screen bg-white">
|
2021-06-22 13:55:53 +00:00
|
|
|
<Head>
|
|
|
|
<title>{siteConfig.title}</title>
|
|
|
|
</Head>
|
|
|
|
|
2021-09-04 14:15:09 +00:00
|
|
|
<main className="bg-gray-50 dark:bg-gray-800 flex flex-col flex-1 w-full">
|
2021-06-22 13:55:53 +00:00
|
|
|
<Navbar />
|
2021-12-15 09:01:31 +00:00
|
|
|
<div className="w-full max-w-5xl p-4 mx-auto">
|
2021-06-23 20:27:51 +00:00
|
|
|
<Breadcrumb query={query} />
|
|
|
|
<FileListing query={query} />
|
2021-06-22 13:55:53 +00:00
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<Footer />
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|