Add RSS Icon
This commit is contained in:
@ -4,6 +4,7 @@ import {
|
||||
IconInstagram,
|
||||
IconFacebook,
|
||||
IconArrowRight,
|
||||
IconRSS,
|
||||
} from "~/components/icons";
|
||||
const {} = Astro.props;
|
||||
---
|
||||
@ -196,7 +197,7 @@ const {} = Astro.props;
|
||||
</div>
|
||||
</div>
|
||||
<div class="md:flex md:items-center md:justify-between py-4 md:py-8">
|
||||
<ul class="flex mb-4 md:order-1 md:ml-4 md:mb-0">
|
||||
<ul class="flex mb-6 md:order-1 md:ml-4 md:mb-0">
|
||||
<li>
|
||||
<a
|
||||
class="flex justify-center items-center text-gray-600 hover:text-gray-700 dark:text-gray-400 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out dark:bg-gray-800 dark:text-gray-400 p-1.5"
|
||||
@ -224,6 +225,15 @@ const {} = Astro.props;
|
||||
<IconFacebook />
|
||||
</a>
|
||||
</li>
|
||||
<li class="ml-4">
|
||||
<a
|
||||
class="flex justify-center items-center text-gray-600 hover:text-gray-700 dark:text-gray-400 bg-white hover:bg-white-100 rounded-full shadow transition duration-150 ease-in-out dark:bg-gray-800 dark:text-gray-400 p-1.5"
|
||||
aria-label="Twitter"
|
||||
href="#"
|
||||
>
|
||||
<IconRSS />
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="text-sm text-gray-700 mr-4 dark:text-slate-400">
|
||||
<span
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user