add original cards back, pre re-style

This commit is contained in:
41666 2023-02-04 08:33:31 -05:00
parent 6f037b5e09
commit 9dd0c78850
3 changed files with 7 additions and 6 deletions

View file

@ -44,7 +44,7 @@ export const FactionBar = ({
<Bar size={nc} color="#22f" title="New Conglomerate">
{nc.toLocaleString()}
</Bar>
<Bar size={tr} color="#f11" borders title="Terran Republic">
<Bar size={tr} color="#f11" title="Terran Republic">
{tr.toLocaleString()}
</Bar>
<Bar size={vs} color="#a0d" title="Vanu Sovreignty">

View file

@ -8,5 +8,4 @@ export const Body = styled("body", {
color: "#fff",
lineHeight: 1.6,
fontFamily: "'IBM Plex Mono', monospace",
margin: 0,
});

View file

@ -14,14 +14,16 @@ export const loader = async () => {
};
export default function Index() {
// const { allWorlds } = useLoaderData<typeof loader>();
const { allWorlds } = useLoaderData<typeof loader>();
return (
<div>
<Header />
{/* {allWorlds.map((world) => (
<WorldCard key={world.id} world={world} />
))} */}
<div>
{allWorlds.map((world) => (
<WorldCard world={world} key={world.id} />
))}
</div>
</div>
);
}