durfdoen-2.0/layouts/homepage.erb

66 lines
2.2 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">
2020-09-16 20:45:55 +02:00
<span class="underline">Student</span> zijn is<br>
2020-09-16 17:44:08 +02:00
<span class="underline">meer</span> dan studeren alleen
2020-08-29 00:10:51 +02:00
</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-15 21:41:04 +02:00
<a href="/quiz/">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 18:16:40 +02:00
<div class="randomVerenigingenWrapper" id="display_repo">
<noscript>
<div class="randomVerenigingWrapper">
<a href="https://zeus.ugent.be">
<section class="randomVereniging">
2020-09-15 21:41:04 +02:00
<div class="randomVereniging_imageWrapper"><img loading=lazy src="https://zinc.zeus.gent" alt="logo van Zeus WPI" height="100"></div>
2020-09-15 18:16:40 +02:00
<hr class="randomVereniging_hr">
<h3>Zeus WPI</h3>
<p>Speciaal voor mensen zonder JavaScript</p>
</section>
</a>
</div>
</noscript>
</div>
2020-09-15 17:56:12 +02:00
<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">
2020-09-15 18:31:44 +02:00
<div class="randomVereniging_imageWrapper"><img loading=lazy src="<%= item["image_url"] %>" alt="logo van <%= item['naam'] %>" height="100"></div>
2020-09-15 17:56:12 +02:00
<hr class="randomVereniging_hr">
<h3><%= item['naam'] %></h3>
</section>
</a>
</div>
<% end %>
</div>
</article>
</main>