31 lines
645 B
Text
31 lines
645 B
Text
<div class="flex-horz">
|
|
<div class="horz-child">
|
|
<h1> Thema's </h1>
|
|
<ul>
|
|
<% for thema in themas %>
|
|
<%= image_tag thema %>
|
|
<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 %>
|
|
<%= image_tag item %>
|
|
<li> <%= link_to(item[:naam], item) %> </li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
.flex-horz {
|
|
display: flex; /* or inline-flex */
|
|
flex-direction: row;
|
|
}
|
|
.horz-child {
|
|
flex-basis: auto;
|
|
flex-grow: 1;
|
|
}
|
|
</style>
|