Implemented breadcrumbs

This commit is contained in:
2025-07-03 21:44:02 +02:00
parent 287ef67c37
commit 51ff6c1ade
6 changed files with 187 additions and 61 deletions

View File

@ -1,7 +1,7 @@
"use client"
import { Album, Category, Gallery, Tag } from "@/generated/prisma"
import { CalendarDaysIcon, FolderIcon, LayersIcon, QuoteIcon, TagIcon } from "lucide-react"
import { CalendarDaysIcon, ImagesIcon, LayersIcon, QuoteIcon, TagIcon } from "lucide-react"
import Link from "next/link"
type Props = {
@ -62,7 +62,7 @@ export default function ImageMetadataBox({
{album && (
<div className="flex items-center gap-2 flex-wrap">
<FolderIcon className="shrink-0 w-4 h-4 text-muted-foreground mt-[1px]" />
<ImagesIcon className="shrink-0 w-4 h-4 text-muted-foreground mt-[1px]" />
<Link href={`/galleries/${album.gallery?.slug}/${album.slug}`} className="text-sm underline">
{album.name}
</Link>