Compare commits

..

2 commits

Author SHA1 Message Date
dc133ff0cd
supporters: Make the new sustainers page live
I've temporarily hidden the quote for now.
2024-11-13 09:17:38 +11:00
ed74990b7c
Fix typo in CAPTCHA settings 2024-11-12 14:31:03 +11:00
3 changed files with 5 additions and 5 deletions

View file

@ -43,5 +43,4 @@ STRIPE_ENDPOINT_SECRET = get_secret(secrets, 'STRIPE_ENDPOINT_SECRET')
CAPTCHA_FLITE_PATH = '/usr/bin/flite' CAPTCHA_FLITE_PATH = '/usr/bin/flite'
CAPTCHA_SOX_PATH = '/usr/bin/sox' CAPTCHA_SOX_PATH = '/usr/bin/sox'
CAPTCHA_LETTER_ROTATION = (-25, 25) CAPTCHA_NOISE_FUNCTIONS = ('captcha.helpers.noise_dots',)
CAPTCHA_NOISE_FUNCITONS = ('captcha.helpers.noise_dots',)

View file

@ -25,14 +25,16 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<h1 class="lh-title tc mb0">Become a Sustainer Now</h1> <h1 class="lh-title tc mt4 mb2">Become a Sustainer Now</h1>
<p class="measure-wide center tc">Sustainers help us do our work in a strategic, long-term way.</p> <p class="measure-wide center tc">Sustainers help us do our work in a strategic, long-term way.</p>
{% comment %}
<div class="f5 measure-wide center tc mv4"> <div class="f5 measure-wide center tc mv4">
<p class="mt3 mb0"><em>“If software freedom is important to you, I can't think of a <p class="mt3 mb0"><em>“If software freedom is important to you, I can't think of a
more effective way to use your money than to support Conservancy.”</em></p> more effective way to use your money than to support Conservancy.”</em></p>
<p class="tr"><strong>Made Up Person</strong></p> <p class="tr"><strong>Made Up Person</strong></p>
</div> </div>
{% endcomment %}
<div id="sustainer-grid-wrapper" class="mv4" style="grid-template-columns: 2fr 1fr; gap: 1.5rem"> <div id="sustainer-grid-wrapper" class="mv4" style="grid-template-columns: 2fr 1fr; gap: 1.5rem">
<section class="mb4"> <section class="mb4">

View file

@ -4,12 +4,11 @@ from django.views.generic import TemplateView
from . import views from . import views
urlpatterns = [ urlpatterns = [
path('', views.sustainers, name='sustainers'), path('', views.sustainers_stripe, name='sustainers'),
path('banner/', TemplateView.as_view(template_name='supporters/banners.html')), path('banner/', TemplateView.as_view(template_name='supporters/banners.html')),
path('banners/', TemplateView.as_view(template_name='supporters/banners.html')), path('banners/', TemplateView.as_view(template_name='supporters/banners.html')),
path('success/', views.success), path('success/', views.success),
path('webhook/', views.webhook), path('webhook/', views.webhook),
# TODO # TODO
path('stripe/', views.sustainers_stripe),
path('paypal/', views.sustainers_paypal, name='sustainer_paypal'), path('paypal/', views.sustainers_paypal, name='sustainer_paypal'),
] ]