feat: tags page
This commit is contained in:
parent
bc3197ba22
commit
70daeeaed5
|
@ -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'
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue