Feat/highscore page #30

Merged
KevinMidboe merged 6 commits from feat/highscore-page into master 2020-09-08 08:56:56 +00:00
6 changed files with 314 additions and 10 deletions

View File

@@ -0,0 +1,232 @@
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<template>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<h1 class="text-center">Vinlottis highscore 🏆🍷</h1>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="flex row">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="highscore">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="flex column">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<h3 class="margin-bottom-0">Finn ditt navn:</h3>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<input v-model="highscoreFilter" placeholder="Filtrer på navn" class="margin-bottom-sm" />
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<ol v-if="highscore.length > 0">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<li v-for="person in highscore" :key="person" @click="selectWinner(person)">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
{{ person.name }} - {{ person.wins.length }}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</li>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</ol>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div v-if="highscore.length != highscoreResponse.length" class="flex justify-center align-center">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<i class="text-center vin-link cursor-pointer" @click="resetFilter" @keyup.space="resetFilter"
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
role="button" aria-pressed="false" tabindex="0">reset filter</i>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="winners-vines" v-if="selectedWinner">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<h1>{{ selectedWinner.name }}</h1>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<h2 class="margin-bottom-sm">Vinnende farger:</h2>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="flex row wrap">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div v-for="win in selectedWinner.wins"
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
class="color-box" :class="win.color"
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
:style="{ transform: 'rotate(' + getRotation() + 'deg)' }">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<h2 class="margin-top-md margin-bottom-0">Flasker vunnet:</h2>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="flex column wrap">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div v-for="win in selectedWinner.wins">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="date-won"><b>{{ humanReadableDate(win.date) }}</b> - {{ daysAgo(win.date) }} dager siden</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<br/>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="left">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="margin-bottom-md"><b>Vunnet med farge:</b></div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="color-box" :class="win.color"
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
:style="{ transform: 'rotate(' + getRotation() + 'deg)' }"></div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div class="left">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<Wine :wine="win.wine"></Wine>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<div v-else class="center">
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<h1>👈 Se dine vinn, tykk navnet ditt</h1>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</div>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</template>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<script>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
import { highscoreStatistics } from "@/api";
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
import Wine from "@/ui/Wine";
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
export default {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
components: { Wine },
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
data() {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
return {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
highscoreResponse: [],
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
highscore: [],
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
highscoreFilter: '',
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
selectedWinner: null
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
},
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
async mounted() {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
let response = await highscoreStatistics();
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
response.sort((a, b) => {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
return a.wins.length > b.wins.length ? -1 : 1;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
});
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
response = response.filter(
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
person => person.name != null && person.name != ""
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
);
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
this.highscoreResponse = response
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
this.highscore = this.highscoreResponse;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
},
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
watch: {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
highscoreFilter(val) {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
if (val.length) {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
this.highscore = this.highscoreResponse.filter(person => person.name.toLowerCase().includes(val))
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
} else {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
this.highscore = this.highscoreResponse
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
},
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
methods: {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
resetFilter() {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
this.highscore = this.highscoreResponse;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
this.highscoreFilter = '';
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
document.getElementsByTagName('input')[0].focus();
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
},
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
humanReadableDate(date) {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
const options = { year: 'numeric', month: 'long', day: 'numeric' };
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
return new Date(date).toLocaleDateString(undefined, options);
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
},
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
daysAgo(date) {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
const day = 24 * 60 * 60 * 1000;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
return Math.round(Math.abs((new Date() - new Date(date)) / day));
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
},
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
selectWinner(winner) {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
if (this.selectedWinner != null && this.selectedWinner["name"] == winner["name"]) {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
this.selectedWinner = null;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
} else {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
let newestFirst = winner.wins.sort((a, b) => a.date < b.date);
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
winner.wins = newestFirst;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
this.selectedWinner = { ...winner };
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
},
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
getRotation: function() {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
let num = Math.floor(Math.random() * 12.5);
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
let neg = Math.floor(Math.random() * 2);
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
return neg == 0 ? -num : num;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
};
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</script>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
<style lang="scss" scoped>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
@import "../styles/media-queries.scss";
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
@import "../styles/variables.scss";
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
h1 {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
text-align: center;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.highscore {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
width: max-content;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
margin: 2rem;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.winners-vines {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
margin: 2rem;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.left {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
float: left;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.center {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
background-color: $primary;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
padding: 0.5rem 1rem;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
border-radius: 8px;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
font-style: italic;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
@include desktop {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
align-self: flex-start;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
margin-top: 20vh;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.date-won {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
font-size: 1.3rem;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
margin-top: 2rem;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.color-box {
KevinMidboe commented 2020-09-07 08:46:23 +00:00 (Migrated from github.com)
Review

Move this to more general place and remove other local references to this class.

Move this to more general place and remove other local references to this class.
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
width: 100px;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
height: 100px;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
margin: 10px;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
-webkit-mask-image: url(/../../public/assets/images/lodd.svg);
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
background-repeat: no-repeat;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
mask-image: url(/../../public/assets/images/lodd.svg);
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
-webkit-mask-repeat: no-repeat;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
mask-repeat: no-repeat;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
@include mobile {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
width: 60px;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
height: 60px;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
margin: 10px;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.green {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
background-color: $light-green;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.blue {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
background-color: $light-blue;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.yellow {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
background-color: $light-yellow;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
.red {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
background-color: $light-red;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
div {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
font-family: Arial;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
ol {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
padding-left: 1.375rem !important;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
margin-left: 0;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
margin: 0 0 1.5em;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
padding: 0;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
counter-reset: item;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
& > li {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
cursor: pointer;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
padding: 2.5px 0;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
width: max-content;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
margin: 0 0 0 -1.25rem;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
padding: 0;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
list-style-type: none;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
counter-increment: item;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
&:before {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
display: inline-block;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
width: 1em;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
padding-right: 0.5rem;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
font-weight: bold;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
text-align: right;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
content: counter(item) ".";
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
@include mobile {
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
padding: 5px 0;
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
}
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed
</style>
Adrianht commented 2020-09-08 08:06:10 +00:00 (Migrated from github.com)
Review

remove

remove
KevinMidboe commented 2020-09-08 08:25:13 +00:00 (Migrated from github.com)
Review

Tyty, fixed

Tyty, fixed

View File

@@ -11,6 +11,7 @@ import AdminPage from "@/components/AdminPage";
import WinnerPage from "@/components/WinnerPage";
import LotteryPage from "@/components/LotteryPage";
import HistoryPage from "@/components/HistoryPage";
import HighscorePage from "@/components/HighscorePage";
import RequestWine from "@/components/RequestWine";
import AllRequestedWines from "@/components/AllRequestedWines";
@@ -56,6 +57,10 @@ const routes = [
path: "/history",
component: HistoryPage
},
{
path: "/highscore",
component: HighscorePage
},
{
path: "/request",
component: RequestWine

View File

@@ -157,6 +157,44 @@ textarea {
}
}
.cursor {
&-pointer {
cursor: pointer;
}
}
.text-center {
text-align: center;
}
.vin-link {
font-weight: bold;
border-bottom: 1px solid #ff5fff;
font-size: 1rem;
margin-left: 15px;
}
.margin-top {
&-md {
margin-top: 3rem;
}
}
.margin-bottom {
&-md {
margin-bottom: 3rem;
}
&-sm {
margin-bottom: 1rem;
}
&-0 {
margin-bottom: 0;
}
}
.no-margin {
margin: 0 !important;
}

View File

@@ -1,7 +1,23 @@
.flex {
display: flex;
&-column {
& .column {
flex-direction: column;
}
& .row {
flex-direction: row;
}
& .wrap {
flex-wrap: wrap;
}
&.justify-center {
justify-content: center;
}
&.align-center {
align-items: center;
}
}

View File

@@ -1,6 +1,10 @@
<template>
<div class="highscores" v-if="highscore.length > 0">
<h3>Topp 10 vinnere</h3>
<h3>
<router-link to="highscore">
Topp 10 vinnere <span class="vin-link">Se alle &gt;</span>
</router-link>
</h3>
<ol>
<li v-for="person in highscore" :key="person">
{{ person.name }} - {{ person.wins.length }}
@@ -39,6 +43,22 @@ div {
flex-direction: column;
}
h3 {
text-align: left;
& a {
text-decoration: none;
color: #333333;
&:focus,
&:active,
&:visited {
text-decoration: none;
color: #333333;
}
}
}
ol {
padding-left: 1.375rem !important;
margin-left: 0;

View File

@@ -2,7 +2,7 @@
<div v-if="wines.length > 0">
<h3>
<router-link to="viner"
>Topp 10 viner <span class="link">Se alle &gt;</span></router-link
>Topp 10 viner <span class="vin-link">Se alle &gt;</span></router-link
>
</h3>
<ol>
@@ -185,13 +185,6 @@ export default {
}
}
.link {
font-weight: bold;
border-bottom: 1px solid #ff5fff;
font-size: 1rem;
margin-left: 15px;
}
.close-modal {
position: absolute;
top: 10px;