⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import ItsAPlanMark from '@/components/brand/ItsAPlanMark';
import { APP_NAME, APP_SITE_URL } from '@/utils/app';
// The header over a public shared page (a board, an issue or a document). It shows the project
// name, the ticker, and an optional trailing label. On a board that label is the
// shared view's name. The product mark links to the product site. The header shows
// identity only, with no app navigation and no session.
export default function PublicShareHeader({
name,
ticker,
trailing,
}: {
name: string;
ticker: string;
trailing?: string;
}) {
return (
<header className="flex shrink-0 items-center gap-3 border-b px-4 py-3">
<div className="flex min-w-0 items-baseline gap-2">
<span className="truncate text-base font-semibold">{name}</span>
<span className="shrink-0 rounded bg-muted px-1.5 py-0.5 text-xs font-medium text-muted-foreground tabular-nums">
{ticker}
</span>
{trailing && (
<span className="min-w-0 truncate text-sm text-muted-foreground">
<span className="pe-2">/</span>
{trailing}
</span>
)}
</div>
<a
href={APP_SITE_URL}
target="_blank"
rel="noreferrer"
className="ms-auto flex shrink-0 items-center gap-1.5 text-muted-foreground hover:text-foreground"
>
<ItsAPlanMark className="size-5" />
<span className="text-sm font-semibold">{APP_NAME}</span>
</a>
</header>
);
}