Skip to content
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
5 changes: 5 additions & 0 deletions src/directory.conf
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ shopify {
url: "https://shopify.engineering"
}

wide-angle {
logo: /img/sponsors/wide-angle.svg
url: "https://wideangle.co/?ref=typelevel"
}

famly {
logo: /img/sponsors/famly.svg
url: "https://famly.co"
Expand Down
2 changes: 1 addition & 1 deletion src/foundation/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%
laika.html.template: about.template.html
laika.title: Typelevel Foundation
sponsors: [${spotify}, ${aruna}, ${shopify}, ${famly}]
sponsors: [${spotify}, ${aruna}, ${shopify}, ${wide-angle}, ${famly}]
%}

# About the Typelevel Foundation
Expand Down
4 changes: 2 additions & 2 deletions src/foundation/about.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ <h2 id="foundation-sponsors">
</a>
Foundation Sponsors
</h2>
<div class="bulma-grid bulma-is-col-min-6 bulma-is-align-items-center">
<div class="bulma-columns bulma-is-multiline bulma-is-align-items-center">
@:for(sponsors)
<div class="bulma-cell bulma-has-text-centered">
<div class="bulma-column bulma-is-narrow bulma-has-text-centered">
<a href="${_.url}"><img class="sponsor" src="@:target(_.logo)" /></a>
</div>
@:@
Expand Down
1 change: 1 addition & 0 deletions src/img/sponsors/wide-angle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ h6:hover > a.anchor-link {
}

img.sponsor {
width: 100%;
height: auto;
max-height: 48px;
object-fit: contain;
}

/* Hack to prevent double-rendering the title in blog posts */
Expand Down
18 changes: 11 additions & 7 deletions src/templates/home.template.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{%
sponsors: [${spotify}, ${aruna}, ${shopify}, ${famly}]
sponsors: [${spotify}, ${aruna}, ${shopify}, ${wide-angle}, ${famly}]
%}

@:embed(/templates/main.template.html)
Expand All @@ -25,17 +25,21 @@ <h2 class="bulma-subtitle bulma-is-3 bulma-is-size-4-mobile">
</p>
</div>
</section>
<div class="bulma-section bulma-container bulma-is-max-desktop">
<div class="bulma-section">
<div class="bulma-columns bulma-is-vcentered">
<div class="bulma-column"></div>
@:for(sponsors)
<div class="bulma-column bulma-has-text-centered">
<div class="bulma-column bulma-is-narrow bulma-has-text-centered">
<a href="${_.url}"><img class="sponsor" src="@:target(_.logo)" /></a>
</div>
@:@
<div class="bulma-column"></div>
</div>
<div class="bulma-container bulma-is-max-desktop">
<h4 class="bulma-subtitle bulma-is-4 bulma-has-text-centered">
Typelevel is built by a vibrant global community and backed by a nonprofit Foundation with the support of our
industry sponsors.
</h4>
</div>
<h4 class="bulma-subtitle bulma-is-4 bulma-has-text-centered">
Typelevel is built by a vibrant global community and backed by a nonprofit Foundation with the support of our
industry sponsors.
</h4>
</div>
@:@
Loading