Le coeur s'applique à ChâteauDormant

This commit is contained in:
2023-11-27 23:45:33 +01:00
parent 50db9ba709
commit 33ced5715d
9 changed files with 74 additions and 35 deletions

View File

@@ -0,0 +1,12 @@
{{log 'Cœur' numero courant prochain}}
<a data-numero-coeur="{{numero}}">
{{#if (and (lte numero courant) (lte numero prochain))}}
<i class="fa-solid fa-heart"></i>
{{else if (and (lte numero courant) (gt numero prochain))}}
<i class="fa-solid fa-heart-crack"></i>
{{else if (and (gt numero courant) (lte numero prochain))}}
<i class="fa-solid fa-hand-holding-heart"></i>
{{else if (and (gt numero courant) (gt numero prochain))}}
<i class="fa-regular fa-heart"></i>
{{/if}}
</a>