2020-08-29 00:09:04 +02:00
|
|
|
<div class="flex-horz">
|
|
|
|
<div class="horz-child">
|
2020-08-29 13:14:37 +02:00
|
|
|
<h1> Thema's </h1>
|
2020-08-29 00:09:04 +02:00
|
|
|
<ul>
|
|
|
|
<% for thema in themas %>
|
|
|
|
<img src="<%= image_url(thema) %>" alt="<%= thema[:naam] %>">
|
|
|
|
<li> <%= link_to(thema[:naam], thema) %> </li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="horz-child">
|
|
|
|
<h1> Konventen en projecten </h1>
|
|
|
|
<ul>
|
|
|
|
<% for item in konventen_and_projecten %>
|
|
|
|
<img src="<%= image_url(item) %>" alt="<%= item[:naam] %>">
|
|
|
|
<li> <%= link_to(item[:naam], item) %> </li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-28 01:44:17 +01:00
|
|
|
|
2020-08-29 00:09:04 +02:00
|
|
|
<style>
|
|
|
|
.flex-horz {
|
|
|
|
display: flex; /* or inline-flex */
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
.horz-child {
|
|
|
|
flex-basis: auto;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
</style>
|