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 <ABtn
variant="text" variant="text"
> >
<span style="color: hsla(var(--a-base-c), 0.87); " class="font-bold"> <span :class="flag[locale.code]" />
{{
flag[locale.code]
}}
</span>
</ABtn> </ABtn>
</LocaleNuxtLink> </LocaleNuxtLink>
</nav> </nav>

View File

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