diff --git a/app/(footer)/contact/contact.tsx b/app/(footer)/contact/contact.tsx
index 8f0a5273..1eaf8d21 100644
--- a/app/(footer)/contact/contact.tsx
+++ b/app/(footer)/contact/contact.tsx
@@ -162,7 +162,7 @@ export const Contact = () => {
})
}
>
-
+
diff --git a/app/homepage.tsx b/app/home/homepage.tsx
similarity index 67%
rename from app/homepage.tsx
rename to app/home/homepage.tsx
index d1678876..d057403b 100644
--- a/app/homepage.tsx
+++ b/app/home/homepage.tsx
@@ -1,24 +1,14 @@
-"use client";
-
import Link from "next/link";
-import { Button, Col, Row } from "react-bootstrap";
import { PatreonBunnySvgWithoutLink } from "~app/patron/patreon-info";
-import { Run } from "~src/common/types";
-import { Game } from "~app/games/games.types";
+import React from "react";
+import { Col, Row, Button } from "react-bootstrap";
import { DataHolder } from "~src/components/frontpage/data-holder";
import { SkeletonPersonalBests } from "~src/components/skeleton/index/skeleton-personal-bests";
import { PopularGames } from "~src/components/game/popular-games";
import { SkeletonPopularGames } from "~src/components/skeleton/index/skeleton-popular-games";
-import React from "react";
import { useTranslations } from "next-intl";
-export default function Homepage({
- runs,
- gamestats,
-}: {
- runs: Run[];
- gamestats: Game[];
-}) {
+export const Homepage = () => {
const t = useTranslations("homepage");
return (
@@ -57,32 +47,22 @@ export default function Homepage({
-
This is an attempt to modernize speedrun racing.
-+
It has a modern ELO-based rating system, live tracking of the race with live-standings as the race happens with full LiveSplit Integration. It is extremely easy to start, join and participate diff --git a/app/races/races.types.ts b/app/races/races.types.ts index 6ad61fd2..0b5bd9dd 100644 --- a/app/races/races.types.ts +++ b/app/races/races.types.ts @@ -140,6 +140,7 @@ export interface EditRaceInput { description?: string; customName?: string; forceStream?: string; + password?: string; } export type WebsocketRaceMessageType = diff --git a/app/races/stats/[game]/category-stats-list.tsx b/app/races/stats/[game]/category-stats-list.tsx index b5437e77..0b49bde5 100644 --- a/app/races/stats/[game]/category-stats-list.tsx +++ b/app/races/stats/[game]/category-stats-list.tsx @@ -34,7 +34,7 @@ export const CategoryStatsListDisplay = ({ ); return ( -