Skip to content

Add new landing page#1285

Merged
vedranvucic77 merged 7 commits intomasterfrom
new-landing-page
Mar 25, 2026
Merged

Add new landing page#1285
vedranvucic77 merged 7 commits intomasterfrom
new-landing-page

Conversation

@vedranvucic77
Copy link
Member

Summary

  • Add new landing page with hero section, features showcase, CTA, and footer
  • Includes honeycomb background animation, dark/light theme support, and responsive header
  • Header uses fixed positioning for transparent overlay effect over the hero

Test plan

  • Verify landing page renders at /new-landing
  • Check dark/light theme toggle works correctly
  • Test header transparency at top and background on scroll
  • Verify responsive layout on mobile/tablet
  • Check all navigation links work

🤖 Generated with Claude Code

vedranvucic77 and others added 2 commits March 24, 2026 14:37
- Hero section with honeycomb background (light/dark images), interactive edge glow on hover
- Features section with sticky left column, GIF previews (light/dark), full-width grid layout with side borders
- Code preview section with syntax highlighted example
- Interactive tabbed examples (Dashboard, Invoice, Trello, Inventory)
- CTA section with gradient background images
- Footer with link columns and copyright bar
- Navbar scroll behavior: transparent in hero, bordered with background when scrolled
- Dark theme: updated background color to #0E141E, dark mode gradients and honeycomb
- Theme toggle with light/dark mode support

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Change header from sticky to fixed so it overlays the hero section,
removing the dark background band at the top. Hide the fade gradient
element so the header is fully transparent when at the top of the page.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@netlify
Copy link

netlify bot commented Mar 25, 2026

Deploy Preview for cxjs-docs ready!

Name Link
🔨 Latest commit f87fb03
🔍 Latest deploy log https://app.netlify.com/projects/cxjs-docs/deploys/69c3bab3934a9d0008dc39ad
😎 Deploy Preview https://deploy-preview-1285--cxjs-docs.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.

- Convert feature GIFs to MP4 videos (~30MB -> ~3.6MB, 10x reduction)
- Replace hardcoded colors with CSS variables (text-heading, bg-border, --cx-c-brand)
- Add ARIA attributes to tabs (role=tablist/tab/tabpanel, aria-selected)
- Add aria-expanded to mobile menu button
- Implement copy code button functionality
- Use dynamic copyright year instead of hardcoded 2026
- Move IBM Plex Mono font loading to landing page only
- Fix fragile hero section selector (use ID instead of class matching)
- Use CSS variable for header scroll border color
- Remove unused honeycomb.svg asset

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 25, 2026

Deploying cxjs with  Cloudflare Pages  Cloudflare Pages

Latest commit: f87fb03
Status:🚫  Build failed.

View logs

vedranvucic77 and others added 4 commits March 25, 2026 11:22
…e assets

- Convert CTA gradient PNGs to WebP with PNG fallback (2MB -> 667KB dark)
- Scope dark mode --background override to landing page only (revert global.scss)
- Replace all hardcoded hex colors in header with CSS variables
- Fix fragile copy button selector (use element ID)
- Add aria-label to all feature demo videos
- Remove duplicate theme initialization from header
- Add fetchpriority="high" to hero honeycomb images for LCP
- Use client:visible for hidden example tabs (defer JS loading)
- Extract footer into semantic <footer> element
- Extract IBM Plex Mono inline styles into .nl-mono CSS class

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
MP4 doesn't support transparency, causing white backgrounds where
GIFs had transparent pixels. WebM with VP9 (yuva420p) preserves
alpha channel while still achieving great compression (30MB -> 4.3MB).

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@vedranvucic77 vedranvucic77 merged commit 0f4cbce into master Mar 25, 2026
6 of 7 checks passed
@vedranvucic77 vedranvucic77 deleted the new-landing-page branch March 25, 2026 10:41
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