{#
ProjectDetail content block - before/after comparison slider. ProjectDetail-only block
type, no Actualité equivalent - see "Repeatable Block Templates (Exception)" in
spec-driven-development/rules/section-component-architecture.md.
Parameters:
- block (object): block data with `id`, `type`,
`fields.{beforeImage, afterImage, beforeImagePath, afterImagePath, beforeLabel, afterLabel}`
(`beforeImage`/`afterImage` = media UUIDs for the editor's data-media-id;
`beforeImagePath`/`afterImagePath` = resolved file paths for , set by
ProjectDetailPageEnricher::resolveBlockImages())
Interactive drag behavior (Pointer Events, clip-path) lives in
assets/components/before-after-slider.ts, mounted from assets/project-detail.ts, guarded
by `[data-before-after-handle]` - works identically in edit mode and public view (decision
(c) in spec-driven-development/project-detail-redesign.md). This partial only renders the
static structure + accessibility attributes; layout/positioning is SCSS (follow-up pass).
#}
{% set beforeLabel = block.fields.beforeLabel|default('Avant') %}
{% set afterLabel = block.fields.afterLabel|default('Après') %}