Wrote blog
This commit is contained in:
@@ -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>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user