Highscore has viewmore link for highscorePage.
This commit is contained in:
		| @@ -1,6 +1,10 @@ | |||||||
| <template> | <template> | ||||||
|   <div class="highscores" v-if="highscore.length > 0"> |   <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 ></span> | ||||||
|  |       </router-link> | ||||||
|  |     </h3> | ||||||
|     <ol> |     <ol> | ||||||
|       <li v-for="person in highscore" :key="person"> |       <li v-for="person in highscore" :key="person"> | ||||||
|         {{ person.name }} - {{ person.wins.length }} |         {{ person.name }} - {{ person.wins.length }} | ||||||
| @@ -39,6 +43,22 @@ div { | |||||||
|   flex-direction: column; |   flex-direction: column; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | h3 { | ||||||
|  |   text-align: left; | ||||||
|  |  | ||||||
|  |   & a { | ||||||
|  |     text-decoration: none; | ||||||
|  |     color: #333333; | ||||||
|  |  | ||||||
|  |     &:focus, | ||||||
|  |     &:active, | ||||||
|  |     &:visited { | ||||||
|  |       text-decoration: none; | ||||||
|  |       color: #333333; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | } | ||||||
|  |  | ||||||
| ol { | ol { | ||||||
|   padding-left: 1.375rem !important; |   padding-left: 1.375rem !important; | ||||||
|   margin-left: 0; |   margin-left: 0; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user