init site

This commit is contained in:
ld3zian 2025-01-13 17:44:11 -07:00
parent 40a7e60a8b
commit c765ca9c85
20 changed files with 6860 additions and 1 deletions

View file

@ -0,0 +1,40 @@
---
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>