+
-
-
-
-
+
+
+
+
+
+
From 5bb174ba4f9ca2c38a6b13c00a9252dca4bfa918 Mon Sep 17 00:00:00 2001
From: braks <78412429+bcakmakoglu@users.noreply.github.com>
Date: Thu, 13 Oct 2022 15:09:53 +0200
Subject: [PATCH 2/2] feat(nc-gui): make logo animation size responsive to logo
size
---
.../nc-gui/components/general/NocoIcon.vue | 29 ++++++++++++++-----
.../nc-gui/components/general/PoweredBy.vue | 6 ++--
2 files changed, 25 insertions(+), 10 deletions(-)
diff --git a/packages/nc-gui/components/general/NocoIcon.vue b/packages/nc-gui/components/general/NocoIcon.vue
index f8fdd70095..32a95284c4 100644
--- a/packages/nc-gui/components/general/NocoIcon.vue
+++ b/packages/nc-gui/components/general/NocoIcon.vue
@@ -2,12 +2,11 @@
import { autoResetRef, useThrottleFn } from '#imports'
interface Props {
- width?: number
- height?: number
+ size?: number
animate?: boolean
}
-const { width = 90, height = 90, animate = false } = defineProps
()
+const { size = 90, animate = false } = defineProps()
const ping = autoResetRef(false, 1000)
@@ -18,21 +17,35 @@ const onClick = useThrottleFn(() => {
diff --git a/packages/nc-gui/components/general/PoweredBy.vue b/packages/nc-gui/components/general/PoweredBy.vue
index 2173e43623..5ae00a4da0 100644
--- a/packages/nc-gui/components/general/PoweredBy.vue
+++ b/packages/nc-gui/components/general/PoweredBy.vue
@@ -1,5 +1,7 @@
@@ -9,7 +11,7 @@ import { openLink } from '#imports'
@click="openLink('https://github.com/nocodb/nocodb')"
>
-
+
Powered by NocoDB