- Added more pages and fixed some links (schools, single spell, and login page)

This commit is contained in:
Alexis
2020-07-03 22:19:31 +02:00
parent e6f0ee38aa
commit 5d1b44cf6d
10 changed files with 104 additions and 37 deletions

View File

@@ -5,7 +5,7 @@
<div class="spellcard bg-white p-4 rounded text-dark shadow" style="border-left-width:4px;border-left-style:solid;">
<div :title="spell.name" class="h3 font-display font-weight-bold text-wrap word-break" style="line-height:100%;">
<a class="text-decoration-none" href="#">{{spell.name}}</a>
<router-link :to="`/sorts/${spell.id}`" class="text-decoration-none">{{spell.name}}</router-link>
</div>
<div>
@@ -14,7 +14,7 @@
<div class="text-muted d-inline-block">
<span v-for="(school,index) in spell.schools" :key="index">
<span v-if="index!=0">, </span>
<a :href="'/school/'+school.id" class="text-secondary">{{school.name}}</a>
<router-link :to="`ecoles/${school.id}`" class="text-secondary">{{school.name}}</router-link>
</span>
</div>
</div>