Add ZXDB breadcrumbs and release places
Add ZXDB breadcrumbs on list/detail pages and group release magazine references by issue for clearer Places view. Signed-off-by: codex@lucy.xalior.com
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/navigation";
|
||||
import ZxdbBreadcrumbs from "@/app/zxdb/components/ZxdbBreadcrumbs";
|
||||
|
||||
type Label = { id: number; name: string; labeltypeId: string | null };
|
||||
type Paged<T> = { items: T[]; page: number; pageSize: number; total: number };
|
||||
@@ -33,6 +34,13 @@ export default function LabelsSearch({ initial, initialQ }: { initial?: Paged<La
|
||||
|
||||
return (
|
||||
<div>
|
||||
<ZxdbBreadcrumbs
|
||||
items={[
|
||||
{ label: "ZXDB", href: "/zxdb" },
|
||||
{ label: "Labels" },
|
||||
]}
|
||||
/>
|
||||
|
||||
<h1>Labels</h1>
|
||||
<form className="row gy-2 gx-2 align-items-center" onSubmit={submit}>
|
||||
<div className="col-sm-8 col-md-6 col-lg-4">
|
||||
|
||||
Reference in New Issue
Block a user