Tomter fra lufta på forsiden: et kart som snur seg sakte
lint-and-reload / lint (push) Successful in 4s

hero.js tegner Tomter med MapLibre fra portalens egen proxy
(/maplibre-gl.js, /map/style.json, /map/tiles), så ingenting fra
tredjepart lastes i siden og Mapbox-nøkkelen blir på serveren. Uten
MAPBOX_TOKEN på instansen svarer stilen 404, og stykket er tomt. Ikke
interaktivt, skjult for skjermlesere, og stille med prefers-reduced-motion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
This commit is contained in:
blandClaude Opus 5.5 committed 2026-11-07 17:50:51 +01:00
1 parent b66319118b
commit af80cc3839
2 files changed
+171

No files matched your search

+6
View File
@@ -5,6 +5,12 @@ wordmark_invert: false
wordmark_height: 2.4
stylesheet: custom.css
favicon: images/logo.svg
# Tomter from above on the landing page: this repo's own module, served
# at /site/hero.js. The map comes from portal's own proxy, so it needs
# MAPBOX_TOKEN on the instance; without it the piece is empty.
hero:
kind: module
module: hero.js
# Who mail from this site comes from (delivered by gdo through kasse's
# postfix). kasse signs @tomtervel.no with its own DKIM key (selector
# `kasse`), and the vel's SPF lets kasse send beside Zoho, so the mail