-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #328 from stride3d/master
Deploy latest website updates to staging
- Loading branch information
Showing
6 changed files
with
154 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import eleventyFetch from "@11ty/eleventy-fetch"; | ||
|
||
export default async function fetchSponsors(params) { | ||
const json = await eleventyFetch("https://opencollective.com/stride3d/tiers/bronze-strider/all.json", { | ||
duration: "7d", | ||
type: "json" | ||
}); | ||
|
||
return json; | ||
} |
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,10 @@ | ||
import eleventyFetch from "@11ty/eleventy-fetch"; | ||
|
||
export default async function fetchSponsors(params) { | ||
const json = await eleventyFetch("https://opencollective.com/stride3d/tiers/gold-strider/all.json", { | ||
duration: "7d", | ||
type: "json" | ||
}); | ||
|
||
return json; | ||
} |
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,10 @@ | ||
import eleventyFetch from "@11ty/eleventy-fetch"; | ||
|
||
export default async function fetchSponsors(params) { | ||
const json = await eleventyFetch("https://opencollective.com/stride3d/tiers/silver-strider/all.json", { | ||
duration: "7d", | ||
type: "json" | ||
}); | ||
|
||
return json; | ||
} |
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,49 @@ | ||
<div class="card mt-5"> | ||
<div class="oc-sponsors-container"> | ||
<div class="tier-container"> | ||
<div class="tier-item gold">GOLD STRIDERS</div> | ||
<div class="tier-item"> | ||
{% for sponsor in gold_sponsors %} | ||
<div class="img-container"> | ||
{% if sponsor.image %} | ||
<img src={{sponsor.image}} alt={{sponsor.name}} class="gold"/> | ||
{% else %} | ||
<img src="/images/svg/logo.svg" alt={{sponsor.name}} class="gold"/> | ||
{%endif%} | ||
<div>{{sponsor.name}}</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
<div class="tier-container"> | ||
<div class="tier-item silver">SILVER STRIDERS</div> | ||
<div class="tier-item"> | ||
{% for sponsor in silver_sponsors %} | ||
<div class="img-container"> | ||
{% if sponsor.image %} | ||
<img src={{sponsor.image}} alt={{sponsor.name}} class="silver"/> | ||
{% else %} | ||
<img src="/images/svg/logo.svg" alt={{sponsor.name}} class="silver"/> | ||
{%endif%} | ||
<div>{{sponsor.name}}</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
<div class="tier-container"> | ||
<div class="tier-item bronze">BRONZE STRIDERS</div> | ||
<div class="tier-item"> | ||
{% for sponsor in bronze_sponsors %} | ||
<div class="img-container"> | ||
{% if sponsor.image %} | ||
<img src={{sponsor.image}} alt={{sponsor.name}} class="bronze"/> | ||
{% else %} | ||
<img src="/images/svg/logo.svg" alt={{sponsor.name}} class="bronze"/> | ||
{%endif%} | ||
<div>{{sponsor.name}}</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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