From ac6c971d0a8f145b8de0ac1e6ef9750f9afdd5c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E9=91=AB?= <1219654535@qq.com> Date: Sun, 7 May 2023 16:46:31 +0800 Subject: [PATCH] chore: lang flag --- components/header/nav.vue | 6 +----- uno.config.ts | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/components/header/nav.vue b/components/header/nav.vue index 0e1bc9e..96f44da 100644 --- a/components/header/nav.vue +++ b/components/header/nav.vue @@ -53,11 +53,7 @@ const flag: any = { - - {{ - flag[locale.code] - }} - + diff --git a/uno.config.ts b/uno.config.ts index b14ed2e..1952987 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -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(),