File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 16
16
"register-service-worker" : " ^1.7.2" ,
17
17
"vue" : " ^3.2.13" ,
18
18
"vue-codemirror" : " ^6.1.1" ,
19
+ "vue-confetti-explosion" : " ^1.0.2" ,
19
20
"vue-router" : " ^4.0.3"
20
21
},
21
22
"devDependencies" : {
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div >
2
+ <div class = " challenges-container " >
3
3
<h2 class =" is-center" >Challenges</h2 >
4
+ <ConfettiExplosion v-if =" completed == 100" :particleCount =" 350" />
4
5
<ProgressBar :bgcolor =" '#6a1b9a'" :completed =" completed" />
5
6
<div class =" row" >
6
7
<ProblemCard
@@ -19,11 +20,13 @@ import ProgressBar from "@/components/ProgressBar.vue";
19
20
import { problems } from " @/mocks/problems" ;
20
21
import { defineComponent , reactive , computed } from " vue" ;
21
22
import { useRoute , useRouter } from " vue-router" ;
23
+ import ConfettiExplosion from " vue-confetti-explosion" ;
22
24
23
25
export default defineComponent ({
24
26
components: {
25
27
ProblemCard,
26
28
ProgressBar,
29
+ ConfettiExplosion,
27
30
},
28
31
setup () {
29
32
let problemsList = reactive (problems);
Original file line number Diff line number Diff line change @@ -8576,6 +8576,11 @@ vue-component-type-helpers@^1.8.21:
8576
8576
resolved "https://registry.yarnpkg.com/vue-component-type-helpers/-/vue-component-type-helpers-1.8.27.tgz#e816c82dcffac8bca58833c120ba395c325dfa68"
8577
8577
integrity sha512-0vOfAtI67UjeO1G6UiX5Kd76CqaQ67wrRZiOe7UAb9Jm6GzlUr/fC7CV90XfwapJRjpCMaZFhv1V0ajWRmE9Dg==
8578
8578
8579
+ vue-confetti-explosion@^1.0.2 :
8580
+ version "1.0.2"
8581
+ resolved "https://registry.yarnpkg.com/vue-confetti-explosion/-/vue-confetti-explosion-1.0.2.tgz#84b873d400cf0301814bdd71329daa1ac741fd86"
8582
+ integrity sha512-80OboM3/6BItIoZ6DpNcZFqGpF607kjIVc5af56oKgtFmt5yWehvJeoYhkzYlqxrqdBe0Ko4Ie3bWrmLau+dJw==
8583
+
8579
8584
vue-eslint-parser@^8.0.1 :
8580
8585
version "8.3.0"
8581
8586
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz#5d31129a1b3dd89c0069ca0a1c88f970c360bd0d"
You can’t perform that action at this time.
0 commit comments