From 62d7006e0d710ae6a1170ddaaf6232976971cc30 Mon Sep 17 00:00:00 2001 From: Pavel Mironov Date: Wed, 24 Jan 2024 03:04:53 +0100 Subject: [PATCH 1/6] add: transition loader --- app.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/app.vue b/app.vue index 3a779c70..e242b3ca 100644 --- a/app.vue +++ b/app.vue @@ -6,6 +6,7 @@ + From f6ce9ae6f26d9fdfe1d0d64eddda766651a1f1cf Mon Sep 17 00:00:00 2001 From: Pavel Mironov Date: Wed, 24 Jan 2024 03:05:20 +0100 Subject: [PATCH 2/6] chore: remove no-prefetch from navbars --- components/NavbarDesktop.vue | 15 ++------------- components/NavbarMobile.vue | 8 +------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/components/NavbarDesktop.vue b/components/NavbarDesktop.vue index 7eb1043a..5ecea1c2 100644 --- a/components/NavbarDesktop.vue +++ b/components/NavbarDesktop.vue @@ -4,7 +4,7 @@ class="ourBack d-none d-xl-flex pl-1 pr-2 navbar-dark navbar-expand-xl" fixed="top" > - + @@ -228,7 +217,7 @@ Date: Fri, 26 Jan 2024 02:34:08 +0100 Subject: [PATCH 3/6] feat: loader after 5s on slow internet --- .eslintrc.js | 1 + app.vue | 23 +++++++++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 0dccdd3b..8a17ecc2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -55,6 +55,7 @@ module.exports = { useLazyAsyncData: 'readonly', createApp: 'readonly', useNuxtApp: 'readonly', + useLoadingIndicator: 'readonly', useHead: 'readonly', useRouter: 'readonly', ref: 'readonly', diff --git a/app.vue b/app.vue index e242b3ca..86bd8b10 100644 --- a/app.vue +++ b/app.vue @@ -5,11 +5,20 @@ +
+ +
- - - - +
+ + + +
From ff7f1a7a2bbec5453f8d20ace58d301ba330ef67 Mon Sep 17 00:00:00 2001 From: Pavel Mironov Date: Fri, 26 Jan 2024 13:39:11 +0100 Subject: [PATCH 4/6] add: loading indicator component --- components/LoadingIndicator.vue | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 components/LoadingIndicator.vue diff --git a/components/LoadingIndicator.vue b/components/LoadingIndicator.vue new file mode 100644 index 00000000..60377746 --- /dev/null +++ b/components/LoadingIndicator.vue @@ -0,0 +1,32 @@ + + + From 1c8d39e8d47e0b064dc9f6adec8e72eafa6f37b0 Mon Sep 17 00:00:00 2001 From: Pavel Mironov Date: Fri, 26 Jan 2024 13:40:19 +0100 Subject: [PATCH 5/6] Revert "chore: remove no-prefetch from navbars" This reverts commit f6ce9ae6f26d9fdfe1d0d64eddda766651a1f1cf. --- components/NavbarDesktop.vue | 15 +++++++++++++-- components/NavbarMobile.vue | 8 +++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/components/NavbarDesktop.vue b/components/NavbarDesktop.vue index 5ecea1c2..7eb1043a 100644 --- a/components/NavbarDesktop.vue +++ b/components/NavbarDesktop.vue @@ -4,7 +4,7 @@ class="ourBack d-none d-xl-flex pl-1 pr-2 navbar-dark navbar-expand-xl" fixed="top" > - + @@ -217,7 +228,7 @@ Date: Sat, 27 Jan 2024 15:18:13 +0100 Subject: [PATCH 6/6] add: transition animation to loading indicator --- app.vue | 14 ++++++++++++-- components/LoadingIndicator.vue | 18 +++++++++++++++++- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/app.vue b/app.vue index 86bd8b10..c16f689d 100644 --- a/app.vue +++ b/app.vue @@ -6,14 +6,18 @@
- +
@@ -223,3 +227,9 @@ if (process.client) { } ready = true + + diff --git a/components/LoadingIndicator.vue b/components/LoadingIndicator.vue index 60377746..9ee0207e 100644 --- a/components/LoadingIndicator.vue +++ b/components/LoadingIndicator.vue @@ -1,5 +1,9 @@