fix the fixy zone
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m6s

This commit is contained in:
Lee 2024-04-20 22:29:54 +01:00
parent b5198b5807
commit 24170a5a66

@ -71,10 +71,12 @@ export default function Page({ params: { slug } }: DocumentationPageParams) {
const path = array.slice(0, index + 1).join("/");
return (
<BreadcrumbItem key={slug}>
<BreadcrumbSeparator />
<BreadcrumbLink href={`/docs/${path}`}>{capitalizeFirstLetter(slug)}</BreadcrumbLink>
</BreadcrumbItem>
<div key={slug} className="flex items-center ">
<BreadcrumbSeparator className="px-1.5" />
<BreadcrumbItem>
<BreadcrumbLink href={`/docs/${path}`}>{capitalizeFirstLetter(slug)}</BreadcrumbLink>
</BreadcrumbItem>
</div>
);
})}
</BreadcrumbList>