feat: move games into their own section
This commit is contained in:
parent
6084396e0b
commit
fab1780282
35 changed files with 257 additions and 21 deletions
|
@ -1,12 +1,13 @@
|
|||
{% macro stars(number) %}
|
||||
{% set filledStars = number %}
|
||||
{% set emptyStars = 5 - number %}
|
||||
<ul class="[ stars ] [ flex list-none p-0 m-0 text-primary ]" aria-description="{{ number }} out of 5 stars">
|
||||
{% for i in range(0, filledStars) %}
|
||||
<li class="[ star-filled ]">{% include "svgs/star.svg" %}</li>
|
||||
{% endfor %}
|
||||
{% for i in range(0, emptyStars) %}
|
||||
<li class="[ star-empty ]">{% include "svgs/star-empty.svg" %}</li>
|
||||
{% endfor %}
|
||||
<ul class="[ stars ] [ flex list-none p-0 mb-0 text-primary ]"
|
||||
aria-description="{{ number }} out of 5 stars">
|
||||
{% for i in range(0, filledStars) %}
|
||||
<li class="[ star-filled ]">{% include "svgs/star.svg" %}</li>
|
||||
{% endfor %}
|
||||
{% for i in range(0, emptyStars) %}
|
||||
<li class="[ star-empty ]">{% include "svgs/star-empty.svg" %}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue