@@ -69,7 +69,7 @@ export default function Leaderboard({
69
69
< Flex
70
70
w = { { base : "100%" , md : "500px" } }
71
71
padding = { 5 }
72
- px = { 5 }
72
+ px = { { base : 3 , md : 5 } }
73
73
background = { "#5c5be5" }
74
74
color = { "white" }
75
75
alignItems = { "center" }
@@ -81,26 +81,27 @@ export default function Leaderboard({
81
81
< Text as = { "b" } fontSize = { "4xl" } >
82
82
1
83
83
</ Text >
84
- < Text as = { "b" } fontSize = { " lg"} >
84
+ < Text as = { "b" } fontSize = { { base : "sm" , md : " lg" } } >
85
85
{ leaderboard [ 0 ] ?. email }
86
86
</ Text >
87
87
</ Flex >
88
88
89
- < Flex >
90
- < Text as = { "b" } fontSize = { " 4xl"} >
89
+ < Flex alignItems = { "center" } >
90
+ < Text as = { "b" } fontSize = { { base : "3xl" , md : " 4xl" } } >
91
91
{ leaderboard [ 0 ] ?. points }
92
92
</ Text >
93
93
< Image
94
94
class = "gold-medal"
95
95
src = { goldmedal }
96
96
alt = "gold medal"
97
+ w = { "5vh" }
98
+ h = { "5vh" }
97
99
/>
98
100
</ Flex >
99
101
</ Flex >
100
102
< Flex
101
103
w = { { base : "100%" , md : "500px" } }
102
- padding = { 5 }
103
- px = { 5 }
104
+ p = { { base : 3 , md : 5 } }
104
105
background = { "white" }
105
106
color = { "black" }
106
107
alignItems = { "center" }
@@ -112,21 +113,20 @@ export default function Leaderboard({
112
113
< Text as = { "b" } fontSize = { "4xl" } >
113
114
2
114
115
</ Text >
115
- < Text as = { "b" } fontSize = { " lg"} >
116
- { leaderboard [ 0 ] ?. email }
116
+ < Text as = { "b" } fontSize = { { base : "sm" , md : " lg" } } >
117
+ { leaderboard [ 1 ] ?. email }
117
118
</ Text >
118
119
</ Flex >
119
120
120
121
< Flex >
121
- < Text as = { "b" } fontSize = { " 4xl"} >
122
- { leaderboard [ 0 ] ?. points } 🍪
122
+ < Text as = { "b" } fontSize = { { base : "3xl" , md : " 4xl" } } >
123
+ { leaderboard [ 1 ] ?. points } 🍪
123
124
</ Text >
124
125
</ Flex >
125
126
</ Flex >
126
127
< Flex
127
128
w = { { base : "100%" , md : "500px" } }
128
- padding = { 5 }
129
- px = { 5 }
129
+ p = { { base : 3 , md : 5 } }
130
130
background = { "white" }
131
131
color = { "black" }
132
132
alignItems = { "center" }
@@ -138,14 +138,14 @@ export default function Leaderboard({
138
138
< Text as = { "b" } fontSize = { "4xl" } >
139
139
3
140
140
</ Text >
141
- < Text as = { "b" } fontSize = { " lg"} >
142
- { leaderboard [ 0 ] ?. email }
141
+ < Text as = { "b" } fontSize = { { base : "sm" , md : " lg" } } >
142
+ { leaderboard [ 2 ] ?. email }
143
143
</ Text >
144
144
</ Flex >
145
145
146
146
< Flex >
147
- < Text as = { "b" } fontSize = { " 4xl"} >
148
- { leaderboard [ 0 ] ?. points } 🍪
147
+ < Text as = { "b" } fontSize = { { base : "3xl" , md : " 4xl" } } >
148
+ { leaderboard [ 2 ] ?. points } 🍪
149
149
</ Text >
150
150
</ Flex >
151
151
</ Flex >
0 commit comments