Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Merge pull request #4658 from gratipay/invest
Browse files Browse the repository at this point in the history
Make a big mental shift
  • Loading branch information
JessaWitzel authored Sep 30, 2017
2 parents 132cd07 + 4eb4983 commit fb0fa52
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion tests/ttw/test_homepage.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def fill_form(self, amount, credit_card_number, expiration, cvv,


def test_loads_for_anon(self):
assert self.css('#banner h1').text == 'Pay for open source.'
assert self.css('#banner h1').text == 'Invest in open source.'
assert self.css('#header .sign-in button').html.strip()[:17] == 'Sign in / Sign up'

def test_redirects_for_authed_exclamation_point(self):
Expand Down
38 changes: 23 additions & 15 deletions www/index.spt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if not user.ANON:
suppress_banner = True
suppress_sidebar = True
page_id = "homepage"
banner = "Pay for Open Source" # goofy w/ suppress_banner, it's for <title>
banner = "Invest in Open Source" # goofy w/ suppress_banner, it's for <title>

npayments = website.campaign_npayments
raised = website.campaign_raised
Expand All @@ -35,7 +35,7 @@ result
{% block head %}
<link rel="publisher" href="https://plus.google.com/104524895706770139568">
<link type="application/opensearchdescription+xml" rel="search" href="/opensearch.osdd" />
<meta name="description" content="Pay for open source on Gratipay." />
<meta name="description" content="Invest in open source on Gratipay." />
<meta name="fb:app_id" content="229465400522758" />
<meta name="og:type" content="website" />
<meta name="og:url" content="https://gratipay.com/" />
Expand Down Expand Up @@ -63,7 +63,7 @@ $(document).ready(function() {

<fieldset id="banner">
<h1>
<span class="pending">{{ _("Pay for open source.") }}</span>
<span class="pending">{{ _("Invest in open source.") }}</span>
<span class="complete">{{ _("Payment complete!") }}</span>
</h1>

Expand Down Expand Up @@ -100,7 +100,7 @@ $(document).ready(function() {

<div class="payment-complete" style="display: none;">
<p class="instructions">
{{ _("Thank you for paying for open source!") }} &#x1f483;
{{ _("Thank you for investing in open source!") }} &#x1f483;
</p>
<div class="important-button" class="important-button">
<a class="button large selected invoice" href="">{{ _("View Invoice") }}</a>
Expand Down Expand Up @@ -164,28 +164,36 @@ $(document).ready(function() {
</section>

<section class="materials">

<p class="prose">
{{ _( 'Open source boosts the productivity of your developers {a}by 20%{_a}. Companies fund half of open source through developer time.'
, a='<a href="https://medium.com/@nayafia/open-source-was-worth-at-least-143m-of-instagram-s-1b-acquisition-808bb85e4681">'|safe
, _a='</a>'|safe
{{ _( "From {varnish} to {vuejs}, {drf} to {django} itself, {ruby} to {webpack}, there are more and more examples of community-led open source projects funded by enlightened companies."
, varnish='<a href="http://phk.freebsd.dk/VML/">Varnish</a>'|safe
, vuejs='<a href="https://www.patreon.com/evanyou">Vue.js</a>'|safe
, drf='<a href="https://fund.django-rest-framework.org/topics/funding/">DRF</a>'|safe
, django='<a href="https://www.djangoproject.com/fundraising/">Django</a>'|safe
, ruby='<a href="https://rubytogether.org/">Ruby</a>'|safe
, webpack='<a href="https://opencollective.com/webpack">WebPack</a>'|safe
) }}
</p>

<p class="prose">
{{ _( 'Gratipay is the easiest way to pay for {a}the other half{_a}. Pay for open source, and {b}strengthen the foundation{_b} that your developers build on. Increase innovation and {b}reduce risk{_b} for your company.'
, a='<a href="https://gratipay.news/open-source-captures-almost-none-of-the-value-it-creates-9015eb7e293e">'|safe
, _a='</a>'|safe
, b='<b>'|safe
, _b='</b>'|safe
) }}
{{ _( "Inspired by this trend, #BackTheStack is a {b} funding campaign for the whole open source community{_b}. If we all band together, can we encourage even more of the industry to participate? Can we sustain even more of the ecosystem, including parts that are less flashy?"
, b='<b>'|safe
, _b='</b>'|safe
) }}
</p>

<p class="prose">
{{ _( 'Gratipay can {b}report back{_b} to you on the progress your payment enables, and we can {b}promote{_b} your contribution, increasing your visibility within the open source community.'
{{ _( "Your company's ROI on #BackTheStack will be {b}at least 10x{_b}. Pay $10,000 for $100,000 in maintenance and new development. We'll report back on the impact of this shared investment, and we'd be thrilled to promote your company's contribution to it."
, b='<b>'|safe
, _b='</b>'|safe
) }}
</p>

<p class="prose">
{{ _("Join #BackTheStack and invest in open source today!") }}
</p>

</section>

<section class="partners">
Expand Down Expand Up @@ -311,7 +319,7 @@ $(document).ready(function() {

<div class="important-button">
<button type="submit" class="selected large">
<span class="active">{{ _("Pay for Open Source") }}</span>
<span class="active">{{ _("Invest in Open Source") }}</span>
<span class="processing">{{ _("Processing ...") }}</span>
</button>
</div>
Expand Down

0 comments on commit fb0fa52

Please sign in to comment.