5 Commits

Author SHA1 Message Date
Brummel 385dce04e5 fix(images): match live <p>-wrapped img markup, drop width/height attrs
Two related fixes for the visual gaps reported after the previous pass:

1. Doctor portraits on /team were horizontally compressed. Cause: explicit
   width="200"/height="200" attributes interacted with Bootstrap's
   `img { display:block; max-width:100%; height:auto }` and `.float-right`
   padding to squish the rendered box. Dropping the attributes lets the
   browser use the resized image's intrinsic 200x200 dimensions, with the
   padding sitting around the image instead of inside its width.

2. Vertical rhythm was a few pixels off vs live. Cause: the live Grav
   markdown wraps standalone image references in <p> (markdown spec),
   adding the expected paragraph margin. Our shortcode emitted bare <img>
   with no wrapper, so the following <p> was visually slightly closer.
   Wrap the shortcode calls in <p> in the 6 service pages and 3 doctor
   blocks to restore the rhythm.
2026-05-21 10:03:04 +02:00
Brummel 181e9639ed fix(images): drop forced upscaling, match live image sizes
The image macro was resizing every call to its width arg, including
upscaling 270x180 service thumbnails to 600x400 and rendering 400x400
doctor portraits at full size. Live serves service thumbs at native
270x180 (CSS-floated) and doctor portraits at 200x200.

- image macro: width=0 (default) skips resize, emits raw <img> with no
  width/height — lets theme CSS do the sizing, matching live pattern
- img shortcode: defaults width to 0 so callers can omit it
- service grid (home + 7 service pages): drop width=600
- doctor portraits on /team: width=200 (matches live render)
2026-05-21 09:48:43 +02:00
Brummel e9040f66c5 fix(content): proper md headings and td closing tags in doctors.md 2026-05-21 00:33:26 +02:00
Brummel 4fd0042480 feat(team): restore employees carousel matching live markup 2026-05-21 00:33:24 +02:00
Brummel 7deb8372cf feat: team section with doctors, employees, jobs
Migrates three Grav modular subpages to Zola child pages under
content/team/. Doctors page preserves inline `id="Riemann"`,
`id="Krey"`, `id="Malyga"` anchors so home-page team preview links
(/team#Riemann etc.) resolve correctly. Employees slides YAML converted
to plain markdown with img shortcodes. Jobs page carries `draft = true`
matching original `published: false`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 22:46:51 +02:00