Skip to content

Commit

Permalink
Add Open Source Sponsors section to our home page (#18)
Browse files Browse the repository at this point in the history
A couple of considerations here:
1. This is a mild mis-use of the CSS class "people" since these sponsors
are not people.
2. Relatedly, the circle CSS effect is not necessarily ideal in terms of
making it easy for staff to upload Sponsor images.

My current thinking is we can solve those issues in future iterations.

Note that we have an entry for "Sentry" on the ghost site, with the new
tag added here, so I would expect this to autopopulate on merge and
deploy.
  • Loading branch information
corsonknowles authored Dec 1, 2023
1 parent b2e2379 commit 1f7aa28
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion home.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,18 @@
{{/get}}
</ul>
</div>

<div id="oss-sponsors">
<h3>Open Source Sustaining Membership Sponsors</h3>
<ul class="people">
{{#get "pages" order="featured desc, title asc" filter="tags:hash-oss-sponsors" limit="all"}}
{{#foreach pages}}
{{> "person"}}
{{else}}
<p>Create a page for each open source major sponsor, title the post with the sponsor name, set the featured image to their profile picture (for logos, we need a square image for best results), and put an optional link in the page content. Add the tag <code>#oss-sponsors</code> for them to show up here.</p>
{{/foreach}}
{{/get}}
</ul>
</div>
</div>
</div>
</div>

0 comments on commit 1f7aa28

Please sign in to comment.