SvelteKit: Project scaffold from prototype #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Depends on daily-100 #1, #2, #3, #4, #5, #6 (all prototype issues).
Repo
forgejo_admin/daily-100User Story
As a developer
I want the prototype converted to a SvelteKit project
So that I have a maintainable component-based frontend
Context
Initialize SvelteKit project. Convert the HTML prototype (index.html, style.css, app.js) into SvelteKit routes and components using the SvelteKit-style comments in the prototype as guides. Components: ChecklistItem, HeatMap, StatsGrid, GamificationHeader, ScoreDisplay. The SvelteKit app should achieve visual parity with the prototype.
File Targets
Files the agent should modify or create:
src/routes/+page.svelte-- main page composing all componentssrc/lib/components/ChecklistItem.svelte-- single checklist rowsrc/lib/components/HeatMap.svelte-- heat map gridsrc/lib/components/StatsGrid.svelte-- 2x2 stats cardssrc/lib/components/GamificationHeader.svelte-- streak + level headersrc/lib/components/ScoreDisplay.svelte-- score countersrc/app.css-- global styles from prototypeFiles the agent should NOT touch:
prototype/-- keep prototype files as referenceAcceptance Criteria
Test Expectations
npm run buildsucceeds without errorsnpm run build && npm run previewConstraints
prototype/directoryChecklist
Related
daily-100-- project