fix: detail 페이지 태그를 TagPill 컴포넌트로 교체 (클릭→필터)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
import { api, getAccessToken } from '$lib/api';
|
import { api, getAccessToken } from '$lib/api';
|
||||||
import { addToast } from '$lib/stores/ui';
|
import { addToast } from '$lib/stores/ui';
|
||||||
import { marked } from 'marked';
|
import { marked } from 'marked';
|
||||||
|
import TagPill from '$lib/components/TagPill.svelte';
|
||||||
|
|
||||||
let doc = null;
|
let doc = null;
|
||||||
let loading = true;
|
let loading = true;
|
||||||
@@ -119,7 +120,7 @@
|
|||||||
<h3 class="text-sm font-semibold text-[var(--text-dim)] mb-2">태그</h3>
|
<h3 class="text-sm font-semibold text-[var(--text-dim)] mb-2">태그</h3>
|
||||||
<div class="flex flex-wrap gap-1.5">
|
<div class="flex flex-wrap gap-1.5">
|
||||||
{#each doc.ai_tags as tag}
|
{#each doc.ai_tags as tag}
|
||||||
<span class="px-2 py-0.5 bg-[var(--bg)] rounded text-xs text-[var(--accent)]">{tag}</span>
|
<TagPill {tag} />
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user