Skip to content

Commit b952b6e

Browse files
committed
Adding GitHub link to header
1 parent e10d777 commit b952b6e

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

Spectre.Docs/Components/Shared/SharedHeader.razor

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,21 @@
8686

8787
<!-- Navigation -->
8888
<nav class="hidden md:flex items-center space-x-1">
89-
<a href="/" class="px-3 py-2 rounded-md text-sm font-medium @(CurrentSection == "" ? "bg-base-100 dark:bg-base-800 text-base-900 dark:text-base-100" : "text-base-600 dark:text-base-400 hover:text-base-900 dark:hover:text-base-100 hover:bg-base-100 dark:hover:bg-base-800") transition-colors">
89+
<a href="/" class="px-3 py-2 rounded-md text-sm font-medium @(CurrentSection == "" ? "bg-base-100 dark:bg-base-800 text-base-900 dark:text-base-100" : "text-base-600 dark:text-base-400 hover:text-base-900 dark:hover:text-base-100 hover:bg-base-100 dark:hover:bg-base-800") transition-colors duration-250">
9090
Home
9191
</a>
92-
<a href="/console" class="px-3 py-2 rounded-md text-sm font-medium @(CurrentSection == "Console" ? "bg-base-100 dark:bg-base-800 text-base-900 dark:text-base-100" : "text-base-600 dark:text-base-400 hover:text-base-900 dark:hover:text-base-100 hover:bg-base-100 dark:hover:bg-base-800") transition-colors">
92+
<a href="/console" class="px-3 py-2 rounded-md text-sm font-medium @(CurrentSection == "Console" ? "bg-base-100 dark:bg-base-800 text-base-900 dark:text-base-100" : "text-base-600 dark:text-base-400 hover:text-base-900 dark:hover:text-base-100 hover:bg-base-100 dark:hover:bg-base-800") transition-colors duration-250">
9393
Console
9494
</a>
95-
<a href="/cli" class="px-3 py-2 rounded-md text-sm font-medium @(CurrentSection == "Cli" ? "bg-base-100 dark:bg-base-800 text-base-900 dark:text-base-100" : "text-base-600 dark:text-base-400 hover:text-base-900 dark:hover:text-base-100 hover:bg-base-100 dark:hover:bg-base-800") transition-colors">
95+
<a href="/cli" class="px-3 py-2 rounded-md text-sm font-medium @(CurrentSection == "Cli" ? "bg-base-100 dark:bg-base-800 text-base-900 dark:text-base-100" : "text-base-600 dark:text-base-400 hover:text-base-900 dark:hover:text-base-100 hover:bg-base-100 dark:hover:bg-base-800") transition-colors duration-250">
9696
CLI
9797
</a>
98-
<a href="/blog" class="px-3 py-2 rounded-md text-sm font-medium @(CurrentSection == "Blog" ? "bg-base-100 dark:bg-base-800 text-base-900 dark:text-base-100" : "text-base-600 dark:text-base-400 hover:text-base-900 dark:hover:text-base-100 hover:bg-base-100 dark:hover:bg-base-800") transition-colors">
98+
<a href="/blog" class="px-3 py-2 rounded-md text-sm font-medium @(CurrentSection == "Blog" ? "bg-base-100 dark:bg-base-800 text-base-900 dark:text-base-100" : "text-base-600 dark:text-base-400 hover:text-base-900 dark:hover:text-base-100 hover:bg-base-100 dark:hover:bg-base-800") transition-colors duration-250">
9999
Blog
100100
</a>
101+
<a href="https://github.com/spectreconsole" class="px-3 py-2 rounded-md text-sm font-medium text-base-600 dark:text-base-400 hover:text-base-900 dark:hover:text-base-100 hover:bg-base-100 dark:hover:bg-base-800 transition-colors">
102+
GitHub
103+
</a>
101104
</nav>
102105

103106
<!-- Right side actions -->

0 commit comments

Comments
 (0)