Skip to content

feat: Add launch banner with dynamic demo request flow#213

Merged
m1rl0k merged 2 commits intotestfrom
feature/landing-page-banner-video
Jan 31, 2026
Merged

feat: Add launch banner with dynamic demo request flow#213
m1rl0k merged 2 commits intotestfrom
feature/landing-page-banner-video

Conversation

@chris-stinemetz
Copy link
Collaborator

  • Add persistent launch announcement banner with Megaphone icon
  • Implement smart banner visibility: hides on /contact?type=demo, shows elsewhere
  • Add 'Request Demo' CTA button linking to dynamic contact form
  • Make contact page responsive to user intent:
    • Banner route: 'Request Demo' title with pre-filled subject
    • Direct navigation: 'Get In Touch' title with general form
  • Replace rocket emoji with professional Megaphone icon from lucide-svelte
  • Remove banner dismissal to maximize conversion opportunities during launch
  • Improve UX with context-aware form experience

Optimizes conversion funnel for commercial launch while maintaining clean user experience for both demo requests and general inquiries.

- Add persistent launch announcement banner with Megaphone icon
- Implement smart banner visibility: hides on /contact?type=demo, shows elsewhere
- Add 'Request Demo' CTA button linking to dynamic contact form
- Make contact page responsive to user intent:
  - Banner route: 'Request Demo' title with pre-filled subject
  - Direct navigation: 'Get In Touch' title with general form
- Replace rocket emoji with professional Megaphone icon from lucide-svelte
- Remove banner dismissal to maximize conversion opportunities during launch
- Improve UX with context-aware form experience

Optimizes conversion funnel for commercial launch while maintaining
clean user experience for both demo requests and general inquiries.
@augmentcode
Copy link

augmentcode bot commented Jan 31, 2026

🤖 Augment PR Summary

Summary: Adds a persistent launch banner and a context-aware demo request experience on the Contact page to improve the launch conversion funnel.

Changes:

  • Adds a sticky top-of-page “launching soon” banner with a Megaphone icon and a “Request Demo” CTA.
  • Hides the banner specifically on /contact?type=demo so the CTA doesn’t compete with the demo form.
  • Makes the Contact page adapt its title and form header based on the type=demo query param.
  • Pre-fills the subject as “Request Demo” for demo intent and adds a short demo subtitle.
Technical Notes: Uses SvelteKit’s $page store to detect route/query state and lucide-svelte for the new iconography. Adds new SCSS for the banner layout, animation, and responsive tweaks.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 3 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

message: ''
});

onMount(() => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isDemo is only set in onMount, so the initial SSR/first paint will always start in non-demo mode and it won’t react if the user navigates between /contact and /contact?type=demo via client-side navigation (query param changes).

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

- Replace onMount with  for isDemo state in contact page
  - Fixes SSR/client hydration mismatch causing content flicker
  - Ensures consistent rendering between server and client
  - Makes state reactive to URL parameter changes during navigation

- Use {base} path for banner CTA link instead of hardcoded '/contact'
  - Ensures compatibility with non-root deployment paths
  - Prevents broken links when deployed to subpaths like GitHub Pages
  - Maintains consistency with other site navigation

Improves user experience by eliminating layout shifts and ensures
robust deployment compatibility across different hosting environments.
@m1rl0k m1rl0k merged commit 4befaf6 into test Jan 31, 2026
1 check passed
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