mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 19:13:49 -07:00
40 lines
No EOL
885 B
Text
40 lines
No EOL
885 B
Text
---
|
|
interface Props {
|
|
lang: string;
|
|
type: string;
|
|
}
|
|
|
|
const { lang, type } = Astro.props;
|
|
---
|
|
|
|
<a href={`/rss/${lang}/${type}.xml`} class="rss-link" target="_blank" rel="noopener noreferrer">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" 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>
|
|
<path d="M4 4a16 16 0 0 1 16 16"></path>
|
|
<circle cx="5" cy="19" r="1"></circle>
|
|
</svg>
|
|
RSS Feed
|
|
</a>
|
|
|
|
<style>
|
|
.rss-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: white;
|
|
text-decoration: none;
|
|
background: #23262d;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.rss-link:hover {
|
|
background: rgb(var(--accent));
|
|
}
|
|
|
|
svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
</style> |