fix: breadcrumb

Signed-off-by: Florian Bouillon <f.bouillon@aptatio.com>
This commit is contained in:
Florian Bouillon 2023-10-02 17:41:47 +02:00
parent fb97ea4a9d
commit 0f1a3b7cc8

View File

@ -12,10 +12,10 @@ interface Props {
{Astro.props.items.map((el, index) => ( {Astro.props.items.map((el, index) => (
<li property="itemListElement" typeof="ListItem" class="inline-block px-0"> <li property="itemListElement" typeof="ListItem" class="inline-block px-0">
{index > 0 && ( {index > 0 && (
<span class="text-slate-900 dark:text-slate-100 mx-4">/</span> <span class="text-gray-900 dark:text-gray-100 mx-4">/</span>
)} )}
{el.href ? ( {el.href ? (
<a class="text-slate-900 dark:text-slate-100 font-normal" href={el.href} property="item" typeof="WebPage"> <a class="text-gray-900 dark:text-gray-100 font-normal" href={el.href} property="item" typeof="WebPage">
<span property="name">{el.text}</span> <span property="name">{el.text}</span>
</a> </a>
) : ( ) : (