Skip to content

Add push/subscribe landing page#5

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/push-page-feature
Draft

Add push/subscribe landing page#5
Copilot wants to merge 2 commits intomainfrom
copilot/push-page-feature

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

Adds a dedicated /push subscription landing page to surface the newsletter sign-up as a first-class destination rather than an inline widget.

Changes

  • src/pages/push/index.astro — New page with hero, benefits grid, social proof panel, email capture form (name + email), and "Why subscribe?" section. Form posts to the existing /api/subscribe endpoint with source: 'Newsletter'.
  • src/components/Header.astro — Added "Subscribe" nav item pointing to /push.
  • src/lib/types.ts — Extended Lead.source union: 'Blog' | 'Analysis' | 'Resource' | 'Newsletter'.
  • src/pages/api/subscribe.ts — Added 'Newsletter' to the valid sources allowlist.

Accessibility

Form message region uses role="status" + aria-live="polite"; submit button manages aria-busy during inflight requests.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • api.notion.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/agentcraft/agentcraft/website/node_modules/.bin/astro build (dns block)
  • telemetry.astro.build
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/agentcraft/agentcraft/website/node_modules/.bin/astro build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@netlify
Copy link

netlify bot commented Mar 3, 2026

Deploy Preview for zesty-biscochitos-92dffc ready!

Name Link
🔨 Latest commit 0c14faa
🔍 Latest deploy log https://app.netlify.com/projects/zesty-biscochitos-92dffc/deploys/69a658d7b60d1c00081d5c04
😎 Deploy Preview https://deploy-preview-5--zesty-biscochitos-92dffc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

… proof

Co-authored-by: CamelCod <149741600+CamelCod@users.noreply.github.com>
Copilot AI changed the title [WIP] Add push page to application Add push/subscribe landing page Mar 3, 2026
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.

2 participants