Skip to content

Commit 016aced

Browse files
plcclaude
andcommitted
Add navigation links across homepage and docs
- Homepage: move Sign Up / Log In to top right, add Docs to footer - Docs page: replace "← Status" with "← Home", add Sign Up / Log In links Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent db00a9a commit 016aced

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ app.get('/', (req, res) => {
135135
</head>
136136
<body>
137137
<div class="container">
138+
<div style="display:flex; justify-content:flex-end; gap:0.75rem; margin-bottom:1.5rem;">
139+
<a href="/signup" style="padding:0.5rem 1rem; border-radius:8px; text-decoration:none; font-size:0.875rem; font-weight:500; background:#2563eb; color:#fff;">Sign Up</a>
140+
<a href="/login" style="padding:0.5rem 1rem; border-radius:8px; text-decoration:none; font-size:0.875rem; font-weight:500; background:#1e293b; color:#94a3b8;">Log In</a>
141+
</div>
138142
<img src="/logo.png" alt="CalDave" class="logo">
139143
<h1>CalDave</h1>
140144
<p class="subtitle">A complete calendar for agents.</p>
@@ -158,11 +162,10 @@ curl -s "https://${DOMAIN}/man?guide"</code></pre>
158162
159163
<div class="links">
160164
<a href="/docs" class="primary">API Docs</a>
161-
<a href="/signup" class="primary">Sign Up</a>
162-
<a href="/login" class="secondary">Log In</a>
163165
</div>
164166
165167
<footer style="margin-top:3rem; padding-top:1.5rem; border-top:1px solid #334155; text-align:center; font-size:0.8125rem; color:#64748b;">
168+
<a href="/docs" style="color:#94a3b8; text-decoration:none;">Docs</a> &middot;
166169
<a href="/terms" style="color:#94a3b8; text-decoration:none;">Terms</a> &middot;
167170
<a href="/privacy" style="color:#94a3b8; text-decoration:none;">Privacy</a> &middot;
168171
Created by <a href="https://plc.vc/qbs" style="color:#94a3b8; text-decoration:none;">Peter Clark</a>

src/routes/docs.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,13 @@ const cachedHtml = `<!DOCTYPE html>
6969
</head>
7070
<body>
7171
<div class="container">
72-
<h1>CalDave API <a href="/">← Status</a></h1>
72+
<h1 style="display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:0.5rem;">
73+
<span>CalDave API <a href="/">← Home</a></span>
74+
<span style="display:flex; gap:0.5rem; font-size:0.875rem; font-weight:400;">
75+
<a href="/signup" style="color:#60a5fa; text-decoration:none;">Sign Up</a>
76+
<a href="/login" style="color:#94a3b8; text-decoration:none;">Log In</a>
77+
</span>
78+
</h1>
7379
<p class="subtitle">Calendar-as-a-service for AI agents. Base URL: <code class="inline-code">https://${DOMAIN}</code></p>
7480
7581
<div style="background:#1a1a2e; border-left:3px solid #fbbf24; padding:0.75rem 1rem; border-radius:0 8px 8px 0; margin-bottom:1.5rem; font-size:0.875rem; color:#fbbf24;">

0 commit comments

Comments
 (0)