frontend/components/profiles/profile-stats.vue
Jesse Wierzbinski 53b71afdd5
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 1s
Deploy to GitHub Pages / build (push) Failing after 1s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 1s
Mirror to Codeberg / Mirror (push) Failing after 0s
refactor: ♻️ Refactor typography code in notes and profiles
2025-07-10 05:13:42 +02:00

31 lines
948 B
Vue

<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>
</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";
const { noteCount, followerCount, followingCount } = defineProps<{
noteCount: number;
followerCount: number;
followingCount: number;
}>();
</script>