mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-07 04:39:10 +01:00
25 lines
846 B
Vue
25 lines
846 B
Vue
<script setup lang="ts">
|
|
import type { GroupedLikeNotifications } from '~/types'
|
|
|
|
const { group } = defineProps<{
|
|
group: GroupedLikeNotifications
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<article flex flex-col relative>
|
|
<StatusCard :status="group.status!" :faded="true">
|
|
<template #meta>
|
|
<div flex flex-col gap-2>
|
|
<div v-for="like of group.likes" :key="like.account.id" flex>
|
|
<div v-if="like.reblog" i-ri:repeat-fill text-xl mr-2 color-green />
|
|
<div v-if="like.favourite && !like.reblog" i-ri:heart-fill text-xl mr-2 color-red />
|
|
<AccountInlineInfo text-primary font-bold :account="like.account" mr2 />
|
|
<div v-if="like.favourite && like.reblog" i-ri:heart-fill text-xl mr-2 color-red />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</StatusCard>
|
|
</article>
|
|
</template>
|