feat: header and other style updates

This commit is contained in:
Devin Haska 2024-03-01 20:01:11 -08:00
parent b1ef4f9900
commit f5eaed457f
4 changed files with 50 additions and 3 deletions

View file

@ -3,10 +3,10 @@
{% 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>{% include "svgs/star.svg" %}</li>
<li class="[ star-filled ]">{% include "svgs/star.svg" %}</li>
{% endfor %}
{% for i in range(0, emptyStars) %}
<li>{% include "svgs/star-empty.svg" %}</li>
<li class="[ star-empty ]">{% include "svgs/star-empty.svg" %}</li>
{% endfor %}
</ul>
{% endmacro %}