mirror of
https://github.com/ivabus/gui
synced 2025-06-07 15:50:27 +03:00
#77 TBD footer
This commit is contained in:
parent
8a909948ca
commit
7ea443b0c5
2 changed files with 18 additions and 2 deletions
|
@ -0,0 +1,8 @@
|
|||
<footer class="h-autofont-machina relative w-full bg-black">
|
||||
<section class="h-56 p-4 px-16">
|
||||
<a class="text-xl text-primary" href="/"> Quick Links (TBD) </a>
|
||||
</section>
|
||||
<section class="h-16 border border-r-0 border-gray p-4 px-16">
|
||||
<a class="text-sm text-primary" href="/"> terms and services </a>
|
||||
</section>
|
||||
</footer>
|
|
@ -2,6 +2,7 @@
|
|||
<script lang="ts">
|
||||
import '$appcss';
|
||||
import NavBar from '$components/NavBar/NavBar.svelte';
|
||||
import FooterLinks from '$components/FooterLinks/FooterLinks.svelte';
|
||||
|
||||
import { backLink as backLinkStore } from '$libs/stores';
|
||||
|
||||
|
@ -15,17 +16,20 @@
|
|||
<nav class="border border-t-0 border-l-0 border-b-0 border-gray">
|
||||
<NavBar />
|
||||
</nav>
|
||||
<section class="px-16 pt-24 pb-24">
|
||||
<section class="pt-24">
|
||||
{#if backLink}
|
||||
<header class="px-16 py-2 text-3xl text-gray hover:text-primary">
|
||||
<a href={backLink}>←</a>
|
||||
</header>
|
||||
{/if}
|
||||
<figure />
|
||||
<div>
|
||||
<div class="px-16">
|
||||
<!-- all pages get inserted in this slot -->
|
||||
<slot />
|
||||
</div>
|
||||
<footer class="mt-8 w-full border border-r-0 border-gray bg-black">
|
||||
<FooterLinks />
|
||||
</footer>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
@ -70,4 +74,8 @@
|
|||
div {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
footer {
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue