feat: standardizer changes
This commit is contained in:
1 parent
8728308fc6
commit
70ebcc9cd5
13 files changed
+147
-119
No files matched your search
@@ -7,6 +7,7 @@ import { loadEditorialDownloadOptions } from "@/modules/downloads/stream";
|
||||
import { lightboxService } from "@/modules/lightbox/service";
|
||||
|
||||
import { requireEditorial } from "../../access";
|
||||
import { PageHeader } from "@/components/ui/page-header";
|
||||
|
||||
type AlbumPageProps = Readonly<{
|
||||
params: Promise<{ albumId: string }>;
|
||||
@@ -41,13 +42,15 @@ export default async function AlbumPage({ params, searchParams }: AlbumPageProps
|
||||
|
||||
return (
|
||||
<section className="editorial-section" aria-labelledby="album-title">
|
||||
<p className="editorial-kicker">Bildarchiv · {result.album.assetCount} freigegebene Fotos</p>
|
||||
<div className="editorial-title-row album-title-row">
|
||||
<h1 id="album-title">{result.album.albumName}</h1>
|
||||
<PageHeader
|
||||
kicker={`Bildarchiv · ${result.album.assetCount} freigegebene Fotos`}
|
||||
title={result.album.albumName}
|
||||
titleId="album-title"
|
||||
>
|
||||
<Link className="quiet-link" href="/redaktion/alben">
|
||||
Alle Alben
|
||||
</Link>
|
||||
</div>
|
||||
</PageHeader>
|
||||
<AlbumSearchForm albumId={result.album.id} query={query} format={format} jahr={jahr} />
|
||||
<PhotoContactSheet
|
||||
albumId={result.album.id}
|
||||
@@ -175,12 +178,18 @@ function normalizedQuery(value: string | undefined): string {
|
||||
function ImmichUnavailable() {
|
||||
return (
|
||||
<section className="editorial-section editorial-state" aria-labelledby="album-title">
|
||||
<p className="editorial-kicker">Bildarchiv</p>
|
||||
<h1 id="album-title">Fotos momentan nicht erreichbar</h1>
|
||||
<p role="status">Bitte laden Sie diese Seite in wenigen Minuten erneut.</p>
|
||||
<Link className="quiet-link" href="/redaktion/alben">
|
||||
Zurück zu den Alben
|
||||
</Link>
|
||||
<PageHeader
|
||||
kicker="Bildarchiv"
|
||||
title="Fotos momentan nicht erreichbar"
|
||||
titleId="album-title"
|
||||
>
|
||||
<div className="flex flex-col gap-2 items-end">
|
||||
<p role="status">Bitte laden Sie diese Seite in wenigen Minuten erneut.</p>
|
||||
<Link className="quiet-link" href="/redaktion/alben">
|
||||
Zurück zu den Alben
|
||||
</Link>
|
||||
</div>
|
||||
</PageHeader>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user