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 @@