Make application and logo configurable (#336)

* Adds settings for server name and logo

* Implements ApplicationLogo and replaces site name based on settings

* Refactors component for changing the company logo

* Removes unused variable

* Uses message instead of statusMessage

* Replaces favicon with logo if set
This commit is contained in:
Paco
2026-02-06 00:43:21 +00:00
committed by GitHub
parent 15f5986b07
commit af08472e45
27 changed files with 452 additions and 102 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<main class="mx-auto w-full max-w-7xl px-6 pt-10 pb-16 sm:pb-24 lg:px-8">
<DropLogo class="mx-auto h-10 w-auto sm:h-12" />
<ApplicationLogo class="mx-auto h-10 w-auto sm:h-12" />
<div class="mx-auto mt-20 max-w-md text-center sm:mt-24">
<h1
class="mt-4 text-3xl font-semibold tracking-tight text-balance text-white sm:text-4xl"
+1 -1
View File
@@ -5,7 +5,7 @@
>
<div class="mx-auto w-full max-w-sm lg:w-96">
<div>
<DropLogo class="h-8 w-auto" />
<ApplicationLogo class="h-8 w-auto" />
<h2
class="mt-4 text-2xl font-bold font-display leading-9 tracking-tight text-zinc-100"
>
+1 -2
View File
@@ -5,7 +5,7 @@
>
<div class="mx-auto w-full max-w-sm lg:w-96">
<div>
<DropLogo class="h-10 w-auto" />
<ApplicationLogo class="h-10 w-auto" />
<h2
class="mt-8 text-2xl font-bold font-display leading-9 tracking-tight text-zinc-100"
>
@@ -57,7 +57,6 @@
<script setup lang="ts">
import type { AuthMec } from "~/prisma/client/enums";
import DropLogo from "~/components/DropLogo.vue";
const { t } = useI18n();
const { enabledAuthProviders, oidcProviderName } =