From b6c93b1c9660d8ff2568399d4138367488117e69 Mon Sep 17 00:00:00 2001 From: Andres Date: Mon, 28 Apr 2025 15:59:00 +0200 Subject: [PATCH] maybe fix timezones? --- .../_components/next-match-info-card.tsx | 118 +++++++++--------- .../_components/schedule.tsx | 10 +- 2 files changed, 64 insertions(+), 64 deletions(-) diff --git a/src/app/(home)/major-league-balatro/_components/next-match-info-card.tsx b/src/app/(home)/major-league-balatro/_components/next-match-info-card.tsx index eb8779b..0f6f6f1 100644 --- a/src/app/(home)/major-league-balatro/_components/next-match-info-card.tsx +++ b/src/app/(home)/major-league-balatro/_components/next-match-info-card.tsx @@ -25,69 +25,67 @@ export function NextMatchInfoCard({ bestOf, }: NextMatchInfoCardProps) { return ( - -
-
-
-
- {typeof week === 'string' ? week : `Week ${week}`} -
-
- Best of {bestOf} -
+
+
+
+
+ {typeof week === 'string' ? week : `Week ${week}`}
- -
-

-
- - {player1.name} -
- vs -
- {player2.name} - -
-

+
+ Best of {bestOf}
- - - - - - - - {player1.name} - - - - - {player2.name} - - - -
+ +
+

+
+ + {player1.name} +
+ vs +
+ {player2.name} + +
+

+
+ + + + + + + + {player1.name} + + + + + {player2.name} + + + +
- +
) } diff --git a/src/app/(home)/major-league-balatro/_components/schedule.tsx b/src/app/(home)/major-league-balatro/_components/schedule.tsx index 7eb3da6..d188123 100644 --- a/src/app/(home)/major-league-balatro/_components/schedule.tsx +++ b/src/app/(home)/major-league-balatro/_components/schedule.tsx @@ -1,4 +1,5 @@ import { MatchCard } from '@/app/(home)/major-league-balatro/_components/match-card' +import { TimeZoneProvider } from '@/components/timezone-provider' import { Badge } from '@/components/ui/badge' import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs' import { cn } from '@/lib/utils' @@ -117,10 +118,11 @@ const WeekTab = ({ week, matches, status }: WeekTabProps) => {

{weekConfig.label}

- - {filteredMatches.map((match, index) => ( - - ))} + + {filteredMatches.map((match, index) => ( + + ))} + ) }