--- name: html-to-next-page description: Converts static HTML mockups (especially multi-section pages under docs/inputhtmls) into Next.js App Router pages or React section components for this portfolio. Maps Tailwind-style tokens from the mock (primary, background-light/dark, surface, glass-card, animations) to project CSS variables and existing utilities in src/app/globals.css. Use when the user references docs/inputhtmls/*.html, asks to port a section or full page from HTML, or to sync a Storybook-style HTML export with the live site. --- # HTML mockup → Next.js page/section (portfolio-eros) ## Clarify scope 1. **Full page**: New or updated `src/app//page.tsx` composing sections; avoid duplicating `Header` / `Footer` (already in `src/app/layout.tsx`). 2. **Single section**: New or updated component under `src/components/features/` (mirror `home-page/` grouping) and import it from the target page. 3. If the user names a section (e.g. hero, testimonials), extract only that subtree from the HTML (`
`, `
` region, or element with a clear id/class). Read the HTML file completely enough to preserve structure, copy, and responsive classes before coding. ## Strip what never ships - Remove `