feat: tags page

zio/stable
Anthony Fu 2022-11-21 05:25:26 +08:00
parent bc3197ba22
commit 70daeeaed5
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import type { DefaultTreeAdapterMap } from 'parse5' import type { DefaultTreeAdapterMap } from 'parse5'
import { parseFragment, serialize } from 'parse5' import { parseFragment } from 'parse5'
import type { VNode } from 'vue' import type { VNode } from 'vue'
import { Fragment, h } from 'vue' import { Fragment, h } from 'vue'
import { RouterLink } from 'vue-router' import { RouterLink } from 'vue-router'

View File

@ -15,8 +15,8 @@ const { data: context } = await useAsyncData(`${id}-context`, () => masto.status
<template v-for="comment of context?.ancestors" :key="comment.id"> <template v-for="comment of context?.ancestors" :key="comment.id">
<StatusCard :status="comment" border="t border" pt-4 /> <StatusCard :status="comment" border="t border" pt-4 />
</template> </template>
<StatusDetails :status="status" /> <StatusDetails :status="status" border="t border" pt-4 />
<template v-for="comment of context?.descendants" :key="comment.id"> <template v-for="comment of context?.descendants" :key="comment.id">
<StatusCard :status="comment" border="t border" pt-4 /> <StatusCard :status="comment" pt-4 />
</template> </template>
</template> </template>