elk/components/status/StatusActions.vue

28 lines
851 B
Vue
Raw Normal View History

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