Add navigation to the banner #25

Merged
Adrianht merged 7 commits from feat/navigation-in-header into master 2020-09-07 14:57:40 +00:00
2 changed files with 0 additions and 21 deletions
Showing only changes of commit fe5f9d2124 - Show all commits

View File

@@ -49,9 +49,6 @@ export default {
]
};
KevinMidboe commented 2020-09-02 08:10:33 +00:00 (Migrated from github.com)
Review

Remove

Remove
KevinMidboe commented 2020-09-02 08:13:10 +00:00 (Migrated from github.com)
Review

We could toggle with class mobile-only/desktop-only.

We could toggle with class `mobile-only`/`desktop-only`.
Adrianht commented 2020-09-07 14:33:29 +00:00 (Migrated from github.com)
Review

fixed

fixed
Adrianht commented 2020-09-07 14:33:39 +00:00 (Migrated from github.com)
Review

fixed

fixed
},
beforeMount(){
this.handleView()
},
mounted() {
console.log("SNEAKY PETE!");
this.$on("service-worker-updated", () => {
@@ -99,10 +96,8 @@ body {
</style>
<style scoped>
.app-container {
background-color: white;
min-height: 100vh;
}
</style>

View File

@@ -43,9 +43,6 @@ export default {
minutes: 0,
seconds: 0,
distance: 0,
enabled: false,
code: "38384040373937396665",
codeDone: "",
interval: null,
};
},
@@ -79,19 +76,6 @@ export default {
}
return num;
},
listenerFunction: function(event) {
this.codeDone += event.keyCode;
if (this.code.substring(0, this.codeDone.length) == this.codeDone) {
if (this.code == this.codeDone && !this.enabled) {
this.enabled = true;
this.initialize();
this.countdown();
this.codeDone = "";
}
} else {
this.codeDone = "";
}
},
initialize: function() {
let d = new Date();
let dayOfLottery = __DATE__;