chore: lang flag

This commit is contained in:
胡鑫 2023-05-07 16:46:31 +08:00
parent bfc9d23098
commit ac6c971d0a
2 changed files with 4 additions and 5 deletions

View File

@ -53,11 +53,7 @@ const flag: any = {
<ABtn
variant="text"
>
<span style="color: hsla(var(--a-base-c), 0.87); " class="font-bold">
{{
flag[locale.code]
}}
</span>
<span :class="flag[locale.code]" />
</ABtn>
</LocaleNuxtLink>
</nav>

View File

@ -51,6 +51,9 @@ export default defineConfig({
'text-gradient-rose',
'text-gradient-purple',
'text-gradient-yello',
'i-flag-gb-4x3',
'i-flag-cn-4x3',
],
presets: [
presetAnu(),