Wrote blog

This commit is contained in:
2026-06-07 23:26:31 +02:00
parent d0b9fd5144
commit 4a567c413a
4 changed files with 56 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ const links = [
<span class="section-label text-ctp-overlay text-xs uppercase tracking-widest">topics</span>
<div id="tags" class="flex flex-wrap gap-1">
{tags.map((tag) => (
<a href={`/?tag=${tag}`} class={`tag text-xs px-2 py-0.5 rounded-full cursor-pointer transition-colors ${selectedTag === tag ? 'bg-ctp-accent text-ctp-base' : 'bg-ctp-surface text-ctp-subtext hover:text-ctp-accent'}`}>
<a href={`/blog?tag=${tag}`} class={`tag text-xs px-2 py-0.5 rounded-full cursor-pointer transition-colors ${selectedTag === tag ? 'bg-ctp-accent text-ctp-base' : 'bg-ctp-surface text-ctp-subtext hover:text-ctp-accent'}`}>
{tag}
</a>
))}