Merge branch 'main' of gitpro:ThomasRubini/ProjetSymfony
This commit is contained in:
commit
4611fdb400
@ -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;
|
||||||
|
@ -3,15 +3,17 @@
|
|||||||
{% block title %}Favorites!{% endblock %}
|
{% block title %}Favorites!{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% for album_liked in favorites %}
|
<main id="favorites">
|
||||||
{% set main_artist = album_liked["artists_sort"] %}
|
<div class="results">
|
||||||
{% set artists = album_liked["artists"] %}
|
{% for album_liked in favorites %}
|
||||||
|
{% set main_artist = album_liked["artists_sort"] %}
|
||||||
|
{% set artists = album_liked["artists"] %}
|
||||||
{% set album = album_liked["title"] %}
|
{% set album = album_liked["title"] %}
|
||||||
<section class="album">
|
<section class="album">
|
||||||
<span>
|
<span>
|
||||||
<h2>{{album}}</h2>
|
<h2>{{album}}</h2>
|
||||||
by
|
by
|
||||||
{% for artist in artists %}
|
{% for artist in artists %}
|
||||||
<h3>{{artist["name"]}}</h3>
|
<h3>{{artist["name"]}}</h3>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
@ -27,4 +29,6 @@
|
|||||||
<br />
|
<br />
|
||||||
</section>
|
</section>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user