Brummel 83726ed040 feat(hero): responsive srcset for carousel slides
Phones were downloading the full 1.5 MB / 2 MB hero JPEG. Now the
image macro emits a `srcset` ladder (480/768/1200/1600/2560/3840/5345 w)
with `sizes="100vw"`, so a 480 px-wide phone picks the ~19 KB variant
and 5K screens still get the native resolution.

Also drop `loading="lazy"` on the first slide — it is the LCP element
and should load eager.

Macro changes:
- Add `srcset_widths` (CSV string, since Tera macros only allow scalar
  defaults) and `sizes` parameters.
- Add `lazy=true` parameter; callers can pass `lazy=false` for
  above-the-fold images.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 12:31:47 +02:00
2026-05-21 12:21:55 +02:00

Praxis am Lienhardplatz — Static Site

Static rebuild of the practice website, replacing the previous Grav 1.4.3 installation.

Build

zola build       # production build → ./public/
zola serve       # dev server with auto-reload → http://127.0.0.1:1111

Deploy (staging)

zola build
rsync -av --delete public/ mycelium:public/praxis/

Staging URL: https://preview.praxis-am-lienhardplatz.de

Layout

  • content/ — Markdown pages
  • templates/ — Tera templates
  • static/ — verbatim assets (JS, CSS, fonts, images)
  • sass/ — SCSS sources (compiled by Zola)
  • docs/specs/ — design specs
  • docs/plans/ — implementation plans
S
Description
No description provided
Readme 13 MiB
Languages
CSS 54.8%
HTML 22.1%
JavaScript 21.9%
Shell 1.2%