1
0
mirror of https://github.com/elk-zone/elk synced 2025-01-08 02:42:50 +09:00
elk/components/status/StatusActions.vue

28 lines
851 B
Vue
Raw Normal View History

2022-11-13 14:34:43 +09:00
<script setup lang="ts">
2022-11-14 11:20:07 +09:00
import type { Status } from 'masto'
2022-11-13 14:34:43 +09:00
2022-11-14 11:20:07 +09:00
defineProps<{
status: Status
2022-11-13 14:34:43 +09:00
}>()
</script>
<template>
2022-11-14 01:05:32 +09:00
<div flex justify-between gap-4>
<button flex gap-1 justify-center items-center p1 w-full rounded hover="bg-gray/10">
2022-11-13 14:34:43 +09:00
<div i-ri:chat-3-line />
2022-11-14 11:20:07 +09:00
<span>{{ status.repliesCount }}</span>
2022-11-13 14:34:43 +09:00
</button>
2022-11-14 01:05:32 +09:00
<button flex gap-1 justify-center items-center p1 w-full rounded hover="bg-gray/10">
2022-11-13 14:34:43 +09:00
<div i-ri:repeat-fill />
2022-11-14 11:20:07 +09:00
<span>{{ status.reblogsCount }}</span>
2022-11-13 14:34:43 +09:00
</button>
2022-11-14 01:05:32 +09:00
<button flex gap-1 justify-center items-center p1 w-full rounded hover="bg-gray/10">
2022-11-13 14:34:43 +09:00
<div i-ri:heart-3-line />
2022-11-14 11:20:07 +09:00
<span>{{ status.favouritesCount }}</span>
2022-11-13 14:34:43 +09:00
</button>
2022-11-14 01:05:32 +09:00
<button flex gap-1 justify-center items-center p1 w-full rounded hover="bg-gray/10">
<div i-ri:more-2-fill />
</button>
2022-11-13 14:34:43 +09:00
</div>
</template>