From 5420f1a8a07f76212301404a742f14603803a89b Mon Sep 17 00:00:00 2001 From: Shigbeard <4262327+Shigbeard@users.noreply.github.com> Date: Wed, 21 Aug 2024 23:46:50 +1000 Subject: [PATCH] feat: dark theme tweaks, plus groundwork for leaderboard --- app/components/Navbar.tsx | 29 ++-- app/components/Server.tsx | 66 ++++++---- app/components/Stars.tsx | 187 ++++++++++++++++++++++++++ app/components/ui/badge.tsx | 6 +- app/components/ui/button.tsx | 19 +-- app/components/ui/data-table.tsx | 80 +++++++++++ app/components/ui/dropdown-menu.tsx | 15 ++- app/components/ui/table.tsx | 7 +- app/entry.server.tsx | 4 +- app/root.tsx | 9 +- app/routes/_index.tsx | 4 +- app/routes/bans/index.tsx | 2 +- app/routes/leaderboard/index.tsx | 47 +++++++ app/tailwind.css | 114 ++++++++-------- app/typedefs/leaderboards.tsx | 51 +++++++ components.json | 4 +- package-lock.json | 197 +++++++--------------------- package.json | 7 +- 18 files changed, 568 insertions(+), 280 deletions(-) create mode 100644 app/components/Stars.tsx create mode 100644 app/components/ui/data-table.tsx create mode 100644 app/routes/leaderboard/index.tsx create mode 100644 app/typedefs/leaderboards.tsx diff --git a/app/components/Navbar.tsx b/app/components/Navbar.tsx index 42522c9..6a3113d 100644 --- a/app/components/Navbar.tsx +++ b/app/components/Navbar.tsx @@ -8,6 +8,7 @@ import { SerializeFrom } from "@remix-run/node"; export interface NavbarItemProps { href: string; label: string; + target?: string; } export interface NavbarProps { @@ -63,16 +64,16 @@ export const Navbar: React.FC = (props) => { return ( // JSX markup for your component goes here -