Skip to content

Commit

Permalink
Add open collective sponsors to the website
Browse files Browse the repository at this point in the history
These are automatically updated to always show the top 5 sponsors
  • Loading branch information
ForbesLindesay committed Aug 8, 2017
1 parent d53648f commit 24b3494
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions scss/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ $transition: 0.3s ease-in-out;

.sponsor {
margin-left: 16px;
margin-top: 16px;
display: block;
color: hsl(0, 0%, 51%);
}
.advert {
Expand Down
10 changes: 5 additions & 5 deletions templates/_menu.pug
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ mixin menu
+menuItem('language/plain-text')
+menuItem('language/tags')

.sponsor
| Supported by

a(href="https://icons8.com/icon")
.nav-link Sponsors
a.sponsor(href="https://icons8.com/icon")
img(src="https://png.icons8.com/color/icons8/100" width="50" height="50" alt="Icons8, a free icon pack")
| Icons8

- for (var i = 0; i < 5; i++)
a.sponsor(href=`https://opencollective.com/pug/sponsor/${i}/website` target="_blank")
img(src=`https://opencollective.com/pug/sponsor/${i}/avatar.svg` height="64")

0 comments on commit 24b3494

Please sign in to comment.