2022-12-12 07:40:40 +09:00
|
|
|
<script setup lang="ts">
|
|
|
|
import type { GroupedLikeNotifications } from '~/types'
|
|
|
|
|
|
|
|
const { group } = defineProps<{
|
|
|
|
group: GroupedLikeNotifications
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<article flex flex-col relative>
|
2022-12-13 23:56:00 +09:00
|
|
|
<StatusCard :status="group.status!" :faded="true">
|
|
|
|
<template #meta>
|
2022-12-26 04:28:26 +09:00
|
|
|
<div flex flex-col gap-1 mt-1>
|
2022-12-13 23:56:00 +09:00
|
|
|
<div v-for="like of group.likes" :key="like.account.id" flex>
|
2023-01-01 23:29:11 +09:00
|
|
|
<div v-if="like.reblog" i-ri:repeat-fill text-xl me-2 color-green />
|
|
|
|
<div v-if="like.favourite && !like.reblog" i-ri:heart-fill text-xl me-2 color-red />
|
|
|
|
<AccountInlineInfo text-primary font-bold :account="like.account" me2 />
|
|
|
|
<div v-if="like.favourite && like.reblog" i-ri:heart-fill text-xl me-2 color-red />
|
2022-12-13 23:56:00 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</StatusCard>
|
2022-12-12 07:40:40 +09:00
|
|
|
</article>
|
|
|
|
</template>
|