Skip to content

Landing page UI improvements#6

Merged
ShadowWalker2014 merged 1 commit into
mainfrom
cursor/landing-page-ui-improvements-3f75
Mar 12, 2026
Merged

Landing page UI improvements#6
ShadowWalker2014 merged 1 commit into
mainfrom
cursor/landing-page-ui-improvements-3f75

Conversation

@ShadowWalker2014

Copy link
Copy Markdown
Owner

Summary

Fixes the landing page's broken appearance in light mode and significantly enhances the dashboard mockup to reflect a modern, premium design.

Changes

  • Introduced a .force-dark CSS class to globals.css to ensure dark mode styling persists regardless of the root light class.
  • Completely redesigned the DashboardMockup in src/routes/index.tsx into a detailed, full-fidelity browser-windowed preview with a sidebar, stats, activity feed, and broadcast panel.
  • Applied the .force-dark class to the landing page's main wrapper.
  • Refined typography, spacing, and added trust signals to the hero section.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Performance improvement
  • Refactoring (no behavior change)

Testing

  • Verified TypeScript compilation (bun x tsc --noEmit) with no errors in src/routes/index.tsx.
  • Performed manual visual testing in both dark mode and simulated light mode (document.documentElement.classList.add('light')) to confirm correct rendering and .force-dark functionality.

Checklist

  • TypeScript compiles (bun x tsc --noEmit in affected service)
  • No console.log — using pino logger
  • No polling — event-driven patterns only
  • Hard deletes only (no soft delete)
  • Updated relevant documentation
  • PR is focused — one feature/fix per PR
  • Commit messages follow Conventional Commits
Open in Web Open in Cursor 

- Add .force-dark CSS class to globals.css that re-declares all dark CSS
  variables for a subtree, fixing the light mode breakage where Tailwind
  CSS vars (bg-card, border, etc.) would flip to light values while the
  landing page background stayed dark
- Rewrite DashboardMockup with a full-fidelity 460px tall preview:
  - Sidebar with all 10 nav items using real Lucide icons
  - 5-column stat cards with actual values (12,481 / 48,203 / 42.1%...)
  - Quick action chips (New Broadcast, Add Contact, New Segment, Campaign)
  - Live activity feed with colored event dots (open/click/unsubscribe)
  - Right panel showing recent broadcasts with status badges + progress bars
  - Segment card in the right panel
  - User avatar in sidebar footer
- Remove all hardcoded hex bg/color from component classes; use CSS vars
  or scoped inline styles inside the dark island
- Replace border/color rgba hacks throughout landing with consistent
  rgba values that match the dark design system
- Improve hero trust signals row (ELv2 licensed / No per-seat fees / Self-hostable)
- Tighten spacing, improve section headers, polish feature card hover ring

Co-authored-by: ShadowWalker2014 <ShadowWalker2014@users.noreply.github.com>
@cursor

cursor Bot commented Mar 11, 2026

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@ShadowWalker2014 ShadowWalker2014 marked this pull request as ready for review March 12, 2026 04:04
@ShadowWalker2014 ShadowWalker2014 merged commit 76afc5f into main Mar 12, 2026
1 check passed
cursor Bot pushed a commit that referenced this pull request Mar 12, 2026
- Add .force-dark CSS class to globals.css that re-declares all dark CSS
  variables for a subtree, fixing the light mode breakage where Tailwind
  CSS vars (bg-card, border, etc.) would flip to light values while the
  landing page background stayed dark
- Rewrite DashboardMockup with a full-fidelity 460px tall preview:
  - Sidebar with all 10 nav items using real Lucide icons
  - 5-column stat cards with actual values (12,481 / 48,203 / 42.1%...)
  - Quick action chips (New Broadcast, Add Contact, New Segment, Campaign)
  - Live activity feed with colored event dots (open/click/unsubscribe)
  - Right panel showing recent broadcasts with status badges + progress bars
  - Segment card in the right panel
  - User avatar in sidebar footer
- Remove all hardcoded hex bg/color from component classes; use CSS vars
  or scoped inline styles inside the dark island
- Replace border/color rgba hacks throughout landing with consistent
  rgba values that match the dark design system
- Improve hero trust signals row (ELv2 licensed / No per-seat fees / Self-hostable)
- Tighten spacing, improve section headers, polish feature card hover ring

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: ShadowWalker2014 <ShadowWalker2014@users.noreply.github.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.

2 participants