From 9dd0c78850d65f80e5b40fa687babef1987fe5c7 Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Sat, 4 Feb 2023 08:33:31 -0500 Subject: [PATCH] add original cards back, pre re-style --- app/components/FactionBar.tsx | 2 +- app/globalStyles.ts | 1 - app/routes/index.tsx | 10 ++++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/components/FactionBar.tsx b/app/components/FactionBar.tsx index 68cea5f..caa1dca 100644 --- a/app/components/FactionBar.tsx +++ b/app/components/FactionBar.tsx @@ -44,7 +44,7 @@ export const FactionBar = ({ {nc.toLocaleString()} - + {tr.toLocaleString()} diff --git a/app/globalStyles.ts b/app/globalStyles.ts index 7682d12..c265869 100644 --- a/app/globalStyles.ts +++ b/app/globalStyles.ts @@ -8,5 +8,4 @@ export const Body = styled("body", { color: "#fff", lineHeight: 1.6, fontFamily: "'IBM Plex Mono', monospace", - margin: 0, }); diff --git a/app/routes/index.tsx b/app/routes/index.tsx index 5653c82..a25a9c7 100644 --- a/app/routes/index.tsx +++ b/app/routes/index.tsx @@ -14,14 +14,16 @@ export const loader = async () => { }; export default function Index() { - // const { allWorlds } = useLoaderData(); + const { allWorlds } = useLoaderData(); return (
- {/* {allWorlds.map((world) => ( - - ))} */} +
+ {allWorlds.map((world) => ( + + ))} +
); }