mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
16 lines
410 B
Vue
16 lines
410 B
Vue
<template>
|
|
<Text class="font-semibold text-sm tracking-tight">
|
|
<span class="text-accent-foreground">@{{ username }}</span>
|
|
<span v-if="domain" class="text-muted-foreground">@{{ domain }}</span>
|
|
</Text>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import Text from "../typography/text.vue";
|
|
|
|
const { username, domain } = defineProps<{
|
|
username: string;
|
|
domain?: string;
|
|
}>();
|
|
</script>
|