Add RSS Icon

This commit is contained in:
prototypa
2022-08-18 00:35:30 -04:00
parent 94094504fd
commit 48b636778b
4 changed files with 52 additions and 3 deletions

View File

@ -1,5 +1,5 @@
---
import { IconSun, IconGithub, IconMenu } from "~/components/icons";
import { IconSun, IconGithub, IconMenu, IconRSS } from "~/components/icons";
const {} = Astro.props;
---
@ -84,6 +84,13 @@ const {} = Astro.props;
>
<IconSun />
</button>
<a
class="text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 inline-flex items-center"
aria-label="RSS Feed"
href="/rss.xml"
>
<IconRSS />
</a>
<a
href="https://github.com/onwidget/astrowind"
class="inline-block text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 mr-1"