chore: 平台logo修改
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 3.0 KiB |
1
apps/web-antd/public/logo.svg
Normal file
1
apps/web-antd/public/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 180 KiB |
@@ -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
|
||||
|
||||
@@ -22,6 +22,12 @@ export const overridesPreferences = defineOverridesPreferences({
|
||||
companyName: import.meta.env.VITE_APP_TITLE,
|
||||
companySiteLink: 'https://www.vs-cushwake.com/',
|
||||
},
|
||||
logo: {
|
||||
/** Logo 图片地址 */
|
||||
source: '/logo.svg',
|
||||
/** Logo 图片适应方式 */
|
||||
fit: 'contain',
|
||||
},
|
||||
theme: {
|
||||
/** 主题模式:'light' 为浅色模式,'dark' 为深色模式,'auto' 为跟随系统 */
|
||||
mode: 'light',
|
||||
|
||||
Reference in New Issue
Block a user