Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⛙ Merge sponsor bio to main sponsor page #287

Merged
merged 1 commit into from
Feb 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions app/views/sponsors/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,19 @@ You should also feel free to contact our sponsorship representatives via email:
<section class="sponsor-logos flex flex-col">
<h2><%= tier %> Sponsors </h2>
<% sponsors.each do |sponsor| %>
<%= link_to "/sponsors/#{sponsor['key']}", class: "sponsor-logo-no-border" do %>
<%= image_tag "sponsors/#{sponsor['images'].first}", class: "sponsor-logo-#{tier.underscore}", alt: sponsor['name'] %>
<% end %>
<div class="markdown sponsor-standalone">
<h1><%= link_to sponsor['name'], sponsor['url'] %></h1>

<p class="sponsor-logos">
<% sponsor['images'].each do |image| %>
<%= link_to sponsor['url'], :class => "sponsor-logo-no-border" do %>
<%= image_tag "sponsors/#{image}", :class => "sponsor-logo sponsor-logo-standalone" %>
<% end %>
<% end %>
</p>

<%= markdown_to_html sponsor['bio'] %>
</div>
<% end %>
</section>
<% end %>
Expand Down
19 changes: 0 additions & 19 deletions app/views/sponsors/show.html.erb

This file was deleted.