Compositions · Preview · requirements · design · tasks

Volcano cameras - Requirements

Problem

Someone wants to see GeoNet's volcano cameras right now — the same gallery as

beta.geonet.org.nz/volcano/cameras:

latest stills from the remote network, named, linked through to each camera's page.

Reviewing an invented card grid with placeholder art is not useful. This slice

replicas that page so it can be reviewed next to beta and later lifted into a Go

template.

In scope

Out of scope

cameras.geonet.org.nz host (beta does not use that host for these stills).

Data

Live stills published under https://images.geonet.org.nz/volcano/cameras/latest/,

refreshed by GeoNet about every ten minutes. Names, alts, and detail paths are

static in the fragment — the same place beta keeps them.

FieldSourceNotes
Camera idstatic in markupPath segment, e.g. ruapehunorth
Display namestatic in markupe.g. Whakatāne, Taranaki Maunga
Image URLimages.geonet.org.nz/…/latest/{id}.jpgAbsolute so the kit preview loads off localhost
Detail hrefbeta.geonet.org.nz/volcano/cameras/{id}Absolute for the same reason
Alt textstatic in markupMatches beta (name + period)

Cameras in beta order: Raoul Island, Te Kaha, Whakatāne, Tongariro, Tongariro Te

Maari Crater, Ruapehu North, Ngauruhoe, Ruapehu East, Ngauruhoe & Tongariro,

Ruapehu South, Taranaki Maunga.

Requirements

1. R1 Render beta's page-hero with the volcano undulating pattern, the heading

"Volcano Cameras", and the lead copy from the live page.

2. R2 Render beta's tab-bar with About, Cameras (aria-current), and Cameras Map;

About and Map link to the corresponding pages on beta.

3. R3 Render beta's media-gallery / media-block markup for every camera in

the Data table order, with live <img> sources on images.geonet.org.nz.

4. R4 Each still is wrapped in a link to that camera's page on beta; the caption

uses the GDS details / summary -chevron pattern with the display name.

5. R5 Display names carry correct macrons (e.g. Whakatāne) and match beta.

6. R6 Alt text describes the camera by name (as beta does) and is not the bare

word "image".

7. R7 Link beta's tab-bar.css. Media-gallery / media-block styling comes from

the design system already on the base; page-hero CSS is already on the base.

8. R8 designSystem: link is required for a reviewable preview; none is not a

supported review state for this slice.

9. R9 No fixture states. Live stills only (same posture as haz-map).

10. R10 Emit hero + gallery as HTML fragments whose markup and class names

require no edits to be placed in a Go html/template, using only

server-substitutable config for copy knobs.

States

StateTriggerExpected
LoadingImages resolvingGallery figures present; browser shows empty/width=100% boxes until decode
PopulatedStills return 200All eleven latest frames visible with captions
Single failureOne still 404sBrowser broken-image for that tile; other stills unaffected; page chrome intact
ErrorImage host unreachableBroken images; hero, tabs and chrome still intact

Acceptance

npm run build emits /c/volcano-camera-beta/

Live preview loads stills from images.geonet.org.nz (no cameras.geonet.org.nz)

Camera set, order and names match https://beta.geonet.org.nz/volcano/cameras

Compared next to beta at desktop and 320px

Reviewed on the preview URL by a second person