diff --git a/README.md b/README.md index 9d0cfca..f773b7a 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,19 @@ A simple website that displays the leaderboard of the GGWP match. The leaderboard can be updated by the admin using a nice control panel. +### Features + +- Made using [Astro](https://astro.build/) with the NodeJS adapter for the endpoints + +- Admins can create various matches and update the leaderboard using the control panel + +- The leaderboard is displayed in a nice table with the player's name, score + +- The leaderboard is updated in real-time using simple server-sent events + +- The database is SQLite with a rooms table that has a `data` column that stores the public JSON + data of the match. + ## Development Install the dependencies: diff --git a/src/components/AdminLogin.tsx b/src/components/AdminLogin.tsx index be2b631..d9c469d 100644 --- a/src/components/AdminLogin.tsx +++ b/src/components/AdminLogin.tsx @@ -16,7 +16,7 @@ export const AdminLogin = ({}) => { return (