Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#73 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
74/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
html
Área
frontend, web-dev

Línea de trabajo

Comienza comprobando el marcado de hero-button y las secciones de destino en las páginas HTML indicadas; después, lee assets/js/main.js para entender el comportamiento del disparador de scrollex. Actualiza cada página indicada para que apunte a su primera sección de contenido especificada, revisa la etiqueta del botón de sitemap.html y verifica que la sección animada aparezca después de hacer clic tanto con el ancho de escritorio como con 360px.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
HTML
Estrellas
0
Forks
0
Merge medio
8 h 17 min
PR fusionados (30 d)
58

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de laywill/laywill.github.io

Todos los issues de laywill/laywill.github.io

Issues similares

Más issues de Web Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.