Skip to content

Commit 4ac8f33

Browse files
committed
Fixes navigation to docs
1 parent 7c65822 commit 4ac8f33

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/Header.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header class="sticky top-0 z-50 flex items-center justify-between px-3 py-2 border-b shadow-lg bg-white/90 backdrop-blur-sm border-slate-400/40">
22
<div class="flex items-center flex-grow basis-0">
3-
<a href="" class="text-lg font-semibold tracking-tight text-slate-900">
4-
Spinal docs
3+
<a href="/" class="text-lg font-semibold tracking-tight text-slate-900">
4+
Spinal docs for Astro
55
</a>
66
</div>
77

src/components/Navigation.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const groupedDocs = docs.reduce((docs, object) => {
3434
{
3535
section[1].map((item) => (
3636
<li>
37-
<a href="{item.title}" class="text-slate-900 hover:text-slate-800">
37+
<a href={item.url} class="text-slate-900 hover:text-slate-800">
3838
{item.frontmatter.title}
3939
</a>
4040
</li>

0 commit comments

Comments
 (0)