From 30ee4aef8b1793f8862a92628939f9b63ce2f461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 24 Jan 2020 09:51:24 +0100 Subject: [PATCH 1/6] KONMAIIIIIIIIIIIIIIIIII --- src/components/VinlottisPage.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/VinlottisPage.vue b/src/components/VinlottisPage.vue index 103bfea..95e6d74 100644 --- a/src/components/VinlottisPage.vue +++ b/src/components/VinlottisPage.vue @@ -24,6 +24,7 @@ + @@ -36,6 +37,7 @@ import WinGraph from "@/ui/WinGraph"; import Banner from "@/ui/Banner"; import Wines from "@/ui/Wines"; import Vipps from "@/ui/Vipps"; +import Countdown from "@/ui/Countdown"; export default { components: { @@ -45,7 +47,8 @@ export default { WinGraph, Banner, Wines, - Vipps + Vipps, + Countdown }, mounted() { if (window.location.hostname == "localhost") { From 665013d7d4fd1cb1c0c65ed17d9b57009ff88884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 24 Jan 2020 09:51:36 +0100 Subject: [PATCH 2/6] Forgot the file --- src/ui/Countdown.vue | 130 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 src/ui/Countdown.vue diff --git a/src/ui/Countdown.vue b/src/ui/Countdown.vue new file mode 100644 index 0000000..1cec422 --- /dev/null +++ b/src/ui/Countdown.vue @@ -0,0 +1,130 @@ + + + + + \ No newline at end of file From 82216ac589070b797d51f69d276bdce4796377fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 24 Jan 2020 09:54:32 +0100 Subject: [PATCH 3/6] i am an idiot --- src/ui/Countdown.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/ui/Countdown.vue b/src/ui/Countdown.vue index 1cec422..f45e80f 100644 --- a/src/ui/Countdown.vue +++ b/src/ui/Countdown.vue @@ -3,12 +3,13 @@

{{ days }} dager,  - {{pad(hours)}}: - {{pad(minutes)}}: - {{pad(seconds)}} + {{ pad(hours) }}: {{ pad(minutes) }}: + {{ pad(seconds) }}

X
-

Lotteriet har begynt!

+

Lotteriet har begynt!

@@ -41,7 +42,7 @@ export default { }, listenerFunction: function(event) { this.codeDone += event.keyCode; -´ if (this.code.substring(0, this.codeDone.length) == this.codeDone) { + if (this.code.substring(0, this.codeDone.length) == this.codeDone) { if (this.code == this.codeDone && !this.enabled) { this.enabled = true; this.initialize(); @@ -127,4 +128,4 @@ h2 { align-items: center; font-size: 4rem; } - \ No newline at end of file + From 783bc641af85012f0a7f8e0a1d7b922b74e97e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Fri, 24 Jan 2020 09:59:48 +0100 Subject: [PATCH 4/6] Konami everywhere --- src/Vinlottis.vue | 4 +++- src/components/VinlottisPage.vue | 5 +---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Vinlottis.vue b/src/Vinlottis.vue index 6f05391..1b17c94 100644 --- a/src/Vinlottis.vue +++ b/src/Vinlottis.vue @@ -2,14 +2,16 @@
+