Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/pages/code/[...path].vue
Original file line number Diff line number Diff line change
Expand Up @@ -339,16 +339,17 @@ useSeoMeta({

<!-- Breadcrumb navigation -->
<nav
v-if="filePath"
aria-label="File path"
class="flex items-center gap-1 font-mono text-sm overflow-x-auto"
>
<NuxtLink
v-if="filePath"
:to="getCodeUrl()"
class="text-fg-muted hover:text-fg transition-colors shrink-0"
>
root
</NuxtLink>
<span v-else class="text-fg shrink-0">root</span>
Comment on lines +346 to +352
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idea here was to only have the link outside of the root, but can simplify if this is overly complex for breadcrumb linkage.

<template v-for="(crumb, i) in breadcrumbs" :key="crumb.path">
<span class="text-fg-subtle">/</span>
<NuxtLink
Expand Down