From af126607bc0d4823fc8715f9af0acf51bee0f801 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 2 May 2023 22:43:15 +0200 Subject: [PATCH] chore(docs): remove animation and confetti Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --- docs/components/home/Banner.vue | 7 +- docs/components/home/flows/Intro.vue | 222 +-------------------------- docs/package.json | 2 - 3 files changed, 7 insertions(+), 224 deletions(-) diff --git a/docs/components/home/Banner.vue b/docs/components/home/Banner.vue index dbc75357..468c2d0f 100644 --- a/docs/components/home/Banner.vue +++ b/docs/components/home/Banner.vue @@ -3,9 +3,9 @@ import { $fetch } from 'ohmyfetch' import Star from '~icons/carbon/star' import Download from '~icons/carbon/download' -const starGazersCount = ref(1000) +const starGazersCount = ref(0) -const downloadCount = ref(10000) +const downloadCount = ref(0) const starGazersCountTransitioned = useTransition(starGazersCount, { duration: 1000, @@ -21,6 +21,9 @@ const downloadCountTransitioned = useTransition(downloadCount, { }, }) +starGazersCount.value = 3000 +downloadCount.value = 50000 + Promise.all([ $fetch('https://api.github.com/repos/bcakmakoglu/vue-flow?page=$i&per_page=100').then((data) => { starGazersCount.value = data.stargazers_count diff --git a/docs/components/home/flows/Intro.vue b/docs/components/home/flows/Intro.vue index 0d4b9276..e56c8b72 100644 --- a/docs/components/home/flows/Intro.vue +++ b/docs/components/home/flows/Intro.vue @@ -1,18 +1,13 @@