frontend/components/profiles/profile-stats.vue

31 lines
948 B
Vue
Raw Normal View History

2024-12-02 16:07:52 +01:00
<template>
<Row class="gap-2 w-full justify-around">
<Col centered>
<Bold>{{ noteCount }}</Bold>
<Small muted>{{ m.real_gray_stork_seek() }}</Small>
</Col>
<Col centered>
<Bold>{{ followerCount }}</Bold>
<Small muted>{{ m.teal_helpful_parakeet_hike() }}</Small>
</Col>
<Col centered>
<Bold>{{ followingCount }}</Bold>
<Small muted>{{ m.aloof_royal_samuel_startle() }}</Small>
</Col>
</Row>
2024-12-02 16:07:52 +01:00
</template>
<script lang="ts" setup>
import * as m from "~/paraglide/messages.js";
import Bold from "../typography/bold.vue";
import Col from "../typography/layout/col.vue";
import Row from "../typography/layout/row.vue";
import Small from "../typography/small.vue";
2024-12-02 16:07:52 +01:00
const { noteCount, followerCount, followingCount } = defineProps<{
2024-12-02 16:07:52 +01:00
noteCount: number;
followerCount: number;
followingCount: number;
}>();
</script>