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

64 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>
2019-03-13 21:12:03 +01:00
<div id='sponsoring_members' class="content">
<% current_sponsoring_members.each do |member| %>
2019-11-05 20:05:42 +01:00
<div id="<%= member[:nickname] %>" class="box sponsoring_member">
2019-03-27 21:57:39 +01:00
<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 %>
2019-11-05 20:05:42 +01:00
<p class="name"><%= member[:name] %></p>
<p class="username">(<%= member[:nickname] %>)</p>
2019-03-27 21:57:39 +01:00
</div>
2019-11-05 20:05:42 +01:00
<div class="text_wrapper">
<div class="column text_data">
2019-03-27 21:57:39 +01:00
<div>
2019-11-05 20:05:42 +01:00
<i class="quote">
"<%= member[:quote] %>"
2019-03-27 21:57:39 +01:00
</i>
</div>
2019-11-05 20:05:42 +01:00
<div class="description_text" style="margin-top: 0.5em">
2019-03-27 21:57:39 +01:00
<%= member[:description] %>
2019-11-05 20:05:42 +01:00
</div>
</div>
<div class="columns links">
2019-03-27 21:57:39 +01:00
<% 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>