feat: add footer

This commit is contained in:
kunish 2023-08-28 23:23:19 +08:00
parent 53b3935bb9
commit e4bfb3f2a8
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -21,12 +21,12 @@ export const App = () => {
return ( return (
<div <div
class="relative h-screen flex-col overflow-y-auto p-4 subpixel-antialiased" class="relative flex h-screen flex-col p-2 subpixel-antialiased"
data-theme={curTheme()} data-theme={curTheme()}
> >
<Header /> <Header />
<div class="flex-1 py-4"> <div class="flex-1 overflow-y-auto py-4">
<Routes> <Routes>
<Show when={selectedEndpoint()}> <Show when={selectedEndpoint()}>
<Route path="/" component={Overview} /> <Route path="/" component={Overview} />
@ -40,6 +40,12 @@ export const App = () => {
<Route path="/setup" component={Setup} /> <Route path="/setup" component={Setup} />
</Routes> </Routes>
</div> </div>
<footer class="footer footer-center rounded-box hidden bg-base-200 p-2 text-base-content sm:block">
<a href="https://github.com/metacubex/metacubexd" target="_blank">
metacubexd
</a>
</footer>
</div> </div>
) )
} }