diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx
index cd06058..f69bb52 100644
--- a/apps/web/src/App.tsx
+++ b/apps/web/src/App.tsx
@@ -14,6 +14,7 @@ import CookbookPage from './features/cookbook/CookbookPage';
import RecipeCreatePage from './features/recipes/RecipeCreatePage';
import RecipeDetailPage from './features/recipe-detail/RecipeDetailPage';
import NotFoundPage from './features/not-found/NotFoundPage';
+import { devPagesElement } from './dev/devPagesRoute';
export function App() {
const restoreSession = useAppStore((state) => state.restoreSession);
@@ -39,6 +40,8 @@ export function App() {
} />
+ {/* Design-system review pages; only exists in `npm run dev`. */}
+ {devPagesElement && }
);
}
diff --git a/apps/web/src/components/recipe/showcase/RecipeCardShowcase.tsx b/apps/web/src/components/recipe/showcase/RecipeCardShowcase.tsx
index 0686ef1..b88eb53 100644
--- a/apps/web/src/components/recipe/showcase/RecipeCardShowcase.tsx
+++ b/apps/web/src/components/recipe/showcase/RecipeCardShowcase.tsx
@@ -34,7 +34,7 @@ export default function RecipeCardShowcase() {
const [narrowCardSaved, setNarrowCardSaved] = useState(false);
return (
-
+
RecipeCard Showcase
@@ -249,6 +249,6 @@ export default function RecipeCardShowcase() {
-
+
);
}
diff --git a/apps/web/src/components/ui/README.md b/apps/web/src/components/ui/README.md
index 2ed7c71..7b3022f 100644
--- a/apps/web/src/components/ui/README.md
+++ b/apps/web/src/components/ui/README.md
@@ -6,7 +6,7 @@ The component library is intentionally small and project-specific. Add a new gen
## Visual review
-The app currently renders `showcase/UiShowcaseCatalog.tsx`, which displays the component showcases as one long scrollable page. Use it as the primary visual and responsive review surface.
+`showcase/UiShowcaseCatalog.tsx` displays the component showcases as one long scrollable page. Use it as the primary visual and responsive review surface. It is mounted on development-only routes (`src/dev/`), so it is never part of the production build.
Run:
@@ -14,7 +14,16 @@ Run:
npm run dev
```
-Then scroll through the catalog and resize the browser. The showcase is intentionally kept as one page so it is quick to compare components, inspect states, and notice responsive regressions.
+Then open `http://localhost:5173/project2/dev/` and choose a page:
+
+| Route | Content |
+| ------------------ | ---------------------------------------------- |
+| `/dev/ui` | All UI component showcases |
+| `/dev/recipe-card` | `RecipeCard` variants (`../recipe/showcase/`) |
+| `/dev/styles` | Style guide (`src/styles/style_guide/`) |
+| `/dev/style-tests` | Style stress tests (`src/styles/style_tests/`) |
+
+Scroll through the catalog and resize the browser. The showcase is intentionally kept as one page so it is quick to compare components, inspect states, and notice responsive regressions.
Storybook is not currently necessary. The showcase already covers the project's main visual-review need with less setup and maintenance.
diff --git a/apps/web/src/components/ui/SKILL.md b/apps/web/src/components/ui/SKILL.md
index 310e944..4ee1703 100644
--- a/apps/web/src/components/ui/SKILL.md
+++ b/apps/web/src/components/ui/SKILL.md
@@ -8,7 +8,7 @@ The UI folder is a small project-specific component library for the recipe appli
- `src/components/ui/README.md` — human-facing component documentation and usage examples.
- `src/styles/style_guide/SKILL.md` — source of truth for tokens, cascade layers, base styles, utilities, motion, sizing, and global CSS conventions.
-- `src/components/ui/showcase/UiShowcaseCatalog.tsx` — primary visual and responsive review surface.
+- `src/components/ui/showcase/UiShowcaseCatalog.tsx` — primary visual and responsive review surface, at `/project2/dev/ui` in `npm run dev` (see `src/dev/`).
- `src/components/ui/__tests__/` — intentionally small, behavior-focused test suite.
## Folder responsibilities
diff --git a/apps/web/src/components/ui/showcase/ButtonShowcase.tsx b/apps/web/src/components/ui/showcase/ButtonShowcase.tsx
index f79e0cb..de5517e 100644
--- a/apps/web/src/components/ui/showcase/ButtonShowcase.tsx
+++ b/apps/web/src/components/ui/showcase/ButtonShowcase.tsx
@@ -3,7 +3,7 @@ import { surfaceStyle, raisedSurfaceStyle } from './showcaseStyles';
export default function ButtonShowcase() {
return (
-
+
Button Showcase
@@ -414,6 +414,6 @@ export default function ButtonShowcase() {