elk/components/status/StatusActions.vue

28 lines
851 B
Vue
Raw Normal View History

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