durfdoen-2.0/layouts/homepage.erb

53 lines
1.6 KiB
Text
Raw Normal View History

2020-08-28 22:14:28 +02:00
<div class="beforeTheFold">
2020-08-29 00:10:51 +02:00
<div class="header_photo backgroundSquare"></div>
2020-09-06 20:41:54 +02:00
2020-08-29 00:10:51 +02:00
<article class="align">
<h1 class="hidden">Durf Doen</h1>
2020-08-29 00:10:51 +02:00
<div class="intro">
<div class="header_blueSquare backgroundSquare"></div>
<h2 class="studentZijn">
<span class="underline">Student</span> zijn is
<span class="underline">meer</span> dan studeren
</h2>
</div>
2020-08-28 22:14:28 +02:00
<div class="quote">
<div>
<img src="/assets/durfdoenlogo.png" alt="">
</div>
<div>
<p>Durf Doen wil je helpen de vereniging te vinden waar jij je thuis zal voelen.</p>
2020-08-29 00:10:51 +02:00
<div class="quizSpotlight">
2020-09-12 22:02:12 +02:00
<a href="quiz.html">Doe de test</a>
2020-08-29 00:10:51 +02:00
</div>
2020-08-28 22:14:28 +02:00
</div>
</div>
</article>
2020-08-28 22:14:28 +02:00
2020-08-29 00:10:51 +02:00
<div class="scroll">
<a href="#main">Of scroll naar beneden voor meer info</a>
2020-08-28 22:14:28 +02:00
</div>
2020-08-29 00:10:51 +02:00
<div class="shade"></div>
2020-08-28 22:14:28 +02:00
</div>
2020-08-29 00:10:51 +02:00
<main id="main" class="align">
<article>
<h2>Kende je bijvoorbeeld deze vereniging al?</h2>
2020-09-15 17:56:12 +02:00
<div class="randomVerenigingenWrapper" id="display_repo"></div>
<div class="randomVerenigingenWrapper hidden" id="hidden_repo">
<% for item in verenigingen %>
<div class="randomVerenigingWrapper" <%= (item['id'] == "zeus") ? "data-iszeus" : "" %> >
<a href="<%= item['path'] || test %>">
<section class="randomVereniging">
<div class="randomVereniging_imageWrapper"><img loading=lazy src="<%= image_url(item) %>" alt="logo van <%= item['naam'] %>" height="100"></div>
<hr class="randomVereniging_hr">
<h3><%= item['naam'] %></h3>
</section>
</a>
</div>
<% end %>
</div>
</article>
</main>