Skip to content

feat(showcase): implement home page with hero, stats, code snippet, a… - #160

Merged
miguelramos merged 11 commits into
nextfrom
feature/line-ui-6zy-3-home-page
Mar 20, 2026
Merged

feat(showcase): implement home page with hero, stats, code snippet, a…#160
miguelramos merged 11 commits into
nextfrom
feature/line-ui-6zy-3-home-page

Conversation

@miguelramos

Copy link
Copy Markdown
Member

…nd navigation cards

Wire 'home' into the panel system as the default landing page. Add logo click handler in sc-nav to navigate back to home. Full home page with wordmark hero, intro blurb, CSS theming snippet (using sc-code-block), 4-stat summary row, and 10 navigation cards dispatching sc-navigate events.

…nd navigation cards

Wire 'home' into the panel system as the default landing page.
Add logo click handler in sc-nav to navigate back to home.
Full home page with wordmark hero, intro blurb, CSS theming snippet
(using sc-code-block), 4-stat summary row, and 10 navigation cards
dispatching sc-navigate events.
@miguelramos miguelramos self-assigned this Mar 20, 2026
@miguelramos miguelramos added the ✨ TYPE: Feature New feature or capability label Mar 20, 2026
@changeset-bot

changeset-bot Bot commented Mar 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 71bb91c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Miguel Ramos added 10 commits March 20, 2026 14:57
When no stored mode preference exists in localStorage, the app now
respects the user's OS prefers-color-scheme setting instead of
always defaulting to dark mode.
…tions section

Add a subtle radial gradient + dot pattern to the hero background using
the active schema's --line-solid-background as accent (dark-mode-first
with :host([light]) overrides).

Add a "Built with tokens" section between the stats row and the Explore
card grid, showcasing 5 native HTML compositions styled purely with
--line-* semantic tokens: content card, info banner, image card, pricing
card, and login form. Responsive 3/2/1 column grid layout.
Restructure the home page into a clear visual hierarchy:
- Hero section (full width) with wordmark, tagline, and intro
- "Built with tokens" header above a two-column showcase section
  - Left column: sticky CSS usage code snippet
  - Right column: composition showcase wall (content card, login form,
    info banner, image card, pricing card) in a 2-column grid with
    varied spans for visual interest
- Stats row (full width)
- Explore card grid (full width)

Responsive: stacks to single column below 768px. All styling uses
semantic tokens, dark mode first with :host([light]) overrides.
No inline styles — all grid placement via CSS classes.
…n home page

- Increase hero gradient intensity (22%/14% dark, 16%/10% light) and extend
  ellipse sizes for a fuller, more premium background
- Add text-shadow glow behind the wordmark using the active schema color
- Bump dot pattern opacity from 0.3/0.4 to 0.4/0.5 for subtle visibility gain
- Use --line-solid-background directly for section titles (accent color)
- Apply color-mix(in oklch) blends for tagline, section subtitles, composition
  card titles, login heading, image title, and nav card titles — creating a
  rich visual hierarchy that adapts automatically on schema switch
- Remove redundant :host([light]) color overrides for elements that now use
  color-mix with semantic tokens (tokens already adapt to light/dark mode)
…ierarchy

- Hero gradient: single centered radial-gradient instead of 3 split
  ellipses that created visible seams
- Titles (.comp-card-title, .comp-login-heading, .comp-image-title,
  .card-title): restored to --line-high-contrast (white/black)
- Descriptions (.tagline, .section-subtitle): restored to
  --line-low-contrast for proper readability
- Section labels and category badges keep accent color
- Gradient + dot pattern now cover the entire page (not just hero),
  with multiple radial-gradient layers and a fading dot grid
- All titles use color-mix(15% accent, high-contrast) for subtle tint
- All descriptions use color-mix(10% accent, low-contrast) for tint
- Section labels keep pure accent color
- Removed stale :host([light]) color overrides — color-mix with
  semantic tokens adapts automatically to light/dark mode
- When schema changes, every tinted color updates automatically
- Hero section left-aligned instead of centered
- Top padding reduced from 7.5rem to 1.5rem to align wordmark
  closer to the nav bar
- Intro blurb left-aligned with margin adjusted
- Hero section now has its own background (5% accent tinted) with
  a subtle border, making it visually distinct from the rest
- Reduced hero top padding to zero gap with content area
- Dot grid pattern: smaller dots (0.5px), fades in from top (avoids
  artifact at page edge), fades out at 65%
Changed pseudo-elements from position: absolute to position: fixed
so the gradient and dot grid cover the entire viewport instead of
being clipped to the component boundaries.
When navigating to home via logo click, the pill indicator stayed on
the previous page because 'home' wasn't in NAV_ITEMS. Adding Home as
the first nav item fixes the pill position and provides a visible
Home link in the navigation bar.
@miguelramos
miguelramos merged commit 0b9650c into next Mar 20, 2026
1 check passed
@miguelramos
miguelramos deleted the feature/line-ui-6zy-3-home-page branch March 20, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ TYPE: Feature New feature or capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant