style: 优化样式

This commit is contained in:
xlsea 2024-05-16 09:18:42 +08:00
parent af029fba11
commit 4634d2d91d
2 changed files with 5 additions and 2 deletions

View File

@ -63,18 +63,21 @@ const href = (url: string) => {
<NamespaceSelect /> <NamespaceSelect />
<GlobalSearch /> <GlobalSearch />
<ButtonIcon <ButtonIcon
v-if="!appStore.isMobile"
class="color-#c71d23" class="color-#c71d23"
tooltip-content="Gitee" tooltip-content="Gitee"
icon="simple-icons:gitee" icon="simple-icons:gitee"
@click="href('https://gitee.com/aizuda/snail-job')" @click="href('https://gitee.com/aizuda/snail-job')"
/> />
<ButtonIcon <ButtonIcon
v-if="!appStore.isMobile"
tooltip-content="Github" tooltip-content="Github"
class="color-#010409 dark:color-#e6edf3" class="color-#010409 dark:color-#e6edf3"
icon="simple-icons:github" icon="simple-icons:github"
@click="href('https://github.com/aizuda/snail-job')" @click="href('https://github.com/aizuda/snail-job')"
/> />
<ButtonIcon <ButtonIcon
v-if="!appStore.isMobile"
tooltip-content="Document" tooltip-content="Document"
class="color-#272636 dark:color-#f0f2f5" class="color-#272636 dark:color-#f0f2f5"
icon="material-symbols:unknown-document-outline" icon="material-symbols:unknown-document-outline"

View File

@ -17,8 +17,8 @@ withDefaults(defineProps<Props>(), {
<template> <template>
<RouterLink to="/" class="w-full flex-center nowrap-hidden"> <RouterLink to="/" class="w-full flex-center nowrap-hidden">
<SystemLogo class="text-32px text-primary" /> <SystemLogo class="text-36px text-primary" />
<h2 v-show="showTitle" class="pl-8px text-16px text-primary font-bold transition duration-300 ease-in-out"> <h2 v-show="showTitle" class="pl-8px text-27px text-primary font-bold transition duration-300 ease-in-out">
{{ $t('system.title') }} {{ $t('system.title') }}
</h2> </h2>
</RouterLink> </RouterLink>