Add tags to detail view
This commit is contained in:
parent
3e10128a03
commit
4ca32453e2
@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
import TagRow from "../Card/TagRow.astro";
|
||||||
|
|
||||||
|
|
||||||
const { re } = Astro.props
|
const { re } = Astro.props
|
||||||
|
|
||||||
@ -23,4 +25,5 @@ const waitTime = formatTime(re.waittime)
|
|||||||
{workTime && (<p class="border-r px-2">{workTime} Work</p>)}
|
{workTime && (<p class="border-r px-2">{workTime} Work</p>)}
|
||||||
{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}/>
|
Loading…
x
Reference in New Issue
Block a user