๐ fix: landing self-host link and readable nav buttons
Changes
2 files changed, +16 -2
MODIFY
src/main/resources/META-INF/resources/shark.css
+14 -0
@@ -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
@@ -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}