Skip to content

Commit 2ecdc4f

Browse files
JacobCoffeeclaude
andcommitted
standardize cross-navigation across all pages
- Footer: add Legal link - Sidebars: each page links to the other 3, alphabetized - About: add Fair Use card to Legal section - BYOC/white-label coverage in fair use and privacy - BYOC deployment models in terms 2.1 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 02f53cc commit 2ecdc4f

5 files changed

Lines changed: 40 additions & 14 deletions

File tree

cabotage/client/templates/_base.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,8 @@
656656
<div class="app-content-padded !py-0 flex items-center justify-between text-xs text-base-content/30">
657657
<span>Cabotage PaaS</span>
658658
<div class="flex items-center gap-3">
659+
<a href="{{ url_for('main.legal') }}"
660+
class="hover:text-base-content/60 transition-colors">Legal</a>
659661
<a href="{{ url_for('main.terms') }}"
660662
class="hover:text-base-content/60 transition-colors">Terms</a>
661663
<a href="{{ url_for('main.privacy') }}"

cabotage/client/templates/main/about.html

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,18 @@ <h1 class="text-2xl font-bold text-base-content">About Cabotage</h1>
6969
</ul>
7070

7171
<div class="mt-6 pt-4 border-t border-base-content/5 space-y-2">
72-
<a href="{{ url_for('main.terms') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
73-
{{ icon('file-text', 'w-4 h-4') }}
74-
<span>Terms of Service</span>
72+
<a href="{{ url_for('main.fair_use') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
73+
{{ icon('scale', 'w-4 h-4') }}
74+
<span>Fair Use</span>
7575
</a>
7676
<a href="{{ url_for('main.privacy') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
77-
{{ icon('shield', 'w-4 h-4') }}
77+
{{ icon('shield-check', 'w-4 h-4') }}
7878
<span>Privacy Policy</span>
7979
</a>
80+
<a href="{{ url_for('main.terms') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
81+
{{ icon('scroll-text', 'w-4 h-4') }}
82+
<span>Terms of Service</span>
83+
</a>
8084
</div>
8185
</div>
8286
</nav>
@@ -249,12 +253,20 @@ <h2 class="section-heading relative text-lg font-semibold text-base-content mb-3
249253
</a>
250254
<a href="{{ url_for('main.privacy') }}"
251255
class="flex items-start gap-3 p-3 rounded-lg bg-base-100/50 border border-base-content/5 hover:border-primary/20 transition-colors group">
252-
<span class="text-primary mt-0.5">{{ icon('shield', 'w-4 h-4') }}</span>
256+
<span class="text-primary mt-0.5">{{ icon('shield-check', 'w-4 h-4') }}</span>
253257
<div>
254258
<p class="text-sm font-medium text-base-content/80 group-hover:text-primary transition-colors">Privacy Policy</p>
255259
<p class="text-xs text-base-content/40">How we handle your data</p>
256260
</div>
257261
</a>
262+
<a href="{{ url_for('main.fair_use') }}"
263+
class="flex items-start gap-3 p-3 rounded-lg bg-base-100/50 border border-base-content/5 hover:border-primary/20 transition-colors group">
264+
<span class="text-primary mt-0.5">{{ icon('scale', 'w-4 h-4') }}</span>
265+
<div>
266+
<p class="text-sm font-medium text-base-content/80 group-hover:text-primary transition-colors">Fair Use Policy</p>
267+
<p class="text-xs text-base-content/40">What's allowed on the platform</p>
268+
</div>
269+
</a>
258270
</div>
259271
</div>
260272
</section>

cabotage/client/templates/main/fair_use.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,18 @@ <h1 class="text-2xl font-bold text-base-content">Fair Use &amp; Acceptable Use P
7474
</ul>
7575

7676
<div class="mt-6 pt-4 border-t border-base-content/5 space-y-2">
77-
<a href="{{ url_for('main.terms') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
78-
{{ icon('scroll-text', 'w-4 h-4') }}
79-
<span>Terms of Service</span>
77+
<a href="{{ url_for('main.about') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
78+
{{ icon('info', 'w-4 h-4') }}
79+
<span>About</span>
8080
</a>
8181
<a href="{{ url_for('main.privacy') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
8282
{{ icon('shield-check', 'w-4 h-4') }}
8383
<span>Privacy Policy</span>
8484
</a>
85+
<a href="{{ url_for('main.terms') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
86+
{{ icon('scroll-text', 'w-4 h-4') }}
87+
<span>Terms of Service</span>
88+
</a>
8589
</div>
8690
</div>
8791
</nav>

cabotage/client/templates/main/privacy.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,18 @@ <h1 class="text-2xl font-bold text-base-content">Privacy Policy</h1>
8989
</ul>
9090

9191
<div class="mt-6 pt-4 border-t border-base-content/5 space-y-2">
92-
<a href="{{ url_for('main.terms') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
93-
{{ icon('scroll-text', 'w-4 h-4') }}
94-
<span>Terms of Service</span>
92+
<a href="{{ url_for('main.about') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
93+
{{ icon('info', 'w-4 h-4') }}
94+
<span>About</span>
9595
</a>
9696
<a href="{{ url_for('main.fair_use') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
9797
{{ icon('scale', 'w-4 h-4') }}
9898
<span>Fair Use</span>
9999
</a>
100+
<a href="{{ url_for('main.terms') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
101+
{{ icon('scroll-text', 'w-4 h-4') }}
102+
<span>Terms of Service</span>
103+
</a>
100104
</div>
101105
</div>
102106
</nav>

cabotage/client/templates/main/terms.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,18 @@ <h1 class="text-2xl font-bold text-base-content">Terms of Service</h1>
8989
</ul>
9090

9191
<div class="mt-6 pt-4 border-t border-base-content/5 space-y-2">
92-
<a href="{{ url_for('main.privacy') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
93-
{{ icon('shield-check', 'w-4 h-4') }}
94-
<span>Privacy Policy</span>
92+
<a href="{{ url_for('main.about') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
93+
{{ icon('info', 'w-4 h-4') }}
94+
<span>About</span>
9595
</a>
9696
<a href="{{ url_for('main.fair_use') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
9797
{{ icon('scale', 'w-4 h-4') }}
9898
<span>Fair Use</span>
9999
</a>
100+
<a href="{{ url_for('main.privacy') }}" class="flex items-center gap-2 text-sm text-base-content/40 hover:text-primary transition-colors">
101+
{{ icon('shield-check', 'w-4 h-4') }}
102+
<span>Privacy Policy</span>
103+
</a>
100104
</div>
101105
</div>
102106
</nav>

0 commit comments

Comments
 (0)