From b85a24b88c91c951b15a27273151ab425979ca03 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sat, 1 Oct 2022 11:46:10 +0200 Subject: [PATCH] refactor(nc-gui): update logo animation --- packages/nc-gui/assets/style.scss | 2 +- packages/nc-gui/components/general/NocoIcon.vue | 14 +++++++++++--- packages/nc-gui/pages/forgot-password.vue | 5 +---- packages/nc-gui/pages/index/index/[projectId].vue | 2 +- .../nc-gui/pages/index/index/create-external.vue | 2 +- packages/nc-gui/pages/index/index/create.vue | 2 +- packages/nc-gui/pages/signin.vue | 5 +---- packages/nc-gui/pages/signup/[[token]].vue | 5 +---- 8 files changed, 18 insertions(+), 19 deletions(-) diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index f1d7e48405..8efde1f0d2 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -100,7 +100,7 @@ a { } .animated-bg-gradient { - background: linear-gradient(122deg, #6f3381, #81c7d4, #fedfe1, #9ee59e); + background: linear-gradient(122deg, #6f3381, #ec4899, #fedfe1, #4351e8); background-size: 800% 800%; -webkit-animation: gradient 4s ease infinite; diff --git a/packages/nc-gui/components/general/NocoIcon.vue b/packages/nc-gui/components/general/NocoIcon.vue index b7d54dd9e9..8b2ae0a1bd 100644 --- a/packages/nc-gui/components/general/NocoIcon.vue +++ b/packages/nc-gui/components/general/NocoIcon.vue @@ -2,13 +2,21 @@ interface Props { width?: number height?: number + animate?: boolean } -const { width = 90, height = 90 } = defineProps() +const { width = 90, height = 90, animate = false } = defineProps() diff --git a/packages/nc-gui/pages/forgot-password.vue b/packages/nc-gui/pages/forgot-password.vue index 5bb1ce1232..cb5e1e6798 100644 --- a/packages/nc-gui/pages/forgot-password.vue +++ b/packages/nc-gui/pages/forgot-password.vue @@ -55,10 +55,7 @@ function resetError() {
- +

{{ $t('title.resetPassword') }}

diff --git a/packages/nc-gui/pages/index/index/[projectId].vue b/packages/nc-gui/pages/index/index/[projectId].vue index d8d529348a..d57bfb1d7f 100644 --- a/packages/nc-gui/pages/index/index/[projectId].vue +++ b/packages/nc-gui/pages/index/index/[projectId].vue @@ -68,7 +68,7 @@ onMounted(async () => {
- +
{
- +
{
- +
- +

{{ $t('general.signIn') }}

diff --git a/packages/nc-gui/pages/signup/[[token]].vue b/packages/nc-gui/pages/signup/[[token]].vue index 52e6905ca4..918482b20e 100644 --- a/packages/nc-gui/pages/signup/[[token]].vue +++ b/packages/nc-gui/pages/signup/[[token]].vue @@ -85,10 +85,7 @@ function resetError() {
- +

{{ $t('general.signUp') }}