fix: restore admin role in User type, use image logo

- Add "admin" back to User.role union to fix backend TS build
- Replace SVG PeonyIcon with logo.png image in Logo component

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 18:04:49 +01:00
parent 454c477c40
commit aed7b4a16f
3 changed files with 2 additions and 5 deletions

View File

@@ -1,13 +1,10 @@
<script lang="ts">
import { _ } from "svelte-i18n";
import PeonyIcon from "../icon/peony-icon.svelte";
const { hideName = false } = $props();
</script>
<div class="relative">
<PeonyIcon class="w-13 h-13 text-black" />
</div>
<img src="/logo.png" alt={$_("brand.name")} class="w-10 h-10 object-contain" />
<span
class={`logo text-3xl text-foreground opacity-90 tracking-wide font-extrabold drop-shadow-x ${hideName ? "hidden sm:inline-block" : ""}`}
>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1009 KiB