feat: footer
This commit is contained in:
parent
8df7979dd2
commit
91d9fd1a75
@ -4,6 +4,7 @@
|
|||||||
import Dash from "./pages/Dash.svelte";
|
import Dash from "./pages/Dash.svelte";
|
||||||
import Home from "./pages/Home.svelte";
|
import Home from "./pages/Home.svelte";
|
||||||
import Settings from './pages/Settings.svelte';
|
import Settings from './pages/Settings.svelte';
|
||||||
|
import Footer from './lib/Footer.svelte';
|
||||||
|
|
||||||
// theme cdns (I might make some myself too)
|
// theme cdns (I might make some myself too)
|
||||||
let light = "https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css";
|
let light = "https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css";
|
||||||
@ -38,7 +39,6 @@
|
|||||||
|
|
||||||
<Router>
|
<Router>
|
||||||
<Navigation bind:style={style}/>
|
<Navigation bind:style={style}/>
|
||||||
<div>
|
|
||||||
<Route path="/">
|
<Route path="/">
|
||||||
<Home />
|
<Home />
|
||||||
</Route>
|
</Route>
|
||||||
@ -48,5 +48,5 @@
|
|||||||
<Route path="/settings">
|
<Route path="/settings">
|
||||||
<Settings />
|
<Settings />
|
||||||
</Route>
|
</Route>
|
||||||
</div>
|
<Footer />
|
||||||
</Router>
|
</Router>
|
13
src/lib/Footer.svelte
Normal file
13
src/lib/Footer.svelte
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
import {Navbar, Nav, NavItem, NavLink} from 'sveltestrap';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div style="background-color: #292929">
|
||||||
|
<Navbar color="dark" dark>
|
||||||
|
<Nav>
|
||||||
|
<NavItem>
|
||||||
|
<NavLink href="https://pluralkit.me/">pluralkit.me</NavLink>
|
||||||
|
</NavItem>
|
||||||
|
</Nav>
|
||||||
|
</Navbar>
|
||||||
|
</div>
|
@ -14,8 +14,8 @@
|
|||||||
loggedIn_value = value;
|
loggedIn_value = value;
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div style="background-color: #292929">
|
<div style="background-color: #292929" class="mb-4">
|
||||||
<Navbar color="light" light expand="lg" class="mb-4">
|
<Navbar color="light" light expand="lg">
|
||||||
<NavbarBrand>pk-webs</NavbarBrand>
|
<NavbarBrand>pk-webs</NavbarBrand>
|
||||||
<NavbarToggler on:click={toggle}></NavbarToggler>
|
<NavbarToggler on:click={toggle}></NavbarToggler>
|
||||||
<Collapse {isOpen} navbar expand="lg">
|
<Collapse {isOpen} navbar expand="lg">
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
</CardBody>
|
</CardBody>
|
||||||
</Card>
|
</Card>
|
||||||
{#if isLoggedIn}
|
{#if isLoggedIn}
|
||||||
<Card>
|
<Card class="mb-4">
|
||||||
<CardBody>
|
<CardBody>
|
||||||
Some cool stuff will go here.
|
Some cool stuff will go here.
|
||||||
</CardBody>
|
</CardBody>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<Container>
|
<Container>
|
||||||
<Row>
|
<Row>
|
||||||
<Col class="mx-auto" xs={12} lg={10}>
|
<Col class="mx-auto" xs={12} lg={10}>
|
||||||
<Card>
|
<Card class="mb-4">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle style="margin-top: 8px; outline: none;">
|
<CardTitle style="margin-top: 8px; outline: none;">
|
||||||
<div class="icon d-inline-block">
|
<div class="icon d-inline-block">
|
||||||
|
10
style.css
10
style.css
@ -1,3 +1,9 @@
|
|||||||
|
#app {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
width: 1.5em;
|
width: 1.5em;
|
||||||
@ -47,6 +53,10 @@ blockquote {
|
|||||||
border-bottom: none !important;
|
border-bottom: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
flex: 1 0 auto !important;
|
||||||
|
}
|
||||||
|
|
||||||
.d-spoiler {
|
.d-spoiler {
|
||||||
color: var(--bs-dark);
|
color: var(--bs-dark);
|
||||||
background-color: var(--bs-dark);
|
background-color: var(--bs-dark);
|
||||||
|
Loading…
Reference in New Issue
Block a user