Task 7 - Add sponsors
This commit is contained in:
parent
a024466201
commit
acac7e6ec1
10 changed files with 238 additions and 1 deletions
14
templates/includes/sponsor-list.html.twig
Normal file
14
templates/includes/sponsor-list.html.twig
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<div>
|
||||
<h2>{{ title }}</h2>
|
||||
|
||||
<ul>
|
||||
{% for sponsor in sponsors.findByType(type) %}
|
||||
<li>
|
||||
<a href="#0">
|
||||
<img src="{{ sponsor.logo_url }}" alt="">
|
||||
<p>{{ sponsor.name }}</p>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue