🔨 Refactor Breadcrumbs component

- Update Breadcrumbs component to use `a` elements
- Add link and `w-full` class to `a` element in Breadcrumbs component

[src/lib/components/Breadcrumbs.svelte]
- Change `div` to `a` element in Breadcrumbs component
- Add link to `a` element in Breadcrumbs component
- Add `w-full` class to `a` element in Breadcrumbs component
This commit is contained in:
Kiril Videlov 2023-03-03 10:34:56 +01:00
parent c08b8f2a37
commit b9ff930d84

View File

@ -59,8 +59,8 @@
</ul> </ul>
<span class="w-full border-t border-zinc-700" /> <span class="w-full border-t border-zinc-700" />
<!-- svelte-ignore a11y-click-events-have-key-events --> <!-- svelte-ignore a11y-click-events-have-key-events -->
<div class="m-2"> <div class="m-2 flex">
<div class="p-2 rounded hover:bg-zinc-700 cursor-pointer">Add repository...</div> <a href="/" class="p-2 w-full rounded hover:bg-zinc-700 cursor-pointer">Add repository...</a>
</div> </div>
</div> </div>
</Popover> </Popover>