diff --git a/packages/nc-gui-v2/assets/img/discourse-icon.png b/packages/nc-gui-v2/assets/img/discourse-icon.png new file mode 100644 index 0000000000..cec51f759a Binary files /dev/null and b/packages/nc-gui-v2/assets/img/discourse-icon.png differ diff --git a/packages/nc-gui-v2/components/general/Social.vue b/packages/nc-gui-v2/components/general/Social.vue index 3837ba2bdc..aa8242d046 100644 --- a/packages/nc-gui-v2/components/general/Social.vue +++ b/packages/nc-gui-v2/components/general/Social.vue @@ -39,34 +39,23 @@ const isZhLang = $computed(() => locale.value.startsWith('zh'))
- - +
+ > +
+
- +
@@ -81,4 +70,17 @@ const isZhLang = $computed(() => locale.value.startsWith('zh')) .icon { @apply cursor-pointer text-4xl rounded-full p-2 bg-gray-100 shadow-md hover:(shadow-lg bg-gray-200) transition-color ease-in duration-100; } + +.discourse { + height: 22px; + width: 22px; + background-image: url('~/assets/img/discourse-icon.png'); + background-size: contain; + background-repeat: no-repeat; +} + +.discourse::before { + visibility: hidden; + content: ''; +} diff --git a/packages/nc-gui-v2/package-lock.json b/packages/nc-gui-v2/package-lock.json index 414f2f180a..ffed05980b 100644 --- a/packages/nc-gui-v2/package-lock.json +++ b/packages/nc-gui-v2/package-lock.json @@ -17,7 +17,6 @@ }, "devDependencies": { "@antfu/eslint-config": "^0.25.2", - "@iconify-json/bx": "^1.1.3", "@iconify-json/material-symbols": "^1.1.8", "@iconify-json/mdi": "^1.1.25", "@intlify/vite-plugin-vue-i18n": "^4.0.0", @@ -902,15 +901,6 @@ "dev": true, "peer": true }, - "node_modules/@iconify-json/bx": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@iconify-json/bx/-/bx-1.1.3.tgz", - "integrity": "sha512-Y7iKbjsf52fGd0IIjtUz8Hoz4S5PyXxRJRqskQFnDPSOUD0zRIbDom3UfTv5HGv8I0zEvJ0jpEVQlt+efkve/g==", - "dev": true, - "dependencies": { - "@iconify/types": "*" - } - }, "node_modules/@iconify-json/material-symbols": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/@iconify-json/material-symbols/-/material-symbols-1.1.8.tgz", @@ -13329,15 +13319,6 @@ "dev": true, "peer": true }, - "@iconify-json/bx": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@iconify-json/bx/-/bx-1.1.3.tgz", - "integrity": "sha512-Y7iKbjsf52fGd0IIjtUz8Hoz4S5PyXxRJRqskQFnDPSOUD0zRIbDom3UfTv5HGv8I0zEvJ0jpEVQlt+efkve/g==", - "dev": true, - "requires": { - "@iconify/types": "*" - } - }, "@iconify-json/material-symbols": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/@iconify-json/material-symbols/-/material-symbols-1.1.8.tgz", diff --git a/packages/nc-gui-v2/package.json b/packages/nc-gui-v2/package.json index d66bbc0ec4..a6bcf7c75e 100644 --- a/packages/nc-gui-v2/package.json +++ b/packages/nc-gui-v2/package.json @@ -20,7 +20,6 @@ }, "devDependencies": { "@antfu/eslint-config": "^0.25.2", - "@iconify-json/bx": "^1.1.3", "@iconify-json/material-symbols": "^1.1.8", "@iconify-json/mdi": "^1.1.25", "@intlify/vite-plugin-vue-i18n": "^4.0.0",