mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
refactor: ♻️ Use new Versia branding everywhere
This commit is contained in:
parent
b734d8ad67
commit
cc54e95e92
68 changed files with 147 additions and 154 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="flex min-h-screen relative flex-col gap-10 justify-center py-12 px-8">
|
||||
<img crossorigin="anonymous" src="https://cdn.lysand.org/logo.webp" alt="Lysand logo"
|
||||
<img crossorigin="anonymous" src="https://cdn.versia.pub/branding/icon.svg" alt="Versia logo"
|
||||
class="mx-auto hidden md:inline-block h-20 ring-1 ring-white/20 rounded" />
|
||||
<div v-if="validUrlParameters" class="mx-auto w-full max-w-md">
|
||||
<VeeForm class="flex flex-col gap-y-6" method="POST" :validation-schema="schema"
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
</p>
|
||||
|
||||
<p class="mt-6 text-lg leading-8 text-gray-300">
|
||||
Found a problem? Report it on <a href="https://github.com/lysand-org/lysand/issues/new/choose"
|
||||
Found a problem? Report it on <a href="https://github.com/versia-pub/server/issues/new/choose"
|
||||
target="_blank" class="underline text-primary-700">the issue tracker</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { LysandClient } from "@lysand-org/client";
|
||||
import { Client } from "@versia/client";
|
||||
import { toTypedSchema } from "@vee-validate/zod";
|
||||
import { z } from "zod";
|
||||
import FieldError from "~/components/inputs/field-error.vue";
|
||||
|
|
@ -125,7 +125,7 @@ const validUrlParameters =
|
|||
params.scope;
|
||||
|
||||
const instance = useInstanceFromClient(
|
||||
new LysandClient(new URL(useBaseUrl().value)),
|
||||
new Client(new URL(useBaseUrl().value)),
|
||||
);
|
||||
|
||||
const ssoConfig = computed(() => instance.value?.sso);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
</p>
|
||||
|
||||
<p class="mt-6 text-lg leading-8 text-gray-300">
|
||||
Found a problem? Report it on <a href="https://github.com/lysand-org/lysand/issues/new/choose"
|
||||
Found a problem? Report it on <a href="https://github.com/versia-pub/server/issues/new/choose"
|
||||
target="_blank" class="underline text-primary-700">the issue tracker</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
</p>
|
||||
|
||||
<p class="mt-6 text-lg leading-8 text-gray-300">
|
||||
Found a problem? Report it on <a href="https://github.com/lysand-org/lysand/issues/new/choose"
|
||||
Found a problem? Report it on <a href="https://github.com/versia-pub/server/issues/new/choose"
|
||||
target="_blank" class="underline text-primary-700">the issue tracker</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="flex min-h-screen relative flex-col gap-10 justify-center py-12 px-8">
|
||||
<img crossorigin="anonymous" src="https://cdn.lysand.org/logo.webp" alt="Lysand logo"
|
||||
<img crossorigin="anonymous" src="https://cdn.versia.pub/branding/icon.svg" alt="Versia logo"
|
||||
class="mx-auto hidden md:inline-block h-20 ring-1 ring-white/20 rounded" />
|
||||
<div v-if="validUrlParameters" class="mx-auto w-full max-w-md">
|
||||
<VeeForm class="flex flex-col gap-y-6" method="POST" :validation-schema="schema" action="/api/auth/reset">
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
</p>
|
||||
|
||||
<p class="mt-6 text-lg leading-8 text-gray-300">
|
||||
Found a problem? Report it on <a href="https://github.com/lysand-org/lysand/issues/new/choose"
|
||||
Found a problem? Report it on <a href="https://github.com/versia-pub/server/issues/new/choose"
|
||||
target="_blank" class="underline text-primary-700">the issue tracker</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue