Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Overnap
2021-06-10 07:54:16 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
38c211964456acc9ff898476c1e74e6d65d34a3a
38c21196
1 parent
652a9844
Builds for 1 pipeline
passed
in 8 minutes 1 second
RoomInfo와 RoundInfo 폴리싱
Changes
2
Builds
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
web/src/components/room/RoomInfo.tsx
web/src/components/room/RoundInfo.tsx
web/src/components/room/RoomInfo.tsx
View file @
38c2119
...
...
@@ -10,7 +10,7 @@ interface RoomInfoProps {
export const RoomInfo: React.FC<RoomInfoProps> = ({ roomData }) => {
return (
<div className='m-3 m
b
-8 w-5/6 flex items-center place-content-between'>
<div className='m-3 m
y
-8 w-5/6 flex items-center place-content-between'>
<div>{roomData.name}</div>
<div>{roomData.users.length}/{roomData.maxUsers}</div>
</div>
...
...
web/src/components/room/RoundInfo.tsx
View file @
38c2119
import React from 'react';
import SocketContext from '../../contexts/SocketContext';
import { Timer } from './Timer';
import { RoundData } from './types';
interface RoundInfoProps {
...
...
@@ -10,9 +11,9 @@ interface RoundInfoProps {
export const RoundInfo: React.FC<RoundInfoProps> = ({ round, wordChosen }) => {
return (
<div className='p-3 m-3 h-14 rounded shadow flex items-center place-content-between'>
<
div>대충 타이머 위치</div
>
<
Timer /
>
<div>{wordChosen}</div>
<div>R
{round}
</div>
<div>R
ound {round}/5
</div>
</div>
);
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment