zeus.ugent.be/content/about/sponserende_leden.erb

65 lines
2.3 KiB
Text
Raw Normal View History

2019-03-13 21:12:03 +01:00
---
narrow_page: true
---
2019-03-27 21:57:39 +01:00
2019-03-13 21:12:03 +01:00
<%= render '/partials/_about_sub_navbar.*', selected: 'sponsoring_members' %>
<h1 class='title is-1 has-text-centered'>Sponserende Leden</h1>
<div id='sponsoring_members' class="content">
<% current_sponsoring_members.each do |member| %>
2019-03-27 21:57:39 +01:00
<div id="<%= member[:nickname] %>" class="box">
<article class="columns is-mobile">
<div class="column is-gapless is-narrow logo-wrapper">
<% if member[:photo] %>
<div class="sponserend_image">
<img src="<%=member[:photo]%>">
</div>
<% else %>
<div class="sponserend_image" style="background-color: #ff7f00">
<div class="logo-initial has-text-centered">
<%= member[:name].chars.first %>
</div>
</div>
<% end %>
</div>
<div class="column">
<span style="margin-bottom:0" class="title"><%= member[:name] %></span>
<span class="subtitle">
(<%= member[:nickname] %>)
</span>
<div>
<i>
-
<%= member[:quote] %>
</i>
</div>
<blockquote style="margin-top: 0.5em">
<%= member[:description] %>
</blockquote>
<div class="columns">
<% if member[:github] %>
<a style="padding: 5px" class="social-icon" href="https://github.com/<%= member[:github] %>" target="_blank">
<span class="icon">
<%= fa :github, {:size => "2x"} %>
</span>
</a>
<% end %>
<% if member[:twitter] %>
<a style="padding: 5px" class="social-icon" href="https://twitter.com/<%= member[:twitter] %>" target="_blank">
<span class="icon">
<%= fa :twitter, {:size => "2x"} %>
</span>
</a>
<% end %>
<% if member[:blog] %>
<a style="padding: 5px" href="<%= member[:blog] %>">
<%= member[:blog] %>
</a>
<% end %>
</div>
2019-03-13 21:12:03 +01:00
</div>
2019-03-27 21:57:39 +01:00
</article>
</div>
<% end %>
</div>