mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-25 18:56:37 +03:00
35 lines
1.2 KiB
Vue
35 lines
1.2 KiB
Vue
<script setup lang="ts">
|
|
import type { Status } from 'masto'
|
|
|
|
defineProps<{
|
|
status: Status
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div flex gap-8>
|
|
<button flex gap-1 items-center w-full rounded op75 hover="op100 text-blue" group>
|
|
<div rounded-full p2 group-hover="bg-blue/10">
|
|
<div i-ri:chat-3-line />
|
|
</div>
|
|
<span v-if="status.repliesCount">{{ status.repliesCount }}</span>
|
|
</button>
|
|
<button flex gap-1 items-center w-full rounded op75 hover="op100 text-green" group>
|
|
<div rounded-full p2 group-hover="bg-green/10">
|
|
<div i-ri:repeat-fill />
|
|
</div>
|
|
<span v-if="status.reblogsCount">{{ status.reblogsCount }}</span>
|
|
</button>
|
|
<button flex gap-1 items-center w-full rounded op75 hover="op100 text-rose" group>
|
|
<div rounded-full p2 group-hover="bg-rose/10">
|
|
<div i-ri:heart-3-line />
|
|
</div>
|
|
<span v-if="status.favouritesCount">{{ status.favouritesCount }}</span>
|
|
</button>
|
|
<button flex gap-1 items-center w-full rounded op75 hover="op100 text-purple" group>
|
|
<div rounded-full p2 group-hover="bg-purple/10">
|
|
<div i-ri:share-circle-line />
|
|
</div>
|
|
</button>
|
|
</div>
|
|
</template>
|