fix(index): add label to home breadcrumb

This commit is contained in:
z0x 2025-02-04 23:48:22 -05:00
parent 2166f73bd8
commit 34bfcbff38
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ const { Content, headings } = await render(post);
> >
<Breadcrumbs <Breadcrumbs
items={[ items={[
{ href: "/", label: "", icon: "lucide:archive" }, { href: "/", label: "Home", icon: "lucide:house" },
{ label: post.data.title, icon: "lucide:file-text" }, { label: post.data.title, icon: "lucide:file-text" },
]} ]}
class="col-start-2" class="col-start-2"

View file

@ -40,7 +40,7 @@ const years = Object.keys(postsByYear).sort(
<Container class="flex grow flex-col gap-y-6"> <Container class="flex grow flex-col gap-y-6">
<Breadcrumbs <Breadcrumbs
items={[ items={[
{ label: "", href: "/", icon: "lucide:archive" }, { label: "Home", href: "/", icon: "lucide:house" },
{ label: `Page ${page.currentPage}`, icon: "lucide:folder-open" }, { label: `Page ${page.currentPage}`, icon: "lucide:folder-open" },
]} ]}
/> />