chore: lang flag
This commit is contained in:
parent
bfc9d23098
commit
ac6c971d0a
|
@ -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>
|
||||||
|
|
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue