Skip to content

Commit 37b464b

Browse files
committed
cleanup footer
1 parent bab4524 commit 37b464b

File tree

4 files changed

+37
-10
lines changed

4 files changed

+37
-10
lines changed

apps/docs/app/api/ambassador/submit/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { checkBotId } from 'botid/server';
21
import { type NextRequest, NextResponse } from 'next/server';
32
import { logger } from '@/lib/discord-webhook';
43
import { formRateLimit } from '@/lib/rate-limit';

apps/docs/components/footer.tsx

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ export function Footer() {
5454
Documentation
5555
</a>
5656
</li>
57+
<li>
58+
<a
59+
className="text-muted-foreground hover:text-foreground"
60+
href="/api"
61+
>
62+
API
63+
</a>
64+
</li>
5765
<li>
5866
<a
5967
className="text-muted-foreground hover:text-foreground"
@@ -66,6 +74,8 @@ export function Footer() {
6674
<a
6775
className="text-muted-foreground hover:text-foreground"
6876
href="https://app.databuddy.cc"
77+
rel="noopener"
78+
target="_blank"
6979
>
7080
Dashboard
7181
</a>
@@ -95,17 +105,19 @@ export function Footer() {
95105
<li>
96106
<a
97107
className="text-muted-foreground hover:text-foreground"
98-
href="/privacy"
108+
href="/ambassadors"
99109
>
100-
Privacy
110+
Ambassadors
101111
</a>
102112
</li>
103113
<li>
104114
<a
105115
className="text-muted-foreground hover:text-foreground"
106-
href="/terms"
116+
href="https://github.com/databuddy-analytics"
117+
rel="noopener"
118+
target="_blank"
107119
>
108-
Terms
120+
Open Source
109121
</a>
110122
</li>
111123
</ul>
@@ -159,7 +171,27 @@ export function Footer() {
159171
</div>
160172
</div>
161173

162-
<div className="mt-8 flex flex-col items-center justify-between gap-4 border-border border-t pt-6 sm:flex-row">
174+
{/* Legal Links Row */}
175+
<div className="mt-6">
176+
<div className="flex flex-wrap items-center gap-4">
177+
<a
178+
className="text-muted-foreground/70 text-xs hover:text-muted-foreground sm:text-sm"
179+
href="/privacy"
180+
>
181+
Privacy Policy
182+
</a>
183+
<span className="text-muted-foreground/50 text-xs"></span>
184+
<a
185+
className="text-muted-foreground/70 text-xs hover:text-muted-foreground sm:text-sm"
186+
href="/terms"
187+
>
188+
Terms of Service
189+
</a>
190+
</div>
191+
</div>
192+
193+
{/* Copyright Row */}
194+
<div className="mt-4 flex flex-col items-center justify-between gap-4 border-border border-t pt-4 sm:flex-row">
163195
<p className="text-muted-foreground text-sm sm:text-base">
164196
© {new Date().getFullYear()} Databuddy
165197
</p>

apps/docs/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"@radix-ui/react-toggle": "^1.1.9",
3939
"@radix-ui/react-toggle-group": "^1.1.10",
4040
"@radix-ui/react-tooltip": "^1.2.7",
41-
"botid": "^1.5.1",
4241
"class-variance-authority": "^0.7.1",
4342
"clsx": "^2.1.1",
4443
"cmdk": "^1.1.1",

bun.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@
317317
"@radix-ui/react-toggle": "^1.1.9",
318318
"@radix-ui/react-toggle-group": "^1.1.10",
319319
"@radix-ui/react-tooltip": "^1.2.7",
320-
"botid": "^1.5.1",
321320
"class-variance-authority": "^0.7.1",
322321
"clsx": "^2.1.1",
323322
"cmdk": "^1.1.1",
@@ -1501,8 +1500,6 @@
15011500

15021501
"better-call": ["[email protected]", "", { "dependencies": { "@better-fetch/fetch": "^1.1.4", "rou3": "^0.5.1", "set-cookie-parser": "^2.7.1", "uncrypto": "^0.1.3" } }, "sha512-auqdP9lnNOli9tKpZIiv0nEIwmmyaD/RotM3Mucql+Ef88etoZi/t7Ph5LjlmZt/hiSahhNTt6YVnx6++rziXA=="],
15031502

1504-
"botid": ["[email protected]", "", { "peerDependencies": { "next": "*", "react": "^18.0.0 || ^19.0.0" }, "optionalPeers": ["next", "react"] }, "sha512-QWcz15o0Exk8ThSRN0p4penjNqFa53jj/yQrGDRGGOj5vDJkUuIEui+DRg71U1RvzKPSh9/xnkTKi4UteUwTYg=="],
1505-
15061503
"brace-expansion": ["[email protected]", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
15071504

15081505
"braces": ["[email protected]", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="],

0 commit comments

Comments
 (0)