/osszevetesek compares any two of the user's charts (own and persons); the person card and the person's chart page have "Összevetés velem". The comparison page shows a double wheel (first person inside with houses, second outside, aspects between them), the aspects by character, and tabs: paid relationship analysis (synastry unit), the cross aspect grid, house overlays, composite and the full aspect list. Correcting a person within the hour now deletes the user's own comparisons with them instead of being refused; still refused after a paid analysis or when someone else's comparison uses the chart. The relationship analysis prompt is editable on /admin/promptok too, and can be tried on one of the admin's comparisons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
35 lines
877 B
TypeScript
35 lines
877 B
TypeScript
import Link from "next/link";
|
|
|
|
import type { Me } from "@/lib/types";
|
|
|
|
import { LogoutButton } from "./LogoutButton";
|
|
import { NavLinks } from "./NavLinks";
|
|
|
|
export function Logo() {
|
|
return (
|
|
<Link href="/" className="logo">
|
|
sors<span>fonalak</span>
|
|
</Link>
|
|
);
|
|
}
|
|
|
|
export function SiteHeader({ me }: { me: Me }) {
|
|
const links = [
|
|
{ href: "/keplet", label: "Képletem" },
|
|
{ href: "/szemelyek", label: "Személyek" },
|
|
{ href: "/osszevetesek", label: "Összevetések" },
|
|
{ href: "/profil", label: "Profil" },
|
|
];
|
|
if (me.user.roles.includes("admin")) links.push({ href: "/admin", label: "Admin" });
|
|
return (
|
|
<header className="site-header">
|
|
<Logo />
|
|
<NavLinks links={links} />
|
|
<div className="who">
|
|
<span>{me.user.display_name || me.user.email}</span>
|
|
<LogoutButton />
|
|
</div>
|
|
</header>
|
|
);
|
|
}
|