mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 19:49:16 +01:00
style: 🎨 Run Biome formatter
This commit is contained in:
parent
74c3b26f20
commit
68e23a818a
244 changed files with 435 additions and 470 deletions
|
|
@ -18,11 +18,11 @@
|
|||
:top-avatar-bar="(context?.ancestors.length ?? 0) > 0"
|
||||
/>
|
||||
</div>
|
||||
<Note v-for="note of context?.descendants" :note="note"/>
|
||||
<Note v-for="note of context?.descendants" :note="note" />
|
||||
</div>
|
||||
|
||||
<div v-else class="p-4 flex items-center justify-center h-48">
|
||||
<Spinner/>
|
||||
<Spinner />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +1,19 @@
|
|||
<template>
|
||||
<div class="mx-auto max-w-2xl w-full space-y-2">
|
||||
<div v-if="isLoading" class="p-4 flex items-center justify-center h-48">
|
||||
<Loader class="size-8 animate-spin"/>
|
||||
<Loader class="size-8 animate-spin" />
|
||||
</div>
|
||||
<TimelineScroller v-else-if="account">
|
||||
<div class="p-4 pb-0">
|
||||
<AccountProfile :account="account"/>
|
||||
<AccountProfile :account="account" />
|
||||
</div>
|
||||
<AccountTimeline v-if="accountId" :id="accountId" :key="accountId"/>
|
||||
<AccountTimeline
|
||||
v-if="accountId"
|
||||
:id="accountId"
|
||||
:key="accountId"
|
||||
/>
|
||||
</TimelineScroller>
|
||||
<NotFound v-else/>
|
||||
<NotFound v-else />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<TimelineScroller>
|
||||
<Global/>
|
||||
<Global />
|
||||
</TimelineScroller>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<TimelineScroller>
|
||||
<Home/>
|
||||
<Home />
|
||||
</TimelineScroller>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<TimelineScroller>
|
||||
<Home v-if="authStore.isSignedIn"/>
|
||||
<Public v-else/>
|
||||
<Home v-if="authStore.isSignedIn" />
|
||||
<Public v-else />
|
||||
</TimelineScroller>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="p-6 flex items-center justify-center h-dvh w-dvw">
|
||||
<div class="flex flex-col items-center justify-center gap-4">
|
||||
<Loader class="animate-spin size-8"/>
|
||||
<Loader class="animate-spin size-8" />
|
||||
<!-- <p class="text-xl font-semibold tracking-tight">Versia Frontend</p> -->
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<TimelineScroller>
|
||||
<Local/>
|
||||
<Local />
|
||||
</TimelineScroller>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<TimelineScroller>
|
||||
<div class="rounded overflow-hidden">
|
||||
<Notifications/>
|
||||
<Notifications />
|
||||
</div>
|
||||
</TimelineScroller>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ const getProviderUrl = (providerId: string) =>
|
|||
class="mx-auto flex w-full flex-col justify-center space-y-10 sm:w-[350px]"
|
||||
>
|
||||
<Alert v-if="error" variant="destructive" class="mb-4">
|
||||
<AlertCircle class="size-4"/>
|
||||
<AlertCircle class="size-4" />
|
||||
<AlertTitle>{{ error }}</AlertTitle>
|
||||
<AlertDescription>{{ error_description }}</AlertDescription>
|
||||
</Alert>
|
||||
|
|
@ -137,7 +137,7 @@ const getProviderUrl = (providerId: string) =>
|
|||
</form>
|
||||
</div>
|
||||
<Alert v-else variant="destructive" class="mb-4">
|
||||
<AlertCircle class="size-4"/>
|
||||
<AlertCircle class="size-4" />
|
||||
<AlertTitle>
|
||||
No SSO providers are configured.
|
||||
</AlertTitle>
|
||||
|
|
@ -153,14 +153,12 @@ const getProviderUrl = (providerId: string) =>
|
|||
v-else-if="hasValidUrlSearchParams"
|
||||
class="p-4 flex items-center justify-center h-48"
|
||||
>
|
||||
<Loader class="size-8 animate-spin"/>
|
||||
<Loader class="size-8 animate-spin" />
|
||||
</div>
|
||||
<Alert v-else variant="destructive" class="mb-4">
|
||||
<AlertCircle class="size-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"
|
||||
|
|
@ -47,7 +43,7 @@
|
|||
:key="text[1]"
|
||||
class="flex flex-row gap-1 items-center"
|
||||
>
|
||||
<Check class="size-4"/>
|
||||
<Check class="size-4" />
|
||||
<h2 class="text-sm">
|
||||
<strong class="font-bold">{{ text[0] }}</strong>
|
||||
{{ text[1] }}
|
||||
|
|
@ -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,6 +1,6 @@
|
|||
<template>
|
||||
<TimelineScroller>
|
||||
<Public/>
|
||||
<Public />
|
||||
</TimelineScroller>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
>
|
||||
<CardHeader>
|
||||
<Alert v-if="errors.error" variant="destructive" class="mb-4">
|
||||
<AlertCircle class="size-4"/>
|
||||
<AlertCircle class="size-4" />
|
||||
<AlertTitle>{{ m.vexed_each_falcon_enjoy() }}</AlertTitle>
|
||||
<AlertDescription>{{ errors.error }}</AlertDescription>
|
||||
</Alert>
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
v-bind="componentField"
|
||||
/>
|
||||
</FormControl>
|
||||
<FormMessage/>
|
||||
<FormMessage />
|
||||
</FormItem>
|
||||
</FormField>
|
||||
<FormField v-slot="{ componentField }" name="email">
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
v-bind="componentField"
|
||||
/>
|
||||
</FormControl>
|
||||
<FormMessage/>
|
||||
<FormMessage />
|
||||
</FormItem>
|
||||
</FormField>
|
||||
<FormField v-slot="{ componentField }" name="password">
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
v-bind="componentField"
|
||||
/>
|
||||
</FormControl>
|
||||
<FormMessage/>
|
||||
<FormMessage />
|
||||
</FormItem>
|
||||
</FormField>
|
||||
<FormField v-slot="{ componentField }" name="password-confirm">
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
v-bind="componentField"
|
||||
/>
|
||||
</FormControl>
|
||||
<FormMessage/>
|
||||
<FormMessage />
|
||||
</FormItem>
|
||||
</FormField>
|
||||
<FormField
|
||||
|
|
@ -135,7 +135,7 @@
|
|||
</Dialog>
|
||||
</FormLabel>
|
||||
</div>
|
||||
<FormMessage/>
|
||||
<FormMessage />
|
||||
</FormItem>
|
||||
</FormField>
|
||||
<div
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
</Button>
|
||||
</CardFooter>
|
||||
<div v-else class="p-4 flex items-center justify-center h-48">
|
||||
<Loader class="size-8 animate-spin"/>
|
||||
<Loader class="size-8 animate-spin" />
|
||||
</div>
|
||||
</Card>
|
||||
<Card v-else class="w-full max-w-md">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue