feat: add RSS link to footer
This commit is contained in:
parent
67caa75f3c
commit
2b6abb52b6
1 changed files with 23 additions and 0 deletions
|
|
@ -14,6 +14,29 @@ import BackToTop from "@components/BackToTop.astro";
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<div>© {new Date().getFullYear()} • {SITE.TITLE} 🔬</div>
|
<div>© {new Date().getFullYear()} • {SITE.TITLE} 🔬</div>
|
||||||
<div class="flex flex-wrap items-center gap-1.5">
|
<div class="flex flex-wrap items-center gap-1.5">
|
||||||
|
<a
|
||||||
|
href="/rss.xml"
|
||||||
|
target="_blank"
|
||||||
|
aria-label="RSS Feed"
|
||||||
|
class="group flex size-9 items-center justify-center rounded-sm border border-black/15 hover:bg-black/5 focus-visible:bg-black/5 dark:border-white/20 dark:hover:bg-white/5 dark:focus-visible:bg-white/5"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="18"
|
||||||
|
height="18"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
class="transition-colors duration-300 ease-in-out group-hover:stroke-black group-focus-visible:stroke-black dark:group-hover:stroke-white dark:group-focus-visible:stroke-white"
|
||||||
|
>
|
||||||
|
<path d="M4 11a9 9 0 0 1 9 9"></path>
|
||||||
|
<path d="M4 4a16 16 0 0 1 16 16"></path>
|
||||||
|
<circle cx="5" cy="19" r="1"></circle>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
<button
|
<button
|
||||||
id="light-theme-button"
|
id="light-theme-button"
|
||||||
aria-label="Light theme"
|
aria-label="Light theme"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue