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

Commit 39ea447

Browse files
add /mission route and MissionPrep component
1 parent cd7d38a commit 39ea447

File tree

2 files changed

+132
-0
lines changed

2 files changed

+132
-0
lines changed

src/plugins/router.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ const routes = [
228228
path: "voting-rules",
229229
name: "voting-rules",
230230
component: () => import("@/views/Public/VotingRules")
231+
},
232+
{
233+
path: "mission",
234+
name: "mission",
235+
component: () => import("@/views/Public/MissionPrep")
231236
}
232237
]
233238
},

src/views/Public/MissionPrep.vue

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
<template>
2+
<v-container class="rules-container">
3+
<v-row align="center" justify="center">
4+
<v-col cols="12" sm="12" md="12">
5+
<page-card>
6+
<template #title>
7+
<v-toolbar-title>Final Mission Prep</v-toolbar-title>
8+
</template>
9+
<div class="faq">
10+
<v-card-text class="top-text">
11+
Adventurers, it’s almost time to battle Glorm. Before you do, read
12+
this final mission brief from the Allsnacks Alliance with details
13+
on your final feat. Please read through it carefully, as it
14+
contains information critical to your success in returning the
15+
Xolcron Crystal.
16+
</v-card-text>
17+
18+
<h2>**URGENT COMMUNICATION**</h2>
19+
20+
<v-card-text>
21+
<p>Date: 25 Apr 2021</p>
22+
<p>Mission Title: CLASSIFIED</p>
23+
<p>
24+
ELECTRONICALLY SIGNED: Allsnacks Alliance for Grand Poomba Fizzy
25+
</p>
26+
</v-card-text>
27+
<h3>Situation Report:</h3>
28+
<v-card-text>
29+
Now that you have gathered enough fuel throughout your 21-day
30+
journey across the galaxy, you can successfully infiltrate Glorm’s
31+
Galactic Garrison. Getting there is the easy part. Then, you’ll
32+
come face to face with Glorm. Glorm is the only thing standing
33+
between you and your objective - the Xolcron Crystal.
34+
</v-card-text>
35+
36+
<v-card-text>
37+
To retrieve it, you’ll need to write a program in either Python or
38+
JavaScript. Details about the program you must write will be
39+
provided to you when you reach the Garrison on 28 Apr 2021. You
40+
will be given an online area to write and submit your code, and
41+
you will also be told if your answer is correct or incorrect. You
42+
will have until 30 Apr 2021 at 11:59 PM Central Time to submit
43+
your program.
44+
</v-card-text>
45+
<v-card-text>
46+
After you’ve submitted your program, citizens across the galaxy
47+
will have an opportunity to vote for the program they like the
48+
best. Public voting will be available from 3 May 2021 at 8:00 AM
49+
Central Time to 7 May 2021 at 11:59 PM Central Time. A link will
50+
be provided to see how many votes you’ve obtained throughout this
51+
time.
52+
</v-card-text>
53+
54+
<v-card-text>
55+
After public voting concludes, the Galactic Wizard Panel (GWP)
56+
will convene. Made up of CodeWizardsHQ teachers, the GWP will
57+
review the submissions of the ten (10) adventurers with the
58+
highest number of votes. The Galactic Wizard Panel will announce
59+
the winner of the 2021 CodeWizardsHQ Code Challenge on 14 May
60+
2021.
61+
</v-card-text>
62+
<h3>How you will be evaluated by the Galactic Wizard Panel:</h3>
63+
<v-card-text>
64+
If your code is in the top ten of vote-getters, you will be
65+
eligible for the grand prize. The Galactic Wizard Panel (GWP) is
66+
looking for the most well-rounded submission. The GWP will
67+
evaluate your work based on program execution time and code
68+
quality. Each program will be timed on how long it takes your
69+
program to solve the problem, and you should aim to submit a
70+
program that has the lowest execution time possible, while also
71+
following the instructions for the Boss Level. The disparity in
72+
program execution time between Python and JavaScript will be
73+
considered.. You should also conduct research online about code
74+
quality to make sure your submission is well-rounded and follows
75+
coding best practices.
76+
</v-card-text>
77+
78+
<img
79+
src="https://codewizardshq.com/wp-content/uploads/2021/04/rubric-challenge.jpg"
80+
/>
81+
82+
<v-card-text>
83+
Good luck, adventurer!
84+
</v-card-text>
85+
86+
<h2>**END OF MESSAGE**</h2>
87+
</div>
88+
</page-card>
89+
</v-col>
90+
</v-row>
91+
<br />
92+
<br />
93+
</v-container>
94+
</template>
95+
96+
<script>
97+
import PageCard from "@/components/PageCard";
98+
99+
export default {
100+
name: "mission",
101+
components: {
102+
PageCard
103+
}
104+
};
105+
</script>
106+
107+
<style lang="scss" scoped>
108+
.rules-container {
109+
margin-top: 25px;
110+
111+
.top-text {
112+
width: 700px;
113+
font-family: "Oxygen";
114+
}
115+
116+
.faq {
117+
display: flex;
118+
flex-direction: column;
119+
align-items: center;
120+
font-family: "Courier New", Courier, monospace;
121+
122+
h3 {
123+
text-decoration: underline;
124+
}
125+
}
126+
}
127+
</style>

0 commit comments

Comments
 (0)