generated from nhcarrigan/template
feat: add net-zero badge (#32)
Reviewed-on: https://codeberg.org/nhcarrigan/docs/pulls/32 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
35
src/components/Footer.astro
Normal file
35
src/components/Footer.astro
Normal file
@ -0,0 +1,35 @@
|
||||
---
|
||||
import LastUpdated from "@astrojs/starlight/components/LastUpdated.astro";
|
||||
import EditLink from "@astrojs/starlight/components/EditLink.astro";
|
||||
import Pagination from "@astrojs/starlight/components/Pagination.astro";
|
||||
---
|
||||
<footer class="sl-flex">
|
||||
<div class="meta sl-flex">
|
||||
<EditLink {...Astro.props} />
|
||||
<LastUpdated {...Astro.props} />
|
||||
</div>
|
||||
<Pagination {...Astro.props} />
|
||||
<div id="tree-nation-offset-website"></div>
|
||||
<script>TreeNationOffsetWebsite({code: 'a17464e0cd351220', lang: 'en', theme: 'dark'}).render('#tree-nation-offset-website');</script>
|
||||
</footer>
|
||||
|
||||
<style>
|
||||
footer {
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
.meta {
|
||||
gap: 0.75rem 3rem;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 3rem;
|
||||
font-size: var(--sl-text-sm);
|
||||
color: var(--sl-color-gray-3);
|
||||
}
|
||||
.meta > :global(p:only-child) {
|
||||
margin-inline-start: auto;
|
||||
}
|
||||
#tree-nation-offset-website {
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
@ -504,4 +504,4 @@ We encourage users to consider the following alternatives before sending a direc
|
||||
|
||||
By sending a direct message, you acknowledge that you have read and agreed to this policy, including the fee structure and invoicing process.
|
||||
|
||||
Remember, while we value direct communication, we encourage the use of our public channels whenever possible to foster community engagement and shared learning.
|
||||
Remember, while we value direct communication, we encourage the use of our public channels whenever possible to foster community engagement and shared learning.
|
Reference in New Issue
Block a user