gitshark

Clone repository

git clone https://gitshark.de/git/workaround/Gitshark.git
git clone git@gitshark.de:workaround/Gitshark.git

← Commits

๐Ÿ’„ fix: landing self-host link and readable nav buttons

9deefba5cb66cc032a93e22a1ecfc189aea56699 ยท Michael Hainz ยท 2026-06-19T09:22:18Z

Changes

2 files changed, +16 -2

MODIFY src/main/resources/META-INF/resources/shark.css +14 -0
diff --git a/src/main/resources/META-INF/resources/shark.css b/src/main/resources/META-INF/resources/shark.css
index a515d1a..891b6c5 100644
--- a/src/main/resources/META-INF/resources/shark.css
+++ b/src/main/resources/META-INF/resources/shark.css
@@ -116,6 +116,20 @@
116 116 color: #fff;
117 117 }
118 118
119 +/* buttons in the header nav must keep their own readable text colour,
120 + not the light nav-link colour */
121 +header.site nav a.btn-primary {
122 + color: #fff;
123 +}
124 +
125 +header.site nav a.btn-secondary {
126 + color: var(--shark-blue);
127 +}
128 +
129 +header.site nav a.btn-secondary:hover {
130 + color: var(--shark-blue);
131 +}
132 +
119 133 main {
120 134 max-width: 960px;
121 135 margin: var(--space-5) auto;
MODIFY src/main/resources/templates/HomeResource/landing.html +2 -2
diff --git a/src/main/resources/templates/HomeResource/landing.html b/src/main/resources/templates/HomeResource/landing.html
index 5cb765f..1da1759 100644
--- a/src/main/resources/templates/HomeResource/landing.html
+++ b/src/main/resources/templates/HomeResource/landing.html
@@ -1,7 +1,7 @@
1 1 {#include layout}
2 2 {#title}git-shark — self-hosted Git, AI as a tool{/title}
3 3 {#nav}
4 -<a href="/explore">Browse public repositories</a>
4 +<a class="btn btn-secondary" href="/explore">Browse public repositories</a>
5 5 <a class="btn btn-primary" href="/login">Log in</a>
6 6 {/nav}
7 7 <div class="ascii-bg" aria-hidden="true">
@@ -25,7 +25,7 @@
25 25
26 26 <p class="landing-cta">
27 27 <a class="btn btn-primary" href="/login">Log in</a>
28 - <a class="btn btn-secondary" href="https://github.com/workaround/git-shark">Self-host it</a>
28 + <a class="btn btn-secondary" href="https://github.com/workaround-org/git-shark">Self-host it</a>
29 29 </p>
30 30 </section>
31 31 {/include}

Keyboard shortcuts

?Show this help
g hGo home
EscClose dialog