Skip to content

Commit c125772

Browse files
committed
update nav links to match gnata-sqlite style
Documentation, Playground, rbby.dev — each with icon, matching the gnata-sqlite nav layout.
1 parent 39c5a21 commit c125772

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

packages/website/src/lib/layout.shared.tsx

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
2-
import { ExternalLink, Zap } from "lucide-react";
2+
import { BookOpen, SquareTerminal, Zap } from "lucide-react";
33

44
export const gitConfig = {
55
user: "rbbydotdev",
@@ -22,26 +22,37 @@ export function baseOptions(): BaseLayoutProps {
2222
</span>
2323
),
2424
},
25+
githubUrl: `https://github.com/${gitConfig.user}/${gitConfig.repo}`,
2526
links: [
2627
{
2728
text: (
28-
<span className="inline-flex items-center gap-1">
29+
<span className="inline-flex items-center gap-1.5">
30+
<BookOpen className="size-4" />
31+
Documentation
32+
</span>
33+
),
34+
url: "/docs",
35+
},
36+
{
37+
text: (
38+
<span className="inline-flex items-center gap-1.5">
39+
<SquareTerminal className="size-4" />
2940
Playground
30-
<ExternalLink className="size-3" />
3141
</span>
3242
),
33-
url: "/spac/playground",
43+
url: "https://rbby.dev/spac/playground",
3444
external: true,
3545
},
3646
{
37-
type: "icon",
38-
icon: <Zap className="size-4" />,
39-
label: "rbby.dev",
40-
text: "rbby.dev",
47+
text: (
48+
<span className="inline-flex items-center gap-1.5">
49+
<Zap className="size-4" />
50+
rbby.dev
51+
</span>
52+
),
4153
url: "https://rbby.dev",
4254
external: true,
4355
},
4456
],
45-
githubUrl: `https://github.com/${gitConfig.user}/${gitConfig.repo}`,
4657
};
4758
}

0 commit comments

Comments
 (0)