refactor: ♻️ Use new Versia branding everywhere

This commit is contained in:
Jesse Wierzbinski 2024-08-28 00:23:29 +02:00
parent b734d8ad67
commit cc54e95e92
No known key found for this signature in database
68 changed files with 147 additions and 154 deletions

View file

@ -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);

View file

@ -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>

View file

@ -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>

View file

@ -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>