Skip to content

Commit

Permalink
copy updates + categories for round 4 media
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Dec 28, 2019
1 parent f2dff85 commit 382235c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/grants/templates/grants/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
</div>
</div>
<div class="m-auto col-12 col-md-6 offset-lg-1 col-lg-5">
<h1 class="font-title-xl font-weight-semibold">{% trans 'Provide sustainable funding for Open Source with Gitcoin Grants' %}</h1>
<h1 class="font-title-xl font-weight-semibold">{% trans 'Get Substantial Sustainable Funding for Your Projects' %}</h1>
<p class="my-4 pt-1 font-header">
{% blocktrans %}
Gitcoin Grants, powered by the <a target="_blank" rel="noopener noreferrer" href="http://1337alliance.com/">EIP 1337 standard</a>
, are a fast, easy and secure way to provide recurring token contributions to your favorite OSS maintainers. <br/><br/>
Gitcoin Grants <a target="_blank" rel="noopener noreferrer" href="https://vitalik.ca/general/2019/10/24/gitcoin.html">provides matching funds</a> + <a target="_blank" rel="noopener noreferrer" href="http://1337alliance.com/">monthly subscription</a> for
your favorite OSS maintainers, media outlets, and more. <br/><br/>
Show your support.
{% endblocktrans %}
</p>
Expand All @@ -60,7 +60,7 @@ <h1 class="font-title-xl font-weight-semibold">{% trans 'Provide sustainable fun
<div class="col-12">
<p class="font-smaller-1">
<strong>Gitcoin Grants</strong> has facilitated the distribution of
<strong>${{grant_amount|floatformat:0}}k</strong> to Open Source since
<strong>${{grant_amount|floatformat:0}}k</strong> to projects since
it's launch in January 2019.
<a href="/results">See more results</a>.
</p>
Expand Down
11 changes: 10 additions & 1 deletion app/grants/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ def grants(request):
{'label': 'ETH 2.0', 'keyword': 'ETH 2.0'},
{'label': 'ETH 1.x', 'keyword': 'ETH 1.x'},
]
if grant_type == 'media':
nav_options = [
{'label': 'All', 'keyword': ''},
{'label': 'Education', 'keyword': 'education'},
{'label': 'Twitter', 'keyword': 'twitter'},
{'label': 'Reddit', 'keyword': 'reddit'},
{'label': 'Blogs', 'keyword': 'blog'},
{'label': 'Notes', 'keyword': 'notes'},
]

grant_types = [
{'label': 'Tech', 'keyword': 'tech', 'count': tech_grants_count},
Expand All @@ -162,7 +171,7 @@ def grants(request):
'current_partners_fund': current_partners_fund,
'current_partners': current_partners,
'past_partners': past_partners,
'card_desc': _('Provide sustainable funding for Open Source with Gitcoin Grants'),
'card_desc': _('Get Substantial Sustainable Funding for Your Projects with Gitcoin Grants'),
'card_player_override': 'https://www.youtube.com/embed/eVgEWSPFR2o',
'card_player_stream_override': static('v2/card/grants.mp4'),
'card_player_thumb_override': static('v2/card/grants.png'),
Expand Down

0 comments on commit 382235c

Please sign in to comment.