Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #247 from codewizardshq/update-final-vote-over
Browse files Browse the repository at this point in the history
style VotingOver, fix width in QuizScroll
  • Loading branch information
jeffreywhitaker authored May 7, 2021
2 parents b48bc77 + d445bbc commit 5ea7111
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/components/QuizScroll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default {

<style lang="scss" scoped>
.quiz-scroll {
width: 550px;
max-width: 550px;
display: flex;
margin: 30px 0;
padding: 10px 0;
Expand Down
43 changes: 18 additions & 25 deletions src/views/Voting/VotingOver.vue
Original file line number Diff line number Diff line change
@@ -1,41 +1,34 @@
<template>
<v-container>
<v-row>
<v-col class="inside-div">
<h2 class="ballot-header">
Voting is over!
</h2>
<QuizScroll class="scroll">
<template v-slot:title>
Voting Level Complete
</template>
<template v-slot:default>
<p>
Please check back soon for the results.
Congratulations to the top 10 students with the most votes! Thank you
everyone for participating. Finalists will receive a notification and
your code will be reviewed by the Galactic Wizard Panel on May 10-13.
Our grand prize winner will be announced May 14.
</p>
</v-col>
</v-row>
<Leaderboard />
</template>
</QuizScroll>
</v-container>
</template>

<script>
// TODO: this and VoteWoah should be a single component with props
import Leaderboard from "@/components/Leaderboard";
import QuizScroll from "@/components/QuizScroll";
export default {
name: "VotingWoah"
name: "VotingOver",
components: { Leaderboard, QuizScroll }
};
</script>

<style lang="scss" scoped>
.inside-div {
background: gray;
}
h2 {
text-align: center;
color: #0d1d41;
font-family: "Barlow", sans-serif;
font-weight: bold;
margin-bottom: 12px;
}
p {
text-align: center;
color: #0d1d41;
font-family: "Barlow", sans-serif;
.scroll {
margin: 0 auto;
}
</style>

0 comments on commit 5ea7111

Please sign in to comment.