Highscore has viewmore link for highscorePage.

This commit is contained in:
2020-09-06 22:34:19 +02:00
parent 2cc5c81df6
commit 9174338621

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;