2024-12-02 16:07:52 +01:00
|
|
|
<template>
|
|
|
|
|
<div class="flex flex-col gap-2">
|
|
|
|
|
<div class="flex flex-row flex-wrap gap-2 *:flex *:items-center *:gap-1 *:text-muted-foreground">
|
|
|
|
|
<div>
|
|
|
|
|
<CalendarDays class="size-4" />
|
2024-12-07 20:24:09 +01:00
|
|
|
{{ m.gross_fancy_platypus_seek() }} <span class="text-primary font-semibold">{{ formattedCreationDate }}</span>
|
2024-12-02 16:07:52 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="flex flex-row flex-wrap gap-2 *:flex *:items-center *:gap-1 *:text-muted-foreground">
|
|
|
|
|
<div>
|
2024-12-07 20:24:09 +01:00
|
|
|
<span class="text-primary font-semibold">{{ noteCount }}</span> {{ m.real_gray_stork_seek() }}
|
2024-12-02 16:07:52 +01:00
|
|
|
</div>
|
|
|
|
|
·
|
|
|
|
|
<div>
|
2024-12-07 20:24:09 +01:00
|
|
|
<span class="text-primary font-semibold">{{ followerCount }}</span> {{ m.teal_helpful_parakeet_hike() }}
|
2024-12-02 16:07:52 +01:00
|
|
|
</div>
|
|
|
|
|
·
|
|
|
|
|
<div>
|
2024-12-07 20:24:09 +01:00
|
|
|
<span class="text-primary font-semibold">{{ followingCount }}</span> {{ m.aloof_royal_samuel_startle() }}
|
2024-12-02 16:07:52 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import { CalendarDays } from "lucide-vue-next";
|
2024-12-07 20:24:09 +01:00
|
|
|
import * as m from "~/paraglide/messages.js";
|
2025-02-14 14:08:21 +01:00
|
|
|
import { getLocale } from "~/paraglide/runtime";
|
2024-12-02 16:07:52 +01:00
|
|
|
|
|
|
|
|
const { creationDate } = defineProps<{
|
|
|
|
|
creationDate: Date;
|
|
|
|
|
noteCount: number;
|
|
|
|
|
followerCount: number;
|
|
|
|
|
followingCount: number;
|
|
|
|
|
}>();
|
|
|
|
|
|
2025-02-14 14:08:21 +01:00
|
|
|
const formattedCreationDate = new Intl.DateTimeFormat(getLocale(), {
|
2024-12-02 16:07:52 +01:00
|
|
|
month: "long",
|
|
|
|
|
year: "numeric",
|
|
|
|
|
}).format(creationDate);
|
2025-02-14 14:08:21 +01:00
|
|
|
</script>
|