@@ -35,15 +35,15 @@ function BookBadge({ logoUrl, name }: BookInfo) {
3535
3636 return (
3737 < Flex
38- mt = { 2 }
38+ mt = { 3 }
3939 align = "center"
4040 gap = { 2 }
4141 bg = { badgeBg }
4242 color = { badgeColor }
43- px = { 2 }
43+ px = { 3 }
4444 py = { 1 }
45- borderRadius = "md "
46- fontSize = "xs "
45+ borderRadius = "lg "
46+ fontSize = "sm "
4747 maxW = "100%"
4848 >
4949 { logoUrl ? (
@@ -57,24 +57,25 @@ function BookBadge({ logoUrl, name }: BookInfo) {
5757
5858function OddsPill ( { value, book, label, onSelect } : OddsPillProps ) {
5959 const borderColor = useColorModeValue ( "gray.200" , "gray.600" )
60- const hoverBg = useColorModeValue ( "gray.50" , "gray.700" )
60+ const hoverBg = useColorModeValue ( "gray.100" , "gray.700" )
61+ const textColor = useColorModeValue ( "teal.600" , "teal.200" )
6162
6263 return (
6364 < Button
6465 onClick = { onSelect }
6566 variant = "outline"
6667 borderRadius = "xl"
6768 borderColor = { borderColor }
68- w = "100px "
69- py = { 3 }
70- px = { 3 }
69+ minW = "140px "
70+ py = { 4 }
71+ px = { 4 }
7172 display = "flex"
7273 flexDir = "column"
7374 alignItems = "center"
7475 transition = "all 0.2s ease-in-out"
7576 _hover = { { transform : "translateY(-3px)" , bg : hoverBg , shadow : "md" } }
7677 >
77- < Text fontSize = "lg " fontWeight = "semibold" letterSpacing = "tight" color = "fg.default" >
78+ < Text fontSize = "2xl " fontWeight = "semibold" letterSpacing = "tight" color = { textColor } >
7879 { value }
7980 </ Text >
8081 { book ? < BookBadge { ...book } /> : < Text fontSize = "xs" > { label } </ Text > }
@@ -119,49 +120,68 @@ export function OddsCard({
119120 borderRadius = "2xl"
120121 borderColor = { borderColor }
121122 bg = { wrapperBg }
122- p = { 6 }
123+ px = { 10 }
124+ py = { 8 }
123125 w = "full"
124- maxW = "3xl "
126+ maxW = "5xl "
125127 >
126128 < Flex
127129 direction = { { base : "column" , sm : "row" } }
128130 justify = "space-between"
129131 align = { { base : "stretch" , sm : "center" } }
130132 gap = { 6 }
131133 >
132- < Box >
133- < Text fontSize = "xl" fontWeight = "semibold" lineHeight = "shorter" >
134+ < Flex
135+ direction = { { base : "column" , md : "row" } }
136+ align = "center"
137+ justify = "center"
138+ gap = { 4 }
139+ minW = { { base : "full" , md : "sm" } }
140+ >
141+ < Text
142+ fontSize = "2xl"
143+ fontWeight = "semibold"
144+ textAlign = { { base : "center" , md : "right" } }
145+ lineHeight = "short"
146+ >
134147 { homeTeam }
135148 </ Text >
136- < Text fontSize = "xl" fontWeight = "semibold" lineHeight = "shorter" >
149+ < Box
150+ px = { 3 }
151+ py = { 1 }
152+ borderRadius = "full"
153+ bg = "teal.600"
154+ color = "white"
155+ fontWeight = "bold"
156+ fontSize = "sm"
157+ >
158+ VS
159+ </ Box >
160+ < Text
161+ fontSize = "2xl"
162+ fontWeight = "semibold"
163+ textAlign = { { base : "center" , md : "left" } }
164+ lineHeight = "short"
165+ >
137166 { awayTeam }
138167 </ Text >
139- < Text mt = { 3 } fontSize = "sm" fontWeight = "medium" color = "teal.600" >
168+ </ Flex >
169+ < Flex direction = "column" justify = "center" align = "center" gap = { 2 } >
170+ < Text fontSize = "sm" fontWeight = "medium" color = "teal.600" >
140171 { marketLabel }
141172 </ Text >
142- </ Box >
173+ </ Flex >
143174
144175 < Flex
145- justify = "space-between"
146- gap = { 4 }
176+ justify = "space-evenly"
177+ align = "center"
178+ gap = { 10 }
147179 w = "full"
148- maxW = { { base : "full" , sm : "auto" } }
180+ maxW = "3xl"
149181 >
150- < MarketColumn
151- title = "HOME"
152- market = { home }
153- onSelect = { ( ) => onSelect ?.( "home" ) }
154- />
155- < MarketColumn
156- title = "DRAW"
157- market = { draw }
158- onSelect = { ( ) => onSelect ?.( "draw" ) }
159- />
160- < MarketColumn
161- title = "AWAY"
162- market = { away }
163- onSelect = { ( ) => onSelect ?.( "away" ) }
164- />
182+ < MarketColumn title = "HOME" market = { home } onSelect = { ( ) => onSelect ?.( "home" ) } />
183+ < MarketColumn title = "DRAW" market = { draw } onSelect = { ( ) => onSelect ?.( "draw" ) } />
184+ < MarketColumn title = "AWAY" market = { away } onSelect = { ( ) => onSelect ?.( "away" ) } />
165185 </ Flex >
166186 </ Flex >
167187 </ Box >
0 commit comments