Merge branch 'main' of gitpro:ThomasRubini/ProjetSymfony

This commit is contained in:
Djalim Simaila 2024-02-22 14:47:42 +00:00
commit 4611fdb400
2 changed files with 9 additions and 5 deletions

View File

@ -135,7 +135,7 @@ main:is(#login, #register) > form {
} }
} }
main#searchResults { main:is(#searchResults, #favorites) {
& > h1 { & > h1 {
padding: 2rem; padding: 2rem;
text-align: center; text-align: center;

View File

@ -3,6 +3,8 @@
{% block title %}Favorites!{% endblock %} {% block title %}Favorites!{% endblock %}
{% block body %} {% block body %}
<main id="favorites">
<div class="results">
{% for album_liked in favorites %} {% for album_liked in favorites %}
{% set main_artist = album_liked["artists_sort"] %} {% set main_artist = album_liked["artists_sort"] %}
{% set artists = album_liked["artists"] %} {% set artists = album_liked["artists"] %}
@ -27,4 +29,6 @@
<br /> <br />
</section> </section>
{% endfor %} {% endfor %}
</div>
</main>
{% endblock %} {% endblock %}