Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions docs/src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import EditLink from "@astrojs/starlight/components/EditLink.astro";
import LastUpdated from "@astrojs/starlight/components/LastUpdated.astro";
import Pagination from "./Pagination.astro";

const year = new Date().getFullYear();
---

<footer>
Expand All @@ -11,10 +13,13 @@ import Pagination from "./Pagination.astro";
<LastUpdated />
</div>
<Pagination />
{/* The ⅃ closes the page, as DESIGN.md has it close what is complete. */}
<svg class="close" viewBox="0 0 35 65" aria-hidden="true">
<path fill="currentColor" d="M25 0h10v65H25v-8H0v-6h25z"></path>
</svg>
<div class="end">
<small>© {year} Bounda</small>
{/* The ⅃ closes the page, as DESIGN.md has it close what is complete. */}
<svg class="close" viewBox="0 0 35 65" aria-hidden="true">
<path fill="currentColor" d="M25 0h10v65H25v-8H0v-6h25z"></path>
</svg>
</div>
</footer>

<style>
Expand All @@ -38,10 +43,20 @@ import Pagination from "./Pagination.astro";
display: none;
}

.end {
display: flex;
align-items: end;
justify-content: space-between;
margin-bottom: 1rem;
}

.end small {
font-size: var(--sl-text-sm);
color: var(--sl-color-gray-3);
}

.close {
align-self: end;
height: 1.25rem;
margin-bottom: 1rem;
color: var(--sl-color-white);
}
</style>
Loading