mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
refactor: 🛂 Refactor account switching to ask for instance
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 54s
Deploy to GitHub Pages / build (push) Failing after 1m45s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 17s
Mirror to Codeberg / Mirror (push) Failing after 1s
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 54s
Deploy to GitHub Pages / build (push) Failing after 1m45s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 17s
Mirror to Codeberg / Mirror (push) Failing after 1s
This commit is contained in:
parent
7e9ccbc932
commit
2e67e7858f
9 changed files with 71 additions and 104 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<Sidebar>
|
||||
<slot v-if="!route.meta.requiresAuth || identity" />
|
||||
<Card v-else class="shadow-none bg-transparent border-none p-4 max-w-md mx-auto">
|
||||
<Card v-else class="shadow-none border-none p-4 max-w-md mx-auto">
|
||||
<CardHeader class="text-center gap-y-4">
|
||||
<CardTitle>{{ m.sunny_quick_lionfish_flip() }}</CardTitle>
|
||||
<CardDescription>
|
||||
|
|
@ -35,7 +35,7 @@ import * as m from "~/paraglide/messages.js";
|
|||
import { SettingIds } from "~/settings";
|
||||
|
||||
const appData = useAppData();
|
||||
const signInAction = () => signIn(appData, new URL(useBaseUrl().value));
|
||||
const signInAction = async () => signIn(appData, await askForInstance());
|
||||
const colorMode = useColorMode();
|
||||
const themeSetting = useSetting(SettingIds.Theme);
|
||||
const { n, d } = useMagicKeys();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue