Skip to content

Commit

Permalink
Updated website with new info
Browse files Browse the repository at this point in the history
  • Loading branch information
itsMikeLowrey committed Apr 20, 2021
1 parent c0e2bea commit 49c00da
Show file tree
Hide file tree
Showing 7 changed files with 1,664 additions and 1,864 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ module.exports = {
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'off' : 'off'
'no-debugger': process.env.NODE_ENV === 'production' ? 'off' : 'off',
'template-curly-spacing': 'off'
},
parserOptions: {
parser: 'babel-eslint'
Expand Down
7 changes: 4 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,7 @@ export default {
lessons: 2,
specificLesson: 2,
blog: 3,
pastTrivia: 4,
faq: 5
faq: 4
},
footerLinks: {
triviaShow: [
Expand Down Expand Up @@ -230,6 +229,7 @@ export default {
},
methods: {
getNaVColor: function (item, index) {
// console.log(index, item)
if (index === this.currentRoute && index !== 1) {
return 'grey darken-2'
} else {
Expand All @@ -240,12 +240,13 @@ export default {
setTimeout(() => { location.href = hashtag }, TIMEOUT) // eslint-disable-line
},
goToPage: function (index) {
console.log(this.$route)
// console.log(this.$route)
// this.route.push({ path: this.opts[index].link })
}
},
watch: {
$route (to, from) {
// console.log(this.linkObject[to.name])
this.currentRoute = this.linkObject[to.name]
}
}
Expand Down
6 changes: 2 additions & 4 deletions src/assets/trivia.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const info = {
subject: 'History of Money',
startTime: 1613785401,
subject: 'Monero Cool Facts',
startTime: 1620349200,
prizeAmount: 100,
donatationAmount: 100,
paymentMethod: 'Monero',
numberOfQuestions: '10',
timeToAnswer: '10 Seconds'
}
Expand Down
7 changes: 3 additions & 4 deletions src/views/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
'text-h5': $vuetify.breakpoint.smAndDown}">
<h2 class="font-weight-regular white--text" style="line-height: 100%;">
Test Your Crypto Smarts 🤓
<!-- If we want freedom and privacy, we must persuade others that these are worth having. – Hal Finney -->
</h2>
</div>
</v-col>
Expand Down Expand Up @@ -152,10 +151,10 @@
:class="{'text-h5': $vuetify.breakpoint.mdAndUp, 'text-h4': $vuetify.breakpoint.smAndDown}">
Winner Pot Size: <br> {{prizeAmount}} USD
</div>
<div class="text-center mt-3"
<!-- <div class="text-center mt-3"
:class="{'text-h5': $vuetify.breakpoint.mdAndUp, 'text-h4': $vuetify.breakpoint.smAndDown}">
Donation Pot Size: <br> {{donationAmount}} USD
</div>
</div> -->
<div class="text-center mt-3"
:class="{'text-h5': $vuetify.breakpoint.mdAndUp, 'text-h4': $vuetify.breakpoint.smAndDown}">
Subject: <br> {{subject}}
Expand Down Expand Up @@ -367,7 +366,7 @@ export default {
if (minutes < 10) {
minutes = '0' + minutes
}
return hour + ':' + minutes + ' ' + ampm + ' ' + day + ', ' + month
return hour + ':' + minutes + ' ' + ampm + ' ' + month + ' ' + day
},
tillShowTime: function () {
const distance = this.difference
Expand Down
9 changes: 4 additions & 5 deletions src/views/trivia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,11 @@ export default {
buttonColor: 'rgb(29, 66, 76)',
intro: `We have trivia shows where you can win real crypto.
You can view our past trivia shows to see how you would have fared and I'll catch you at the next one.`,
howItWorks: ` The trivia will be held in our wallet. In order to win our trivia show you must answer all questions correctly.
howItWorks: ` In order to win our trivia show you must answer all questions correctly.
The pot will be divided by the number of winners. For example, if 5 people answer all the questions
correctly and the potsize is 50 USD, each winner
will receive around 10 USD in crypto. I will send payments as soon as I process all the trivia show data;
I am aiming to get them out the next day. We also cap the amount that a player can win by
30 usd as a way to cut down on cheating and keep our focus on education. More detailed info can be in wallet.`,
I am aiming to get them out the next day.`,
mainImg: 'https://res.cloudinary.com/dylevfpbl/image/upload/v1609688189/guidingLanding/pexels-katerina-holmes-5905434.jpg'
}),
components: {
Expand All @@ -98,7 +97,7 @@ export default {
showFacts: function () {
const info = []
info.push([this.triviaInfo.prizeAmount + ' USD', 'Winners Pot', 'cash'])
info.push([this.triviaInfo.donatationAmount + ' USD', 'Donation Pot', 'gift'])
// info.push([this.triviaInfo.donatationAmount + ' USD', 'Donation Pot', 'gift'])
info.push([this.nextShowDate, 'Next Show', 'calendar-month'])
info.push([this.triviaInfo.subject, 'Subject', 'book'])
info.push([this.triviaInfo.numberOfQuestions, 'Questions', 'help-circle'])
Expand All @@ -123,7 +122,7 @@ export default {
if (minutes < 10) {
minutes = '0' + minutes
}
return hour + ':' + minutes + ' ' + ampm + ' ' + day + ', ' + month
return hour + ':' + minutes + ' ' + ampm + ' ' + month + ' ' + day
},
heroTextSize: function () {
if (this.$vuetify.breakpoint.mdAndUp) {
Expand Down
Empty file added tsconfig.json
Empty file.
Loading

0 comments on commit 49c00da

Please sign in to comment.