Add tags to detail view

This commit is contained in:
June 2025-08-13 18:29:50 +12:00
parent 3e10128a03
commit 4ca32453e2
Signed by: breadone
GPG Key ID: FDC19FE143200483

View File

@ -1,4 +1,6 @@
--- ---
import TagRow from "../Card/TagRow.astro";
const { re } = Astro.props const { re } = Astro.props
@ -24,3 +26,4 @@ const waitTime = formatTime(re.waittime)
{waitTime && (<p class="border-r px-2">{waitTime} Wait</p>)} {waitTime && (<p class="border-r px-2">{waitTime} Wait</p>)}
{re.rating !== 0 && (<p class="pl-2">{re.rating}</p><p class="text-white/40 text-xs">/10</p>)} {re.rating !== 0 && (<p class="pl-2">{re.rating}</p><p class="text-white/40 text-xs">/10</p>)}
</div> </div>
<TagRow tagIds={re.tags}/>