- ZIP download from the Merkzettel: every photo is a new usage by default; only already downloaded photos offer "Neu / Bereits genutzt" (SegmentedControl), with thumbnails and a cost summary. "Bild auslassen" is gone. - Toasts (Sakani Toaster) for admin saves, deletes and errors; billing errors are readable and use router.refresh instead of reloads. Errors inside modal dialogs stay inline (a toast would sit behind the backdrop). - Album overview in blog-listing style, Sakani Pagination for albums, search and usage history, skeleton loading states. - Registration stepper; verification mail lands on step 3. - Editorials as a searchable, filterable table; audit log with event picker, German labels and collapsible details. - Release notes 2.4.0 seeded (migration 0009). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
923 B
TypeScript
24 lines
923 B
TypeScript
import { Stepper } from "@/components/ui/sakani";
|
|
|
|
const STEPS = [
|
|
{ label: "Registrieren", description: "Firmen- und Kontaktdaten" },
|
|
{ label: "E-Mail bestätigen", description: "Link in Ihrem Postfach" },
|
|
{ label: "Freigabe", description: "Wir prüfen Ihre Angaben" },
|
|
{ label: "Loslegen", description: "Alben ansehen und laden" },
|
|
];
|
|
|
|
/** Where the editorial stands in the sign-up process (0-based step). */
|
|
export function RegistrationSteps({ current }: Readonly<{ current: 0 | 1 | 2 | 3 }>) {
|
|
return (
|
|
<nav aria-label="Ablauf der Registrierung" className="mb-2">
|
|
{/* Wrappers switch the layout: Sakani's CSS outranks Tailwind's display on its root. */}
|
|
<div className="hidden sm:block">
|
|
<Stepper current={current} steps={STEPS} />
|
|
</div>
|
|
<div className="sm:hidden">
|
|
<Stepper current={current} orientation="vertical" steps={STEPS} />
|
|
</div>
|
|
</nav>
|
|
);
|
|
}
|