Skip to content

Commit 4f6964c

Browse files
giliomeejgroansong
andauthored
Redirect gitcoin.co/passport to new landing page (#10845)
* Added logging for calls to mautic_proxy In the process of moving from Mautic/Acquia to Hubspot. Starting by adding a log to develop a deeper understanding of requests, in order to prepare for writing the Hubspot part, which would see requests temporarily be sent to both Acquia and Hubspot before turning the Acquia requests off. * Added MauticLog table * Added entry for every call to mautic_proxy * Wrapped DB call in try-except * fix(Home): GR15 Image should be loaded via CDN. * func(Bottom nav): Add Passport to the footer nav. * func(Passport): Redirect gitcoin.co/passport to new landing page Co-authored-by: Roan Song <roansong@gmail.com>
1 parent 3986ddb commit 4f6964c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/dashboard/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3128,9 +3128,9 @@ def get_passport_trust_bonus(request, handle):
31283128

31293129
@require_GET
31303130
def passport(request):
3131-
url = 'https://gitcoin.notion.site/gitcoin/Your-digital-citizenship-pass-in-a-decentralized-society-541ce3929afc4f9cb1cdc4c44db12c68'
3131+
url = 'https://go.gitcoin.co/gitcoin-passport-0?utm_source=gitcoinco&utm_medium=referral&utm_campaign=topnav&utm_content=Passport'
31323132
return redirect(url)
3133-
3133+
31343134

31353135

31363136
@login_required
@@ -3190,7 +3190,7 @@ def verify_passport(request, handle):
31903190
pass
31913191

31923192
if not gr15_trust_bonus:
3193-
gr15_trust_bonus = GR15TrustScore(user_id=user.id,
3193+
gr15_trust_bonus = GR15TrustScore(user_id=user.id,
31943194
stamps=[],
31953195
last_apu_score = 0,
31963196
max_apu_score = 0,

0 commit comments

Comments
 (0)