feat: add branded editorial photo catalog
This commit is contained in:
1 parent
f6e6018cc1
commit
66f0599653
20 files changed
+1299
-36
No files matched your search
@@ -0,0 +1,19 @@
|
||||
/* eslint-disable @next/next/no-img-element */
|
||||
|
||||
type BrandLogoProps = {
|
||||
variant: "black" | "white";
|
||||
};
|
||||
|
||||
export function BrandLogo({ variant }: Readonly<BrandLogoProps>) {
|
||||
const source = variant === "white" ? "/brand/logo-white.png" : "/brand/logo-black.png";
|
||||
|
||||
return (
|
||||
<img
|
||||
alt="Leon Tonhäuser Sportfotografie"
|
||||
className="brand-logo"
|
||||
height="64"
|
||||
src={source}
|
||||
width="250"
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user