Skip to content
SprecherEast
Issue 202

bug: Hero gaps: a post without a photo shows an empty band, and the medium hero touches the header

Back to our plan
Done
bugfrontendstylingpriority: medium

Type

bug

Summary

Two hero layout gaps: posts without a photo show an empty 80vh band with a black fade, and the medium-impact hero has no space under the header.

Problem

  • src/heros/PostHero/index.tsx:65 has no plain look for a post without a photo.
  • src/heros/MediumImpact/index.tsx:12 sits flush under the header.

Found while taking the UI inventory (https://github.com/boulaajaj/sprecher-east-neighborhood-website/blob/main/docs/ui/evidence.md#bugs-found-while-taking-the-inventory, opens in a new tab, #170).

Proposed fix

Give the post hero a plain variant when there's no image (the DetailHero · plain proposed in docs/ui/component-set.md), and add the standard top spacing to the medium hero.

Acceptance criteria

  • Not done: A post without a photo shows a compact title header with no empty band.
  • Not done: The medium hero has the same top spacing as other page headers.
  • Not done: Checked at 375 and 1280 px in both themes.

Area

frontend, styling

Priority

priority: medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab