elk/components/status/StatusActions.vue

28 lines
851 B
Vue
Raw Normal View History

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