Skip to content

Commit

Permalink
fix: rearrange hide and seek stats (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobk999 authored Aug 14, 2024
1 parent 7dd526b commit aee3ac6
Showing 1 changed file with 43 additions and 47 deletions.
90 changes: 43 additions & 47 deletions apps/discord-bot/src/commands/arcade/modes/hide-and-seek.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,61 +34,57 @@ export const HideAndSeekTable = ({ stats, t }: HideAndSeekTableProps) => {
color="§b"
/>
</Table.tr>
</Table.ts>
<Table.ts title="§6Party Pooper">
<Table.tr>
<Table.td
title={t("stats.wins")}
value={t(partyPooper.wins)}
color="§a"
/>
<Table.td
title={t("stats.hiderWins")}
value={t(partyPooper.hiderWins)}
color="§e"
/>
<Table.td
title={t("stats.seekerWins")}
value={t(partyPooper.seekerWins)}
color="§b"
/>
</Table.tr>
<Table.tr>
<Table.td
title={t("stats.objectives")}
value={t(objectivesCompleted)}
color="§a"
/>
<Table.td title={t("stats.kills")} value={t(kills)} color="§b" />
<Table.td
title={t("stats.kills")}
value={t(kills)}
color="§b"
/>
</Table.tr>
</Table.ts>
<Table.ts title="§6Prop Hunt">
<Table.tr>
<Table.td
title={t("stats.wins")}
value={t(propHunt.wins)}
color="§a"
/>
<Table.td
title={t("stats.hiderWins")}
value={t(propHunt.hiderWins)}
color="§e"
/>
<Table.td
title={t("stats.seekerWins")}
value={t(propHunt.seekerWins)}
color="§b"
/>
</Table.tr>
</Table.ts>
<Table.tr>
<Table.ts title="§6Party Pooper">
<Table.tr>
<Table.td
title={t("stats.wins")}
value={t(partyPooper.wins)}
color="§a"
size="small"
/>
<Table.td
title={t("stats.hiderWins")}
value={t(partyPooper.hiderWins)}
color="§e"
size="small"
/>
<Table.td
title={t("stats.seekerWins")}
value={t(partyPooper.seekerWins)}
color="§b"
size="small"
/>
</Table.tr>
</Table.ts>
<Table.ts title="§6Prop Hunt">
<Table.tr>
<Table.td
title={t("stats.wins")}
value={t(propHunt.wins)}
color="§a"
size="small"
/>
<Table.td
title={t("stats.hiderWins")}
value={t(propHunt.hiderWins)}
color="§e"
size="small"
/>
<Table.td
title={t("stats.seekerWins")}
value={t(propHunt.seekerWins)}
color="§b"
size="small"
/>
</Table.tr>
</Table.ts>
</Table.tr>
</Table.table>
);
};

0 comments on commit aee3ac6

Please sign in to comment.