Skip to content

Commit 5b4c417

Browse files
authored
Website: Update Footer for Json-Editor & Api (#2100)
* Website: Update Footer for Json-Editor & Api * Update Footer.tsx
1 parent 9c4e9ed commit 5b4c417

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

frontend/src/components/Footer.tsx

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { basePath } from "@/config/siteConfig";
22
import Link from "next/link";
3+
import { FileJson, Server, ExternalLink } from "lucide-react";
34

45
export default function Footer() {
56
return (
67
<div className="supports-backdrop-blur:bg-background/90 mt-auto flex border-t border-border bg-background/40 py-6 backdrop-blur-lg">
7-
<div className="flex w-full justify-between">
8-
<div className="mx-6 w-full max-w-7xl text-xs sm:text-sm text-muted-foreground">
9-
Website built by the community. The source code is avaliable on{" "}
8+
<div className="mx-6 w-full max-w-7xl flex justify-between text-xs sm:text-sm text-muted-foreground">
9+
<div>
10+
Website built by the community. The source code is available on{" "}
1011
<Link
1112
href={`https://github.com/community-scripts/${basePath}`}
1213
target="_blank"
@@ -18,6 +19,20 @@ export default function Footer() {
1819
</Link>
1920
.
2021
</div>
22+
<div className="flex gap-4">
23+
<Link
24+
href="/json-editor"
25+
className="flex items-center gap-2 text-primary hover:underline"
26+
>
27+
<FileJson className="h-4 w-4" /> JSON Editor
28+
</Link>
29+
<Link
30+
href="/data"
31+
className="flex items-center gap-2 text-primary hover:underline"
32+
>
33+
<Server className="h-4 w-4" /> API Data
34+
</Link>
35+
</div>
2136
</div>
2237
</div>
2338
);

0 commit comments

Comments
 (0)