chore: 平台logo修改

This commit is contained in:
lzh
2025-12-23 10:35:09 +08:00
parent d73325b404
commit 2dc7246d8f
4 changed files with 10 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
import { computed } from 'vue';
import { LanguageToggle, LoginIllustration, ThemeToggle } from '@vben/layouts';
import { LanguageToggle, LoginIllustration } from '@vben/layouts';
import { preferences, usePreferences } from '@vben/preferences';
const appName = computed(() => preferences.app.name);
@@ -34,8 +34,8 @@ const { isDark } = usePreferences();
class="absolute left-4 top-4 z-20 flex items-center gap-3 lg:left-6 lg:top-6"
@click.prevent
>
<div class="flex size-12 items-center justify-center lg:size-14">
<img v-if="logo" :src="logo" :alt="appName" class="size-8 lg:size-10" />
<div class="flex items-center justify-center rounded-lg bg-white/90 backdrop-blur-md p-0.5 shadow-[0_2px_8px_rgba(0,0,0,0.12)] transition-all hover:bg-white/95 hover:shadow-[0_4px_12px_rgba(0,0,0,0.18)] lg:p-1">
<img v-if="logo" :src="logo" :alt="appName" class="size-10 lg:size-12" />
<span v-else class="text-xl text-[#FFA00A] lg:text-2xl">💡</span>
</div>
<span