make build id clickable
All checks were successful
deploy / deploy (push) Successful in 59s

This commit is contained in:
Lee 2023-11-05 21:16:43 +00:00
parent e9de4fa258
commit 22dfb56167

@ -1,5 +1,6 @@
import { ssrSettings } from "@/ssrSettings"; import { ssrSettings } from "@/ssrSettings";
import { isProduction } from "@/utils/utils"; import { isProduction } from "@/utils/utils";
import Link from "next/link";
import Card from "./Card"; import Card from "./Card";
const buttons = [ const buttons = [
@ -49,7 +50,13 @@ export default function Footer() {
</div> </div>
</div> </div>
<div className="text-sm text-gray-400">Build ID: {buildId}</div> <Link
className="transform-gpu text-sm text-gray-400 transition-all hover:opacity-80"
href={`https://git.fascinated.cc/Fascinated/scoresaber-reloaded-v2/commit/${buildId}`}
target="_blank"
>
Build ID: {buildId}
</Link>
</Card> </Card>
</footer> </footer>
); );