Instruction file imported from vamsibatchu1/vibenbuild (
.cursor/rules/stills.mdc). Copyright stays with the author.
Home / stills
Runbook: src/assets/home/README.md.
Home posters (CreativeTextRow)
- Home-only images →
src/assets/home/posters/. Shared with Writing →src/assets/shared/stills/. - Import + add flow image in
src/features/home/creativeFlow.ts(id, column, top, widthRatio, float, aspectRatio, src, alt). - Layout helpers:
src/features/home/creativeTextLayout.ts. Preferobject-contain(no crop). - Center silhouette:
src/assets/home/creative-intelligence.svg(wired viacreativeFlow.shapeSrc). - Page shell only:
src/pages/Home.tsx— don’t dump long flow copy back into the page.
Images are draggable wrap obstacles; dragging rearranges wrap path only.
Writing figures
Article-only → src/assets/writing/figures/. Shared heroes → src/assets/shared/stills/. In article JSON use filename-only "src". Resolved by writingArticles.ts glob — no Home import required.
Home creative-text posters are desktop-only (CreativeTextRow hides wrap images below 1024px). Still add them in creativeFlow.ts for desktop.
Do / don't
- ✅ Home posters need explicit import in
creativeFlow.ts - ❌ Don’t use old paths
stills/orhome-assets/or put posters only inHome.tsx