No description
User request: the earlier public-page variant had awareness content
("Was sind Skills?", "Was sind die Risiken?", how the rule-set / security
checkpoints work). The current Catalog public page is fine, but that
information was gone. Bring it back onto the public page.
Changes (artifacts/skillguard):
- New components/public-education.tsx: reusable awareness block with three
sections — "Was ist ein Skill?" (new, 3 explainer cards), "Worin liegt das
Risiko?" (6 risk cards) and "Das Prüfregelwerk" (live useListRules, split
into Datenschutz / IT-Sicherheit with per-rule risk explanations; loading,
error and empty states intact).
- pages/catalog.tsx: render <PublicEducation /> below the catalog listing so
the approved catalog stays primary and the awareness content follows.
- Deleted pages/landing.tsx: unrouted dead code that held the original
content and linked to the removed /dashboard route; its content now lives
in the reusable component.
GET /api/rules is public, so anonymous visitors load the rule set without
auth. Both typechecks (libs + skillguard) pass; verified visually; architect
review PASS.
|
||
|---|---|---|
| .agents/memory | ||
| artifacts | ||
| lib | ||
| scripts | ||
| .gitignore | ||
| .npmrc | ||
| .replit | ||
| .replitignore | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| replit.md | ||
| tsconfig.base.json | ||
| tsconfig.json | ||