mirror of
https://github.com/versia-pub/frontend.git
synced 2026-01-26 04:16:02 +01:00
style: 🎨 Run Biome formatter
This commit is contained in:
parent
74c3b26f20
commit
68e23a818a
|
|
@ -84,22 +84,18 @@ const relation = ref(
|
|||
class="sm:max-w-xl max-w-full w-[calc(100%-2*0.5rem)] grid-cols-1 max-h-[90dvh] p-0 top-2 sm:top-1/2 translate-y-0 sm:-translate-y-1/2 border-none bg-transparent shadow-none"
|
||||
>
|
||||
<DialogTitle class="sr-only">
|
||||
{{
|
||||
relation?.type === "reply"
|
||||
{{ relation?.type === "reply"
|
||||
? m.loved_busy_mantis_slide()
|
||||
: relation?.type === "quote"
|
||||
? "Quote"
|
||||
: m.chunky_dull_marlin_trip()
|
||||
}}
|
||||
: m.chunky_dull_marlin_trip() }}
|
||||
</DialogTitle>
|
||||
<DialogDescription class="sr-only">
|
||||
{{
|
||||
relation?.type === "reply"
|
||||
{{ relation?.type === "reply"
|
||||
? m.tired_grassy_vulture_forgive()
|
||||
: relation?.type === "quote"
|
||||
? m.livid_livid_nils_snip()
|
||||
: m.brief_cool_capybara_fear()
|
||||
}}
|
||||
: m.brief_cool_capybara_fear() }}
|
||||
</DialogDescription>
|
||||
<Composer :relation="relation ?? undefined" />
|
||||
</DialogContent>
|
||||
|
|
|
|||
|
|
@ -7,26 +7,16 @@
|
|||
:name="instance.title"
|
||||
/>
|
||||
<div class="grid text-sm leading-tight *:line-clamp-1">
|
||||
<span class="truncate font-semibold">
|
||||
{{
|
||||
instance.domain
|
||||
}}
|
||||
</span>
|
||||
<span class="truncate font-semibold"> {{ instance.domain }} </span>
|
||||
<span class="line-clamp-3 text-xs">
|
||||
{{
|
||||
instance.versia_version || instance.version
|
||||
}}
|
||||
{{ instance.versia_version || instance.version }}
|
||||
</span>
|
||||
</div>
|
||||
<h1 class="line-clamp-1 text-sm font-semibold col-span-2">
|
||||
{{
|
||||
instance.title
|
||||
}}
|
||||
{{ instance.title }}
|
||||
</h1>
|
||||
<p class="line-clamp-5 text-xs col-span-2">
|
||||
{{
|
||||
instance.description
|
||||
}}
|
||||
{{ instance.description }}
|
||||
</p>
|
||||
</Card>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@
|
|||
{{ hidden ? m.bald_direct_turtle_win() :
|
||||
m.known_flaky_cockroach_dash() }}
|
||||
{{ characterCount > 0 ? ` (${characterCount} characters` : "" }}
|
||||
{{
|
||||
attachmentCount > 0 ? `${characterCount > 0 ? " · " : " ("}${attachmentCount} file(s)` : "" }}
|
||||
{{ attachmentCount > 0 ? `${characterCount > 0 ? " · " : " ("}${attachmentCount} file(s)` : "" }}
|
||||
{{ (characterCount > 0 || attachmentCount > 0) ? ")" : "" }}
|
||||
</Button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,13 +16,11 @@
|
|||
@click="collapsed = !collapsed"
|
||||
class="absolute bottom-2 right-1/2 translate-x-1/2"
|
||||
>
|
||||
{{
|
||||
collapsed
|
||||
{{ collapsed
|
||||
? `${m.lazy_honest_mammoth_bump()}${formattedCharacterCount ? ` • ${m.dark_spare_goldfish_charm({
|
||||
count: formattedCharacterCount,
|
||||
})}` : ""}`
|
||||
: m.that_misty_mule_arrive()
|
||||
}}
|
||||
: m.that_misty_mule_arrive() }}
|
||||
</Button>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -16,9 +16,7 @@
|
|||
<span
|
||||
class="truncate font-semibold"
|
||||
v-render-emojis="follower.emojis"
|
||||
>{{
|
||||
follower.display_name
|
||||
}}</span
|
||||
>{{ follower.display_name }}</span
|
||||
>
|
||||
<span class="truncate tracking-tight">
|
||||
<Address :username="username" :domain="domain" />
|
||||
|
|
|
|||
|
|
@ -84,11 +84,12 @@
|
|||
<FormMessage />
|
||||
<div v-if="value" class="grid gap-4 !mt-4">
|
||||
<Label>
|
||||
{{
|
||||
m.witty_honest_wallaby_support()
|
||||
}}
|
||||
{{ m.witty_honest_wallaby_support() }}
|
||||
</Label>
|
||||
<Avatar class="size-32" :src="gravatarUrl"/>
|
||||
<Avatar
|
||||
class="size-32"
|
||||
:src="gravatarUrl"
|
||||
/>
|
||||
</div>
|
||||
</FormItem>
|
||||
</FormField>
|
||||
|
|
@ -112,9 +113,7 @@
|
|||
<FormMessage />
|
||||
<div v-if="value" class="grid gap-4 !mt-4">
|
||||
<Label>
|
||||
{{
|
||||
m.witty_honest_wallaby_support()
|
||||
}}
|
||||
{{ m.witty_honest_wallaby_support() }}
|
||||
</Label>
|
||||
<Avatar class="size-32" :src="value" />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -9,8 +9,7 @@
|
|||
<small
|
||||
v-if="pref.options.description"
|
||||
class="text-xs font-medium leading-none text-muted-foreground"
|
||||
>{{
|
||||
pref.options.description }}</small
|
||||
>{{ pref.options.description }}</small
|
||||
>
|
||||
</div>
|
||||
<div class="flex items-center justify-end">
|
||||
|
|
|
|||
|
|
@ -7,13 +7,11 @@
|
|||
>
|
||||
<Loader v-if="isLoading" class="animate-spin" />
|
||||
<span v-else>
|
||||
{{
|
||||
relationship?.following
|
||||
{{ relationship?.following
|
||||
? m.brief_upper_otter_cuddle()
|
||||
: relationship?.requested
|
||||
? m.weak_bright_larva_grasp()
|
||||
: m.lazy_major_loris_grasp()
|
||||
}}
|
||||
: m.lazy_major_loris_grasp() }}
|
||||
</span>
|
||||
</Button>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,7 @@
|
|||
<SidebarContent>
|
||||
<SidebarGroup>
|
||||
<SidebarGroupLabel>
|
||||
{{
|
||||
m.trite_real_sawfish_drum()
|
||||
}}
|
||||
{{ m.trite_real_sawfish_drum() }}
|
||||
</SidebarGroupLabel>
|
||||
<NavItems
|
||||
:items="
|
||||
|
|
|
|||
|
|
@ -7,13 +7,11 @@ const props = defineProps<{
|
|||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span
|
||||
<template><span
|
||||
:class="cn(
|
||||
'text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*=\'size-\'])]:size-4',
|
||||
props.class,
|
||||
)"
|
||||
>
|
||||
<slot />
|
||||
</span>
|
||||
</template>
|
||||
</span></template>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@
|
|||
<div class="p-4 pb-0">
|
||||
<AccountProfile :account="account" />
|
||||
</div>
|
||||
<AccountTimeline v-if="accountId" :id="accountId" :key="accountId"/>
|
||||
<AccountTimeline
|
||||
v-if="accountId"
|
||||
:id="accountId"
|
||||
:key="accountId"
|
||||
/>
|
||||
</TimelineScroller>
|
||||
<NotFound v-else />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -158,9 +158,7 @@ const getProviderUrl = (providerId: string) =>
|
|||
<Alert v-else variant="destructive" class="mb-4">
|
||||
<AlertCircle class="size-4" />
|
||||
<AlertTitle>
|
||||
{{
|
||||
m.grand_spry_goldfish_embrace()
|
||||
}}
|
||||
{{ m.grand_spry_goldfish_embrace() }}
|
||||
</AlertTitle>
|
||||
<AlertDescription>
|
||||
<p>{{ m.gray_clean_shark_comfort() }}</p>
|
||||
|
|
|
|||
|
|
@ -11,9 +11,7 @@
|
|||
<CardDescription>
|
||||
{{ m.mushy_soft_lizard_propel() }}
|
||||
<br>
|
||||
{{
|
||||
m.short_arable_leopard_zap()
|
||||
}}
|
||||
{{ m.short_arable_leopard_zap() }}
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent class="grid">
|
||||
|
|
|
|||
|
|
@ -16,20 +16,16 @@
|
|||
>
|
||||
<CardHeader>
|
||||
<CardTitle as="h1" class="text-2xl wrap-break-word">
|
||||
{{
|
||||
m.fresh_broad_cockroach_radiate({
|
||||
{{ m.fresh_broad_cockroach_radiate({
|
||||
application: application ?? "",
|
||||
})
|
||||
}}
|
||||
}) }}
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<Card class="p-2 gap-1">
|
||||
<CardContent class="flex flex-col px-4 py-2 w-full">
|
||||
<CardTitle as="h2" class="text-lg">
|
||||
{{
|
||||
application
|
||||
}}
|
||||
{{ application }}
|
||||
</CardTitle>
|
||||
<a
|
||||
v-if="website"
|
||||
|
|
@ -71,14 +67,10 @@
|
|||
</CardContent>
|
||||
<CardFooter class="grid gap-2">
|
||||
<Button variant="default" type="submit">
|
||||
{{
|
||||
m.last_spare_polecat_reside()
|
||||
}}
|
||||
{{ m.last_spare_polecat_reside() }}
|
||||
</Button>
|
||||
<Button :as="NuxtLink" href="/" variant="secondary">
|
||||
{{
|
||||
m.soft_bold_ant_attend()
|
||||
}}
|
||||
{{ m.soft_bold_ant_attend() }}
|
||||
</Button>
|
||||
</CardFooter>
|
||||
</Card>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
|
||||
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
||||
"css": {
|
||||
"parser": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue