26 lines
819 B
TypeScript
26 lines
819 B
TypeScript
import type { ReactNode } from "react";
|
|
|
|
import Link from "next/link";
|
|
|
|
import { BrandLogo } from "@/components/brand/logo";
|
|
|
|
export function PortalShell({ children }: Readonly<{ children: ReactNode }>) {
|
|
return (
|
|
<div className="editorial-shell">
|
|
<header className="portal-masthead">
|
|
<Link aria-label="Zur Albenübersicht" className="portal-brand" href="/redaktion/alben">
|
|
<BrandLogo variant="white" />
|
|
</Link>
|
|
<div className="portal-masthead-meta">
|
|
<span>Redaktionsarchiv</span>
|
|
<nav aria-label="Redaktion">
|
|
<Link href="/redaktion/alben">Alben</Link>
|
|
<Link href="/redaktion/profil">Profil</Link>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
<main className="editorial-work-surface">{children}</main>
|
|
</div>
|
|
);
|
|
}
|