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 %>
|
2020-08-29 16:02:38 +02:00
|
|
|
<%= image_tag thema %>
|
2020-08-29 00:09:04 +02:00
|
|
|
<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 %>
|
2020-08-29 16:02:38 +02:00
|
|
|
<%= image_tag item %>
|
2020-08-29 00:09:04 +02:00
|
|
|
<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>
|