Skip to content

Commit d8f3f55

Browse files
Merge pull request #86 from qlemaire22/fix-game-length-labels
Fix game length chart labels
2 parents ebe9f53 + 27371f5 commit d8f3f55

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/components/layout/Footer.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const navLinks = [
3030
<a
3131
href={link.href}
3232
target={link.target ? link.target : "_self"}
33-
class="text-sm leading-6 text-gray-100 hover:text-white"
33+
class="flex items-center gap-1.5 text-sm leading-6 text-gray-100 hover:text-white"
3434
>
3535
{link.icon && <Svg src={link.icon} class="inline-block w-3.5" />}
3636
{link.text}

src/components/widgets/GameLengthChart.tsx

+9-8
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ type GameLengthProps = {
1111
const prettyLabels = {
1212
"0-120": "<2m",
1313
"121-240": "2-4m",
14-
"241-360": "4-8m",
15-
"361-480": "8-10m",
16-
"481-600": "10-12m",
17-
"601-720": "12-14m",
18-
"721-840": "14-16m",
19-
"841-960": "16-18m",
20-
"961-1080": "18-20m",
21-
"1081-1200": "20-22m",
14+
"241-360": "4-6m",
15+
"361-480": "6-8m",
16+
"481-600": "8-10m",
17+
"601-720": "10-12m",
18+
"721-840": "12-14m",
19+
"841-960": "14-16m",
20+
"961-1080": "16-18m",
21+
"1081-1200": "18-20m",
22+
"1201-1320": "20-22m",
2223
"1320+": "22m+",
2324
} as const
2425

0 commit comments

Comments
 (0)