🧪 BLOCK: similartrips

Purpose: Displays a carousel of similar/related trips — either manually entered entries or sourced live from Algolia. Supports an optional header (title + wysiwyg) and a footer CTA link.

Modes: manual_choice (hand-crafted entries with full metadata) · algolia_choice (live Algolia trips per language tab)

AnchorWhat is tested
similartripsHappy path — manual, 4 entries all fields filled, center / light / no pattern, footer link
similartrips-1Dark bg, default pattern, left align, 6 entries, no header text, no footer link
similartrips-2Subtitle overlay on entries (image overlay + badge), dark / no pattern / center
similartrips-3Single entry edge case — light / center / no pattern
similartrips-4Very long text in tripname, location and duration fields
similartrips-5Empty entries (0 items) — header renders, carousel is suppressed
similartrips-6Algolia choice mode — algolia_select_trips for NL; renders gracefully empty in test env
similartrips-7Minimal / sparse entries — only image + tripname, no tag/icon/location/months/link

Happy path — manual, center, light, no pattern, footer link

Discover more trips that match your style of adventure. From mountain hikes to coastal roadtrips, there is always another journey waiting.

Subtitle overlay on entries — dark, no pattern

Single entry edge case

Very long text in tripname, location and duration fields

Empty entries — header renders, carousel suppressed

No entries are configured. This block should render the header section but suppress the carousel entirely.

Algolia choice mode — gracefully empty in test env

Uses algolia_choice with algolia_select_trips for NL. No Algolia configured in test env so carousel renders empty.

Popup content