# Code Generation Plan - Unit 2: Display fallbacks Feature: prerendering. Unit: 2 "display-fallbacks" (fade-in, no JavaScript, first photo). This plan is the single source of truth for Code Generation (Part 2). Execute the steps in order, mark each checkbox `[x]` as soon as its "Done when" is met, and do not deviate from the plan. ## 0. Context an executor needs ### 0.1 What is built The site is React 19.3 + TanStack Start static prerendering + Chakra UI v3 in `web/`, hosted statically (nginx on test, IIS on production) with a strict CSP (`script-src 'self'` + Umami; `style-src 'self' 'unsafe-inline'`). Unit 1 is built: every page is a prerendered HTML file, inline scripts are moved to files by a build step that fails on violations, and the hydration rule holds: the first browser render equals the HTML; browser-only values apply afterwards (`useHydrated`, server-safe defaults). Unit 2 covers FR-PR-09 to 13, FR-PR-21 and the no-JavaScript side of FR-PR-22, plus NFR-PR-P-01 and P-03 (measurement), NFR-PR-Q-01 and Q-03 (tests), NFR-PR-SEC-01. It does five things: 1. `Reveal` is visible in the HTML and in the first browser render; after hydration only an element wholly below the viewport is hidden (without transition) and fades in on scroll (BR-RVL). 2. `DeferredImage` gets a `