Implemented breadcrumbs
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user