Component library
First reusable mini-app workspace is being established.
v0.2-first-miniapp
The first living library of portable SiteFactory building blocks. Each component is plain HTML and CSS, designed to be readable by humans and easy for future agents to copy into new projects.
Core Module Pack: templates/core-module-pack/. Preview it at /template-previews/core-module-pack/; keep the template folder as the canonical reusable source pack.
This component library is the workspace for reviewing building blocks. The core module pack is the reusable source pack for copying modules into future projects.
First reusable template: templates/minimal-landing/. Preview it at /template-previews/minimal-landing/index.html; keep the root template as canonical source.
First functional mini-app template: templates/todo-list-app/. Preview it at /template-previews/todo-list-app/index.html; keep the template folder as canonical source.
First real project: projects/sthlm-electro/. Preview it at /project-previews/sthlm-electro/index.html; keep the project folder as canonical source.
First functional mini-app: projects/todo-list/. Preview it at /project-previews/todo-list/; keep the mini-app folder as canonical source.
Component names should follow NAMING.md. Use the same word for the same thing everywhere.
The registry at /docs/registry.html indexes reusable parts, projects, templates, miniapps and previews.
Workspace
Current status, decisions, and next steps.
<header class="sf-section-header">
<p class="sf-kicker">Workspace</p>
<h3>Project Overview</h3>
<p>Current status, decisions, and next steps.</p>
</header>
First reusable mini-app workspace is being established.
<article class="sf-card sf-card-status">
<div class="sf-status-row">
<span class="sf-status-badge">In progress</span>
</div>
<h3>Component library</h3>
<p>First reusable mini-app workspace is being established.</p>
</article>
Astro provides development and preview. Mini-app markup stays portable.
<article class="sf-card">
<h3>Astro boundary</h3>
<p>Astro provides development and preview. Mini-app markup stays portable.</p>
</article>
10
First reusable building blocks
<article class="sf-card">
<p class="sf-metric-value">10</p>
<p class="sf-metric-label">First reusable building blocks</p>
</article>
Use these pieces in one real page before extracting more patterns.
<section class="sf-panel">
<h3>Next step</h3>
<p>Use these pieces in one real page before extracting more patterns.</p>
</section>
<section class="sf-panel">
<h3>Build checklist</h3>
<ul class="sf-checklist">
<li>Inspect relevant files.</li>
<li>Keep markup portable.</li>
<li>Run the build.</li>
</ul>
</section>
<ul class="sf-tag-list" aria-label="Project tags">
<li class="sf-tag">local-first</li>
<li class="sf-tag">portable</li>
<li class="sf-tag">plain HTML</li>
</ul>
<aside class="sf-note">
<h3>Agent note</h3>
<p>Do not convert this page into an Astro route unless there is a clear reason.</p>
</aside>
<a class="sf-link-card" href="./dashboard.html">
<h3>Project dashboard</h3>
<p>Open the current SiteFactory test dashboard.</p>
</a>
<div class="sf-button-row">
<a class="sf-button sf-button-primary" href="./dashboard.html">Open dashboard</a>
<a class="sf-button" href="./review.html">Review checklist</a>
</div>