From 81978b571d5b360335b6b446886c7e770a911e34 Mon Sep 17 00:00:00 2001 From: Aditya Anand Date: Wed, 11 Jul 2018 10:58:36 +0530 Subject: [PATCH] contributor_landing: added newsletter --- app/retail/templates/contributor_landing.html | 4 ++++ app/retail/views.py | 3 +++ 2 files changed, 7 insertions(+) diff --git a/app/retail/templates/contributor_landing.html b/app/retail/templates/contributor_landing.html index f0fecfa8688..ffd9388a56d 100644 --- a/app/retail/templates/contributor_landing.html +++ b/app/retail/templates/contributor_landing.html @@ -37,6 +37,10 @@ {% include 'landing/contributor/benefits.html' %} +
+ {% include 'shared/newsletter.html' %} +
+
{% include 'shared/what_is_gitcoin.html' %}
diff --git a/app/retail/views.py b/app/retail/views.py index 5ffe0fb0587..5f73079160e 100644 --- a/app/retail/views.py +++ b/app/retail/views.py @@ -198,6 +198,9 @@ def contributor_landing(request): 'slides': slides, 'slideDurationInMs': 6000, 'active': 'home', + 'newsletter_headline': _("Get the Latest Gitcoin News! Join Our Newsletter."), + 'hide_newsletter_caption': True, + 'hide_newsletter_consent': True, 'projects': projects, 'gitcoin_description': gitcoin_description, 'available_bounties_count': available_bounties_count,