mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-26 19:24:12 +08:00
feat: add footer
This commit is contained in:
parent
53b3935bb9
commit
e4bfb3f2a8
10
src/App.tsx
10
src/App.tsx
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user