Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

v1: hero buttons should skip past #navigate to the first content section

Aperta
#73 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
74/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html
Ambito
frontend, web-dev

Direzione di ricerca

Inizia controllando il markup di hero-button e le sezioni di destinazione nelle pagine HTML elencate, quindi leggi assets/js/main.js per comprendere il comportamento del trigger di scrollex. Aggiorna ogni pagina elencata in modo che punti alla prima sezione di contenuto specificata, rivedi l'etichetta del pulsante di sitemap.html e verifica che la sezione animata venga visualizzata dopo il clic sia alla larghezza desktop sia a 360px.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

On every v1 content page, the hero button ("Tell Me More...", or "Read T&Cs" on the terms page) smooth-scrolls to #navigate, the grid of Navigate buttons. It should skip past that grid to the page's first real content section.

Why

The content sections animate in via scrollex in assets/js/main.js. .items and .gallery blocks (and the $wrapper.children() sections) have top: '30vh', bottom: '30vh', so they only lose is-inactive once they reach the middle band of the viewport. When the hero button lands on #navigate, the next section sits too low to trigger. Its content stays hidden until you scroll a little further by hand, which is the annoying bit. Landing on the content section itself should put it inside the trigger band straight away.

The Navigate grid stays where it is and is still reachable by scrolling up. Only the hero button's target changes.

Scope

None of these pages has a #pages anchor (only sitemap.html does), so each page needs its own target: the first section after #navigate.

Page Current Proposed target
bellringing.html #navigate #what-is-it
cars.html #navigate #mx5
coffee.html #navigate #specialty
engineer.html #navigate #explore
engineer-ai.html #navigate #cyber-range
engineer-devops.html #navigate #iac
engineer-firmware.html #navigate #firmware
leader.html #navigate #numbers
photographer.html #navigate #event
prod_tech.html #navigate #sound-engineer
sitemap.html #navigate #pages
terms-and-conditions.html #navigate #terms

Out of scope: index.html already targets its first content section (#first), and travel.html / under_construction.html have no hero button.

Open question

Should the per-page anchors stay as they are, or should every page's first content section get a shared id (e.g. #content) so every hero button carries the same href? A shared id makes the pages uniform and future pages easier, but it means renaming ids that may already be deep-linked.

Acceptance

  • Every hero button above targets the page's first content section.
  • On each page, clicking the hero button reveals that section's animated content with no extra manual scroll, at desktop and at the 360px floor.
  • sitemap.html's button label is revisited once it targets #pages ("Jump to Pages" becomes accurate again).

Follows from review on #68.

Lingua principale
HTML
Stelle
0
Fork
0
Merge medio
8h 17m
PR unite (30g)
58

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di laywill/laywill.github.io

Tutte le issue di laywill/laywill.github.io

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.