2024-11-06 23:47:04 +01:00
|
|
|
import { basePath } from "@/config/siteConfig";
|
2024-11-04 23:55:08 +01:00
|
|
|
import Link from "next/link";
|
2025-02-06 17:06:48 +01:00
|
|
|
import { FileJson, Server, ExternalLink } from "lucide-react";
|
2024-11-04 23:55:08 +01:00
|
|
|
|
|
|
|
|
export default function Footer() {
|
|
|
|
|
return (
|
|
|
|
|
<div className="supports-backdrop-blur:bg-background/90 mt-auto flex border-t border-border bg-background/40 py-6 backdrop-blur-lg">
|
2025-02-06 17:06:48 +01:00
|
|
|
<div className="mx-6 w-full max-w-7xl flex justify-between text-xs sm:text-sm text-muted-foreground">
|
|
|
|
|
<div>
|
|
|
|
|
Website built by the community. The source code is available on{" "}
|
2024-11-04 23:55:08 +01:00
|
|
|
<Link
|
2024-11-06 23:47:04 +01:00
|
|
|
href={`https://github.com/community-scripts/${basePath}`}
|
2024-11-04 23:55:08 +01:00
|
|
|
target="_blank"
|
|
|
|
|
rel="noreferrer"
|
|
|
|
|
className="font-semibold underline-offset-2 duration-300 hover:underline"
|
|
|
|
|
data-umami-event="View Website Source Code on Github"
|
|
|
|
|
>
|
|
|
|
|
GitHub
|
|
|
|
|
</Link>
|
|
|
|
|
.
|
|
|
|
|
</div>
|
2025-02-06 17:06:48 +01:00
|
|
|
<div className="flex gap-4">
|
|
|
|
|
<Link
|
|
|
|
|
href="/json-editor"
|
|
|
|
|
className="flex items-center gap-2 text-primary hover:underline"
|
|
|
|
|
>
|
|
|
|
|
<FileJson className="h-4 w-4" /> JSON Editor
|
|
|
|
|
</Link>
|
|
|
|
|
<Link
|
|
|
|
|
href="/data"
|
|
|
|
|
className="flex items-center gap-2 text-primary hover:underline"
|
|
|
|
|
>
|
|
|
|
|
<Server className="h-4 w-4" /> API Data
|
|
|
|
|
</Link>
|
|
|
|
|
</div>
|
2024-11-04 23:55:08 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|