No description
Problem: The "Katalog" nav link pointed to "/" — the same page the visitor is usually on — so it appeared to do nothing, while the actual "Skill-Katalog" grid sits at the bottom beneath the educational section. Changes: - catalog.tsx: gave the "Skill-Katalog" <section> a stable anchor (id="skill-katalog") plus scroll-mt-24 to clear the sticky header. - public-layout.tsx: replaced the generic NAV map with explicit nav buttons. The "Katalog" link now has an onClick handler that: - smooth-scrolls to #skill-katalog when already on "/", - navigates to "/" then scrolls when on another public page. A scrollToCatalog() helper uses requestAnimationFrame polling (up to 20 frames) so the scroll waits until the catalog section has mounted after navigation. Active-state highlight for "/" is preserved. No changes to skill cards, search/filter, or educational content. Typecheck passes; verified the nav renders with "Katalog" active. Replit-Task-Id: c1ed232e-e513-4cb8-9079-d239f5d5030c |
||
|---|---|---|
| .agents/memory | ||
| artifacts | ||
| lib | ||
| scripts | ||
| .gitignore | ||
| .npmrc | ||
| .replit | ||
| .replitignore | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| replit.md | ||
| tsconfig.base.json | ||
| tsconfig.json | ||