feat: Mise à jour
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Simon 2024-02-21 15:41:25 +01:00
parent 13c863d09b
commit 35e970a160
2 changed files with 13 additions and 5 deletions

View File

@ -203,6 +203,7 @@ async function share() {
</div> </div>
<div class="details"> <div class="details">
<p>{{ trad.result_params }} :</p> <p>{{ trad.result_params }} :</p>
<br>
<ul> <ul>
<li v-for="question in questions" :key="question.id"> <li v-for="question in questions" :key="question.id">
{{ question.title }} : {{ question.title }} :
@ -369,12 +370,15 @@ label
.details .details
text-align: left !important text-align: left !important
font-family: serif font-size: 1.1rem
font-size: .9rem
line-height: normal line-height: normal
background: var(--color-highlight-background) background: var(--color-highlight-background)
border: 1px solid var(--color-highlight-text) border: 1px solid var(--color-highlight-text)
padding: 1rem padding: 1rem
background: rgba(0,0,0,0.2)
li
line-height: 1.5rem
.gradient .gradient
padding: 0 1rem padding: 0 1rem

View File

@ -128,7 +128,9 @@ function getTranslation(translations, key) {
<ul> <ul>
<template v-for="(score, index) in scores" :key="score.id"> <template v-for="(score, index) in scores" :key="score.id">
<li v-if="index % 2 === 0"> <li v-if="index % 2 === 0">
<img height="200" :src="`/answers/${score.image}.webp`" /> <router-link :to="{ name: 'score', params: { id: score.id } }">
<img height="200" :src="`/answers/${score.image}.webp`" />
</router-link>
</li> </li>
<li> <li>
<router-link :to="{ name: 'score', params: { id: score.id } }">{{ <router-link :to="{ name: 'score', params: { id: score.id } }">{{
@ -136,7 +138,9 @@ function getTranslation(translations, key) {
}}</router-link> }}</router-link>
</li> </li>
<li v-if="index % 2 !== 0"> <li v-if="index % 2 !== 0">
<img height="200" :src="`/answers/${score.image}.webp`" /> <router-link :to="{ name: 'score', params: { id: score.id } }">
<img height="200" :src="`/answers/${score.image}.webp`" />
</router-link>
</li> </li>
</template> </template>
</ul> </ul>
@ -188,7 +192,7 @@ main
width: 100% width: 100%
max-width: 600px max-width: 600px
object-fit: contain object-fit: contain
margin: 0 auto margin: 1rem auto 0
.container .container
display: flex display: flex