Nice and stable before liveview

This commit is contained in:
2025-10-29 20:38:39 +00:00
parent 76586c0df2
commit 4a8d6bc5d7
21 changed files with 1135 additions and 270 deletions
+3 -1
View File
@@ -4,6 +4,8 @@
import { query } from '@/lib/db';
import { DriverWithServer } from '@/types/racing';
import { UsersIcon, ServerIcon, ActivityIcon, MapPinIcon, FlagIcon, LiveDotIcon } from '@/components/ui/icons';
import { cleanTrackName, cleanTrackConfig } from '@/lib/trackUtils';
export const dynamic = "force-dynamic";
async function getConnectedDrivers(): Promise<DriverWithServer[]> {
const sql = `
@@ -130,7 +132,7 @@ export default async function DashboardPage() {
ID: {server?.server_id}
</span>
</div>
<h2 className="text-2xl font-bold tracking-tight">
<h2 className="text-2xl font-light tracking-tight" style={{ letterSpacing: "0.1em" }}>
{server?.server_name}
</h2>
<div className="flex flex-wrap gap-x-6 gap-y-2">