zeus.ugent.be/content/index.erb

47 lines
1.7 KiB
Text
Raw Normal View History

2016-07-05 22:13:14 +02:00
<div class="pure-g">
<div class="pure-u-xl-1-5 pure-u-lg-1-6 pure-u-md-1-8 pure-u-sm-1-12 pure-u-1-24"></div>
<div id="container" class="pure-u-xl-3-5 pure-u-lg-2-3 pure-u-md-3-4 pure-u-sm-5-6 pure-u-11-12">
<header>
<div class="header-top">
<img id="logo" src="https://zeus.ugent.be/wp-content/uploads/2009/05/logo-new.png" alt="" />
<div id="logos">
2016-07-05 23:57:18 +02:00
<a href="https://github.com/ZeusWPI" target="_blank">
<i class="logo-link fa fa-github fa-3x"></i>
</a>
<a href="https://www.facebook.com/zeus.wpi/" target="_blank">
<i class="logo-link fa fa-facebook fa-3x"></i>
</a>
<a href="#" target="_blank">
<i class="logo-link fa fa-rss fa-3x"></i>
</a>
2016-07-05 22:13:14 +02:00
</div>
</div>
2016-06-09 16:08:43 +02:00
2016-07-05 22:13:14 +02:00
<nav id="navbar">
<span class="navlink">About</span>
2016-07-18 09:24:24 +02:00
<span class="navlink"><a href="/blogposts/testpost">All posts</a></span>
2016-07-05 22:13:14 +02:00
<span class="navlink">Contact</span>
2016-07-18 09:34:01 +02:00
<span class="navlink"><a href="/cammie">Cammie</a></span>
2016-07-05 22:13:14 +02:00
</nav>
</header>
<main>
<div class="main-event">
2016-07-05 22:38:59 +02:00
<img class="pure-img" src="https://zeus.ugent.be/wp-content/uploads/2016/02/battlebots_small.jpg" alt="" />
2016-06-09 16:08:43 +02:00
</div>
2016-07-05 22:13:14 +02:00
<div id="all-events">
<div class="pure-g">
2016-07-18 11:52:46 +02:00
<% articles.each do |article| %>
2016-07-05 22:13:14 +02:00
<div class="pure-u-1-3">
2016-07-18 11:52:46 +02:00
<a href="<%= relative_path_to(article) %>">
<div class="event">
<img class="pure-img" src='<%= article[:banner] %>' alt="" />
</div>
</a>
2016-07-05 22:13:14 +02:00
</div>
2016-07-06 00:20:09 +02:00
<% end %>
2016-07-05 22:13:14 +02:00
</div>
</div>
</main>
2016-06-18 01:43:41 +02:00
</div>
2016-07-05 22:13:14 +02:00
</div>