-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
140 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
navigable: true | ||
title: Sponsors | ||
order: 35 | ||
narrow_page: true | ||
--- | ||
|
||
<meta http-equiv="refresh" content="0; url=/sponsors/members"> |
12 changes: 6 additions & 6 deletions
12
content/about/sponsorende-leden.erb → content/sponsors/members.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
narrow_page: true | ||
subnavigation: | ||
bar: sponsors | ||
identifier: sponsors | ||
name: Sponsors | ||
order: 20 | ||
--- | ||
|
||
<h1 class='title is-1 has-text-centered'>Sponsors</h1> | ||
|
||
<div id='sponsors' class="content"> | ||
<% if current_sponsors.nil? %> | ||
No sponsors yet for this academic year. Interested? Contact the board. | ||
<% else %> | ||
<% current_sponsors.shuffle.each do |sponsor| %> | ||
<div id="<%= sponsor[:name] %>" class="box sponsoring-member"> | ||
<article class="columns is-mobile"> | ||
<div class="column is-gapless is-narrow logo-wrapper"> | ||
<% if sponsor[:photo] %> | ||
<img src="<%= sponsor[:photo] %>" alt="<%= sponsor[:name] %>"> | ||
<% else %> | ||
<div class="logo-initial has-text-centered"> | ||
<%= sponsor[:name].chars.first %> | ||
</div> | ||
<% end %> | ||
<div class="name"><%= sponsor[:name] %></div> | ||
</div> | ||
<div class="column"> | ||
<div> | ||
<p class="description"> | ||
<%= to_HTML(sponsor[:description]) %> | ||
</p> | ||
</div> | ||
<div class="links"> | ||
<% sponsor[:links].each do |link| %> | ||
<% if link[:icon] %> | ||
<a class="social-icon" href="<%= link[:url] %>" target="_blank"> | ||
<span class="icon"> | ||
<%= fa link[:icon], {:size => "2x"} %> | ||
</span> | ||
</a> | ||
<% else %> | ||
<a class="social-icon" href="<%= link[:url] %>" target="_blank"> | ||
<span class="icon"> | ||
<%= fa :globe, {:size => "2x"} %> | ||
</span> | ||
</a> | ||
<% end %> | ||
<% end %> | ||
</div> | ||
</div> | ||
</article> | ||
</div> | ||
<% end %> | ||
<% end %> | ||
</div> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters