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