add grafana panel link
All checks were successful
deploy / deploy (push) Successful in 58s

This commit is contained in:
Lee 2023-10-27 20:09:35 +01:00
parent dc9db379e1
commit 679b5e73bb

View File

@ -6,6 +6,7 @@ import { ssrSettings } from "@/ssrSettings";
import { formatNumber } from "@/utils/number";
import { isProduction } from "@/utils/utils";
import { Metadata } from "next";
import Link from "next/link";
async function getData() {
const response = await fetch(
@ -65,6 +66,18 @@ export default async function Analytics() {
<p className="text-center text-gray-300">
Scoresaber metrics and statistics over the last 30 days.
</p>
<p className="text-gray-300">
Want more in-depth data? Click{" "}
<span className="text-pp-blue">
<Link
href="https://grafana.fascinated.cc/d/c40febe5-6779-4f91-b85e-0a46b3865041/beatsaber-metrics"
target="_blank"
rel="noopener noreferrer"
>
here
</Link>
</span>
</p>
<div className="mt-3 h-[400px] w-full">
<AnalyticsChart historyData={historyData} />
</div>