Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/images/website-banner-challenge-2021.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions src/views/Voting/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,3 @@ export default {
}
};
</script>

<style lang="scss" scoped>
.voting-main {
background: white;
}
</style>
20 changes: 13 additions & 7 deletions src/views/Voting/Ballot.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div class="ballot-wrapper">
<div class="image first pb-9">
<v-container>
<v-row class="content">
Expand All @@ -12,13 +12,15 @@

<div style="max-width:600px; margin: auto;">
<h2>
Vote For The Winner of The Dragon Quest
Vote For The Top 10 Challengers
</h2>
<div>
Congratulations to all {{ totalEntries }} finalists, kid coders
who have correctly solved 21 levels of coding questions! Each
challenger below has also correctly answered our boss question
correctly and qualified for the grand prize.
Congratulations to all of our finalists! Each challenger below
has correctly answered our boss question and qualified for the
grand prize. Vote for your favorite hero below. The challengers
with the top 10 total votes will have their code graded by the
Galactic Wizard Panel (a team of CodeWizardsHQ instructors) to
win the $100 grand prize. Voting takes place May 3 - 7.
</div>
</div>
</v-col>
Expand Down Expand Up @@ -293,6 +295,10 @@ export default {
</script>

<style lang="scss" scoped>
.ballot-wrapper {
background-color: white;
}

h2 {
text-align: center;
color: #0d1d41;
Expand All @@ -310,7 +316,7 @@ h2 {
$height: 550px;
background-size: cover;
min-height: $height;
background-image: url("https://codewizardshq.com/wp-content/uploads/2020/01/landing-bg.jpg");
background-image: url("/images/website-banner-challenge-2021.png");
&:after {
content: "";
display: block;
Expand Down
35 changes: 14 additions & 21 deletions src/views/Voting/VoteWoah.vue
Original file line number Diff line number Diff line change
@@ -1,34 +1,27 @@
<template>
<div class="vote-woah-container">
<v-container>
<v-row>
<v-col class="inside-div">
<h2 class="ballot-header">
Woah, voting has not started yet!
</h2>
<p>
Our challengers are hard at work. Come back on May 3 to vote for the
winner.
</p>
</v-col>
</v-row>
</v-container>
</div>
<v-container>
<v-row>
<v-col class="inside-div">
<h2 class="ballot-header">
Woah, voting has not started yet!
</h2>
<p>
Our challengers are hard at work. Come back on May 3 to vote for the
winner.
</p>
</v-col>
</v-row>
</v-container>
</template>

<script>
// TODO: this and VotingOver should be a single component with props
export default {
name: "VotingWoah"
};
</script>

<style lang="scss" scoped>
.vote-woah-container {
height: 100%;
width: 100%;
background: url("/images/space-background.jpg");
}

.inside-div {
background: gray;
}
Expand Down
13 changes: 9 additions & 4 deletions src/views/Voting/VotingOver.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-container>
<v-row>
<v-col>
<v-col class="inside-div">
<h2 class="ballot-header">
Voting is over!
</h2>
Expand All @@ -14,23 +14,28 @@
</template>

<script>
// TODO: this and VoteWoah should be a single component with props
export default {
name: 'VotingWoah',
name: "VotingWoah"
};
</script>

<style lang="scss" scoped>
.inside-div {
background: gray;
}

h2 {
text-align: center;
color: #0d1d41;
font-family: 'Barlow', sans-serif;
font-family: "Barlow", sans-serif;
font-weight: bold;
margin-bottom: 12px;
}

p {
text-align: center;
color: #0d1d41;
font-family: 'Barlow', sans-serif;
font-family: "Barlow", sans-serif;
}
</style>