Skip to content

[FEAT] Header polish — typography refinement + scroll-progress bar (DevTrack) #3222

Description

@SagarSingh01

Problem Statement

The header is currently static — there's no visual indicator of scroll position or reading progress as users move through the landing page (Home, Features, Leaderboard sections). Additionally, the header's typography (nav links, the "OPEN SOURCE · FREE FOREVER" badge, and hero stat labels like "CONTRIBUTIONS / 30D" and "DAY STREAK") uses inconsistent letter-spacing, so the header and hero don't read as one cohesive typographic system. This makes an otherwise polished, terminal-inspired design feel slightly disjointed on close inspection.

Image

Proposed Solution

  1. Scroll-progress bar: Add a thin (1–2px) line along the header's bottom edge that fills left-to-right proportional to scroll position (0% at top of page, 100% at bottom). Use the site's existing cyan/blue accent color (already used for the live status dot and the "23 DAY STREAK" ring) with a subtle glow to match the neon/terminal aesthetic. Implement via a scroll listener updating a CSS custom property (--scroll-progress), consumed with transform: scaleX() for smooth, GPU-friendly animation. Respect prefers-reduced-motion by disabling the transition for those users.
  2. Typography consistency: Normalize letter-spacing across nav links, the badge, and stat labels to a shared scale. Fix the optical alignment of the triangle logo mark relative to the "DEVTRACK" wordmark baseline. Confirm inactive nav link weight/color still meets contrast requirements against the dark background.

Feature Area

Landing Page

Alternatives Considered

A full-page scroll indicator (e.g. a sidebar or floating dot) instead of a header-integrated bar — rejected as heavier-handed and less consistent with the site's minimal terminal aesthetic.
Using a solid brand color instead of the existing cyan accent — rejected in favor of reusing an already-established color to avoid introducing a new accent that competes with the current system.
Leaving typography as-is and only shipping the scroll bar — considered, but the two issues are visually related (both fall under "header polish") and are small enough to bundle in one pass.

Acceptance Criteria

  • Scroll-progress bar renders at 0% width at the top of the page
  • Bar fills smoothly and reaches 100% width at the bottom of the page
  • Bar color matches the existing cyan accent, with a subtle glow consistent with the site's theme
  • Bar respects prefers-reduced-motion (instant fill instead of animated transition)
  • No layout shift or visual conflict with the header's sticky/dark translucent background
  • Letter-spacing is consistent across nav links, badge, and stat labels
  • Logo mark is optically aligned with the wordmark baseline
  • Inactive nav link contrast meets accessibility guidelines against the dark background

✨ Additional Context

Small UI details often create the biggest improvements in user experience. A scroll progress indicator is one of those subtle enhancements that users may not consciously notice at first, but immediately miss once it's gone.

As users navigate through long landing pages, documentation, blogs, or feature-rich sections, it's easy to lose track of how much content remains. A slim progress indicator provides continuous visual feedback without occupying additional screen space, making scrolling feel more intentional and guided.

🎯 Why this improves the experience

  • Creates a premium feel – Smooth micro-interactions instantly make the interface feel more polished, modern, and thoughtfully designed.
  • Enhances navigation – Users can estimate how much content remains at a glance without interrupting their reading flow.
  • Improves perceived performance – Continuous progress feedback gives users a stronger sense of movement and responsiveness throughout the page.
  • Encourages deeper engagement – When users know they're nearing the end of a page, they're more likely to continue scrolling instead of leaving midway.
  • Minimal visual footprint – A thin progress line integrates naturally into the existing header without distracting from the primary content.
  • Reinforces visual hierarchy – The header becomes more informative while preserving its clean and uncluttered appearance.

🎨 Visual & Aesthetic Benefits

A carefully designed progress bar can become a subtle signature element of the interface.

Using the project's existing accent color (or an elegant gradient) allows it to:

  • blend seamlessly with the current design language,
  • create a premium "alive" feeling while scrolling,
  • complement modern glassmorphism or blurred headers,
  • add motion without introducing unnecessary visual noise.

When animated smoothly, the progress bar gives the impression that the website is actively responding to every interaction, resulting in a more immersive and fluid browsing experience.

♿ Accessibility

The animation can respect prefers-reduced-motion, ensuring users who prefer reduced animations receive the same functionality without unnecessary motion.


Although technically lightweight, this feature delivers a disproportionately high visual impact. It combines usability, accessibility, and aesthetics into a single reusable component that can enhance every long-form page across the application while maintaining consistency with the existing design system.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgssoc:assignedGSSoC: Issue assigned to a contributorneeds-triageNeeds maintainer triage

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions