frontend/components/profiles/address.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

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>