Skip to content

Commit

Permalink
Fix game length chart labels
Browse files Browse the repository at this point in the history
  • Loading branch information
qlemaire22 committed Feb 17, 2024
1 parent 5c7a4d7 commit 7193d8f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const navLinks = [
<a
href={link.href}
target={link.target ? link.target : "_self"}
class="text-sm leading-6 text-gray-100 hover:text-white"
class="flex items-center gap-1.5 text-sm leading-6 text-gray-100 hover:text-white"
>
{link.icon && <Svg src={link.icon} class="inline-block w-3.5" />}
{link.text}
Expand Down
18 changes: 9 additions & 9 deletions src/components/widgets/GameLengthChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ type GameLengthProps = {
const prettyLabels = {
"0-120": "<2m",
"121-240": "2-4m",
"241-360": "4-8m",
"361-480": "8-10m",
"481-600": "10-12m",
"601-720": "12-14m",
"721-840": "14-16m",
"841-960": "16-18m",
"961-1080": "18-20m",
"1081-1200": "20-22m",
"1320+": "22m+",
"241-360": "4-6m",
"361-480": "6-8m",
"481-600": "8-10m",
"601-720": "10-12m",
"721-840": "12-14m",
"841-960": "14-16m",
"961-1080": "16-18m",
"1081-1200": "18-20m",
"1200+": "20m+",
} as const

export function GameLengthChart(props: GameLengthProps) {
Expand Down

0 comments on commit 7193d8f

Please sign in to comment.