Skip to content

Point US visitors to People for a Pause - #1238

Merged
hturnbull93 merged 3 commits into
mainfrom
feat/us-visitor-redirect
Oct 22, 2026
Merged

hturnbull93 merged 3 commits into
mainfrom
feat/us-visitor-redirect

Conversation

@hturnbull93

Copy link
Copy Markdown
Collaborator

Summary

  • When geo-detection flags a US visitor, show a modal offering to send them to peopleforapause.org instead (our partner org in the US), with "Yes, People for a Pause" / "Cancel" options. Shown once (remembered via localStorage), reusing Backdrop.svelte + Button.svelte + the .form-card surface convention.
  • On the join form, selecting "United States" as country now replaces the rest of the fields (city, university, chapter question, submit) with a note pointing to https://peopleforapause.org/get-involved, since PauseAI US is a separate organisation. Applied to both the main step-1 form and the inline "browse" quick-signup form, translated into en/de/fr/es.

Test plan

  • npm run check passes (confirmed locally: 0 errors)
  • Visit the site with a US geo override (/api/geo?country=US) and confirm the modal appears once, both buttons work, and it doesn't reappear after dismiss
  • On /join, select United States as country and confirm the note + link appear instead of further fields
  • Same check on the inline browse signup form
  • Confirm non-US countries are unaffected

Geo-detected US visitors get a modal asking if they'd rather visit
peopleforapause.org, our partner org in the US. Selecting United
States on the join form now shows a note linking to their
get-involved page instead of continuing the signup fields, since
PauseAI US is a separate organisation.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for pauseai ready!

Name Link
🔨 Latest commit 65cf553
🔍 Latest deploy log https://app.netlify.com/projects/pauseai/deploys/6ada29b385f342265a415568
😎 Deploy Preview https://deploy-preview-1238--pauseai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 76 (🟢 up 7 from production)
Accessibility: 91 (no change from production)
Best Practices: 100 (no change from production)
SEO: 83 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

hturnbull93 and others added 2 commits October 22, 2026 16:19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The --bg-subtle surface rendered brown in dark mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hturnbull93
hturnbull93 merged commit 1eca4a1 into main Oct 22, 2026
9 checks passed
@hturnbull93
hturnbull93 deleted the feat/us-visitor-redirect branch October 22, 2026 17:42
hturnbull93 added a commit that referenced this pull request Oct 23, 2026
The "I want to lead" path ended in a mailto to Irina, which brought in
many unserious requests. Replace it with a button to her Notion lead
application form, which asks for enough to filter on, and update the
next-steps and has-chapter copy to point at it.

Drop the PauseAI US Asana form branch: US visitors no longer reach this
page since #1238 sends them to People for a Pause at step 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant