new-manga/src/components/RSSLink.astro
2025-03-28 20:11:35 -07:00

31 lines
No EOL
682 B
Text

---
interface Props {
lang: string;
contentType: string;
type: string;
}
const { lang, contentType, type } = Astro.props;
---
<a
href={`/rss/${lang}/${contentType}/${type}.xml`}
class="inline-flex items-center gap-2 px-4 py-2 bg-orange-500 text-white rounded-lg hover:bg-orange-600 transition-colors"
target="_blank"
>
<svg
class="w-5 h-5"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M4 11a9 9 0 0 1 9 9" />
<path d="M4 4a16 16 0 0 1 16 16" />
<circle cx="5" cy="19" r="1" />
</svg>
RSS Feed
</a>