File tree Expand file tree Collapse file tree 2 files changed +20
-17
lines changed Expand file tree Collapse file tree 2 files changed +20
-17
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ const HTMLItem: React.FC<{
129
129
className = { `${ classes . HTMLPanelItem } ${ classes . darkThemeFontColor } ` }
130
130
id = "HTMLItem"
131
131
>
132
- < Icon fontSize = "small" align-items = "center" />
132
+ { /* <Icon fontSize="small" align-items="center" /> */ }
133
133
{ name }
134
134
</ div >
135
135
) }
Original file line number Diff line number Diff line change @@ -159,27 +159,15 @@ const RoomsContainer = () => {
159
159
>
160
160
{ ' ' }
161
161
{ /* live room display */ }
162
- < Typography variant = "h5" color = { 'white ' } >
162
+ < Typography variant = "h5" color = { '#f2fbf8 ' } >
163
163
Live Room: { roomCode }
164
164
</ Typography >
165
+ < Typography variant = "h6" color = { '#70d8be' } >
166
+ Nickname: { userName }
167
+ </ Typography >
165
168
{ /* Set up condition rendering depends on if user joined a room then render leave button if not render join button */ }
166
169
{ userJoined ? (
167
170
< >
168
- < Button
169
- variant = "contained"
170
- onClick = { ( ) => leaveRoom ( ) }
171
- sx = { {
172
- backgroundColor : '#f2fbf8' ,
173
- color : '#092a26' ,
174
- '&:hover' : {
175
- backgroundColor : '#a5ead6' ,
176
- borderColor : '#0062cc'
177
- }
178
- } }
179
- >
180
- { ' ' }
181
- Leave Room{ ' ' }
182
- </ Button >
183
171
< Typography
184
172
variant = "body1"
185
173
sx = { {
@@ -231,6 +219,21 @@ const RoomsContainer = () => {
231
219
) ) }
232
220
</ List >
233
221
</ Box >
222
+ < Button
223
+ variant = "contained"
224
+ onClick = { ( ) => leaveRoom ( ) }
225
+ sx = { {
226
+ backgroundColor : '#f2fbf8' ,
227
+ color : '#092a26' ,
228
+ '&:hover' : {
229
+ backgroundColor : '#a5ead6' ,
230
+ borderColor : '#0062cc'
231
+ }
232
+ } }
233
+ >
234
+ { ' ' }
235
+ Leave Room{ ' ' }
236
+ </ Button >
234
237
</ >
235
238
) : (
236
239
//after joinning room
You can’t perform that action at this time.
0 commit comments