Browse Source

refactor(gui): update with new icon

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3835/head
Pranav C 2 years ago
parent
commit
ac74f27f5e
  1. BIN
      packages/nc-gui/assets/img/icons/512x512-trans.png
  2. BIN
      packages/nc-gui/assets/img/icons/512x512.png
  3. 4
      packages/nc-gui/components/general/NocoIcon.vue
  4. BIN
      packages/nc-gui/public/favicon.ico

BIN
packages/nc-gui/assets/img/icons/512x512-trans.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 KiB

After

Width:  |  Height:  |  Size: 114 KiB

BIN
packages/nc-gui/assets/img/icons/512x512.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 KiB

After

Width:  |  Height:  |  Size: 131 KiB

4
packages/nc-gui/components/general/NocoIcon.vue

@ -8,7 +8,7 @@ const { width = 90, height = 90 } = defineProps<Props>()
</script>
<template>
<div :style="{ left: `calc(50% - ${width / 2}px)`, top: `-${height * 0.6}px` }" class="absolute rounded-lg !bg-primary">
<img :width="width" :height="height" alt="NocoDB" src="~/assets/img/icons/512x512-trans.png" />
<div :style="{ left: `calc(50% - ${width / 2}px)`, top: `-${height / 2}px` }" class="absolute rounded-lg">
<img :width="width" :height="height" alt="NocoDB" src="~/assets/img/icons/512x512.png" />
</div>
</template>

BIN
packages/nc-gui/public/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Loading…
Cancel
Save