Skip to content

Commit 00bd1ca

Browse files
committed
Generalize funding page
1 parent c1ac063 commit 00bd1ca

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

locales/en-US/funding.ftl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
## funding.html.hbs
44
funding-page-title = Funding
5-
funding-intro = Rust contributors shown on this page can be funded via GitHub Sponsors. Consider sponsoring them if you want to support the development of Rust.
5+
funding-intro = Rust depends on hundreds of contributors who improve it on a daily basis, many of whom are volunteers. We want them to be properly supported to ensure long-term health of the Rust Project. There are various approaches to ensure that, which are currently in the works, such as the <a href="https://rustfoundation.org/media/announcing-the-rust-foundation-maintainers-fund/">Rust Foundation Maintainer Fund</a>.
6+
funding-intro-individuals = Another way is to sponsor individuals that work on Rust. You can find Rust contributors that can be funded via GitHub Sponsors below. Consider sponsoring them if you want to support the development of Rust.

templates/funding.html.hbs

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,30 @@
1313
{{/inline}}
1414

1515
{{#*inline "page"}}
16-
<section class="green" style="padding-bottom: 10px;">
17-
<div class="w-100 mw-none mw-8-m mw9-l center f2 ph3">
16+
<header class="mt3 mt2-ns mb4 mb5-ns tc tl-ns">
17+
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
18+
<h1>{{fluent "funding-page-title"}}</h1>
19+
</div>
20+
</header>
21+
22+
<section class="purple pb1">
23+
<div class="w-100 mw-none mw-8-m mw9-l center f1 ph3" style="font-size: 1.2em;">
1824
<p>{{fluent "funding-intro"}}</p>
1925
</div>
26+
<div class="w-100 mw-none mw-8-m mw9-l center f1 ph3" style="font-size: 1.2em;">
27+
<p>{{fluent "funding-intro-individuals"}}</p>
28+
</div>
2029
</section>
2130

22-
<section class="green" style="padding-bottom: 15px;">
23-
<div id="people" class="w-100 mw-none mw-8-m mw9-l flex flex-column flex-row-l flex-wrap-l center ph3">
24-
{{#each data.people as |member|}}
25-
{{> member member=member baseurl=../baseurl }}
26-
{{/each}}
31+
<section class="green pb4">
32+
<div class="w-100 mw-none ph3 mw8-m mw9-l center f3">
33+
<div id="people" class="flex flex-column flex-row-l flex-wrap-l">
34+
{{#each data.people as |member|}}
35+
{{> member member=member baseurl=../baseurl }}
36+
{{/each}}
37+
</div>
38+
<script type="text/javascript" src="{{assets.js.funding_shuffle}}"></script>
2739
</div>
28-
<script type="text/javascript" src="{{assets.js.funding_shuffle}}"></script>
2940
</section>
3041
{{/inline}}
3142

0 commit comments

Comments
 (0)