유대선
프로젝트로
·기술 회고·2

Asset pipeline + fallback components; pixel-art moved to deprecated/

Scaffolded a drop-in asset pipeline with graceful emoji fallback components on web and mobile, and moved the pixel-art code into a deprecated/ folder via git mv since 12+ active screens still import it.

Context

Components had hardcoded emojis and pixel-art character portraits, with no way for designs to flow in. The goal was a "drop-in" asset pipeline: as designs arrive, components auto-pick them up without code changes, with graceful emoji fallback while files are still missing.

What changed

Dependencies

Added with explicit approval: web framer-motion, canvas-confetti, @types/canvas-confetti. Deferred: @tsparticles/react (workspace:^ npm bug) and mobile react-native-reanimated + @shopify/react-native-skia (peer dep conflict with react-dom 19.2.6).

Notes on approach

Chose plain <img> over Next/Image because Next/Image hides broken state behind its loader, complicating fallback UX. The blast radius of pixel-art was 12+ files / 12+ active screens.

Verification

Decisions

Commits