Own chart back on the Képletem menu; persons get their own menu, page and a tile
CI / test (push) Failing after 41s
CI / build (push) Skipped
CI / deploy (push) Skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-17 11:20:26 +00:00
co-authored by Claude Opus 5.5
parent fef1605848
commit 0791998c13
9 changed files with 114 additions and 92 deletions
@@ -83,8 +83,8 @@ export function ChartSwitcher({
))}
</ul>
<div className="switcher-foot">
{canAdd && <Link href="/kepletek/uj">+ Új személy</Link>}
<Link href="/kepletek">Összes képlet</Link>
{canAdd && <Link href="/szemelyek/uj">+ Új személy</Link>}
<Link href="/szemelyek">Személyek</Link>
</div>
</div>
)}
@@ -15,7 +15,8 @@ export function Logo() {
export function SiteHeader({ me }: { me: Me }) {
const links = [
{ href: "/kepletek", label: "Képletek" },
{ href: "/keplet", label: "Képletem" },
{ href: "/szemelyek", label: "Személyek" },
{ href: "/profil", label: "Profil" },
];
if (me.user.roles.includes("admin")) links.push({ href: "/admin", label: "Admin" });