feat: standardizer changes
This commit is contained in:
1 parent
8728308fc6
commit
70ebcc9cd5
13 files changed
+147
-119
No files matched your search
@@ -4,6 +4,7 @@ import { loadEditorialDownloadOptions } from "@/modules/downloads/stream";
|
||||
import { lightboxService } from "@/modules/lightbox/service";
|
||||
import type { ImmichSearchPage } from "@/modules/immich/types";
|
||||
import Link from "next/link";
|
||||
import { PageHeader } from "@/components/ui/page-header";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
@@ -56,10 +57,11 @@ export default async function AlbumsPage({ searchParams }: { searchParams: Promi
|
||||
|
||||
return (
|
||||
<div className="space-y-6 max-w-7xl animate-in fade-in slide-in-from-bottom-4 duration-500" aria-labelledby="albums-title">
|
||||
<div>
|
||||
<p className="text-sm font-semibold uppercase tracking-widest text-primary-600 dark:text-primary-500 mb-2">Bildarchiv · Suche</p>
|
||||
<h1 id="albums-title" className="text-4xl font-bold tracking-tight">Suchergebnisse</h1>
|
||||
</div>
|
||||
<PageHeader
|
||||
kicker="Bildarchiv · Suche"
|
||||
title="Suchergebnisse"
|
||||
titleId="albums-title"
|
||||
/>
|
||||
<GlobalSearchForm query={query} format={format} jahr={jahr} />
|
||||
<PhotoContactSheet
|
||||
albumName="Alle Alben"
|
||||
@@ -82,11 +84,12 @@ export default async function AlbumsPage({ searchParams }: { searchParams: Promi
|
||||
|
||||
return (
|
||||
<div className="space-y-8 max-w-7xl animate-in fade-in slide-in-from-bottom-4 duration-500" aria-labelledby="albums-title">
|
||||
<div>
|
||||
<p className="text-sm font-semibold uppercase tracking-widest text-primary-600 dark:text-primary-500 mb-2">Bildarchiv · Freigaben</p>
|
||||
<h1 id="albums-title" className="text-4xl font-bold tracking-tight">Ihre Alben</h1>
|
||||
<p className="text-muted-foreground mt-2">Wählen Sie ein Spiel oder eine Serie, um die freigegebenen Fotos zu durchsuchen.</p>
|
||||
</div>
|
||||
<PageHeader
|
||||
kicker="Bildarchiv · Freigaben"
|
||||
title="Ihre Alben"
|
||||
titleId="albums-title"
|
||||
description="Wählen Sie ein Spiel oder eine Serie, um die freigegebenen Fotos zu durchsuchen."
|
||||
/>
|
||||
<GlobalSearchForm query={query} format={format} jahr={jahr} />
|
||||
{result.albums.length === 0 ? (
|
||||
<p className="text-muted-foreground text-center py-12">Für Ihre Redaktion sind noch keine Fotoalben freigegeben.</p>
|
||||
@@ -169,10 +172,11 @@ async function loadAlbums(editorialId: string) {
|
||||
function ImmichUnavailable() {
|
||||
return (
|
||||
<div className="space-y-6 max-w-7xl animate-in fade-in slide-in-from-bottom-4 duration-500" aria-labelledby="albums-title">
|
||||
<div>
|
||||
<p className="text-sm font-semibold uppercase tracking-widest text-primary-600 dark:text-primary-500 mb-2">Bildarchiv</p>
|
||||
<h1 id="albums-title" className="text-4xl font-bold tracking-tight">Alben momentan nicht erreichbar</h1>
|
||||
</div>
|
||||
<PageHeader
|
||||
kicker="Bildarchiv"
|
||||
title="Alben momentan nicht erreichbar"
|
||||
titleId="albums-title"
|
||||
/>
|
||||
<div className="bg-destructive/15 text-destructive p-4 rounded-md border border-destructive/30" role="status">
|
||||
Bitte laden Sie diese Seite in wenigen Minuten erneut. Ihre Freigaben bleiben unverändert.
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user