Skip to content

fix(landing): mobile hero without install CTA and GitHub entry in header - #228

Merged
gnacho merged 1 commit into
mainfrom
fix/227-mobile-nav-extras
Oct 28, 2026
Merged

gnacho merged 1 commit into
mainfrom
fix/227-mobile-nav-extras

Conversation

@gnacho

@gnacho gnacho commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Follow-up to #224.

Problem

On phones the hero still led with the "Instalar" button, which points to a GNOME package section a mobile visitor cannot use. At the same time the compact header from #224 had no link to the repository, since the desktop anchors and install CTA are hidden below 860 px.

Changes

  • landing/index.html: the hero install CTA gets a hero-install class and a GitHub icon link is added to the header actions, pointing to the repository with an accessible label.
  • landing/styles.css: the GitHub icon only shows at max-width: 860px, the hero install CTA is hidden there, and the desktop layout is untouched.
  • landing/i18n.js: misc.github label in ES and EN. Cache-bust bumped to ?v=4.

Verification

Playwright suite at 360, 390, 414, 1280 and 1440 px: 55/55 checks passing locally and 55/55 against production.

  • Phones: header stays a 57 px row that scrolls away, GitHub icon visible and labelled, hero install CTA hidden, hero keeps the GitHub button.
  • Desktop: sticky 63 px header with anchors, install CTA, hero install CTA, and no duplicate GitHub icon.
  • No horizontal overflow, ES/EN switching and theme toggle working, no console errors.

Already deployed to https://nextsync.cloudless.club/ and verified there.

Closes #227

@gnacho
gnacho merged commit 3b9728f into main Oct 28, 2026
2 checks passed
@gnacho
gnacho deleted the fix/227-mobile-nav-extras branch October 28, 2026 20:53
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.

landing: mobile hero should drop the install CTA and offer a GitHub entry

1 participant