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

Commit 6db3107

Browse files
Merge pull request #234 from codewizardshq/update-vote-text
quick update of VoteWoah and router to display appropriate text
2 parents edf5ed3 + 3a0e12a commit 6db3107

File tree

2 files changed

+27
-14
lines changed

2 files changed

+27
-14
lines changed

src/plugins/router.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ const routes = [
134134
path: "voting",
135135
name: "voting",
136136
component: () => {
137-
return import("@/views/Voting/VotingOver");
137+
// return import("@/views/Voting/VotingOver");
138+
return import("@/views/Voting/VoteWoah");
138139
// if (isChallengeClosed()) {
139140
// return import("@/views/Voting/Ballot");
140141
// } else {

src/views/Voting/VoteWoah.vue

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<template>
2-
<v-container>
3-
<v-row>
4-
<v-col>
5-
<h2 class="ballot-header">
6-
Woah, voting has not started yet!
7-
</h2>
8-
<p>
9-
Our challengers are hard at work. Come back on April 26 5 PM CT to
10-
vote for the winner.
11-
</p>
12-
</v-col>
13-
</v-row>
14-
</v-container>
2+
<div class="vote-woah-container">
3+
<v-container>
4+
<v-row>
5+
<v-col class="inside-div">
6+
<h2 class="ballot-header">
7+
Woah, voting has not started yet!
8+
</h2>
9+
<p>
10+
Our challengers are hard at work. Come back on May 3 to vote for the
11+
winner.
12+
</p>
13+
</v-col>
14+
</v-row>
15+
</v-container>
16+
</div>
1517
</template>
1618

1719
<script>
@@ -21,6 +23,16 @@ export default {
2123
</script>
2224

2325
<style lang="scss" scoped>
26+
.vote-woah-container {
27+
height: 100%;
28+
width: 100%;
29+
background: url("/images/space-background.jpg");
30+
}
31+
32+
.inside-div {
33+
background: gray;
34+
}
35+
2436
h2 {
2537
text-align: center;
2638
color: #0d1d41;

0 commit comments

Comments
 (0)