Skip to content

Commit

Permalink
[FE] Game Page 및 Player 컴포넌트 생성 (#36)
Browse files Browse the repository at this point in the history
* chore: 전역 스타일 코드 수정

* chore: devtools 사용, uuid로 id 생성

* refactor: usePagination hook 분리 및 상수화

* feat: Dialog 확인 버튼 클릭 시 GamePage로 이동

* chore: 전역 스타일 및 상수 객체명 변경

* feat: Player 컴포넌트 생성 및 Game Page 구현

VolumeBar 컴포넌트 포함

* chore: 전역 스타일 수정
  • Loading branch information
studioOwol authored Nov 6, 2024
1 parent 8410c72 commit d0fd6c1
Show file tree
Hide file tree
Showing 18 changed files with 571 additions and 58 deletions.
300 changes: 300 additions & 0 deletions fe/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions fe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"dependencies": {
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-slider": "^1.2.1",
"@radix-ui/react-slot": "^1.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
Expand Down
7 changes: 1 addition & 6 deletions fe/src/App.css
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}

2 changes: 2 additions & 0 deletions fe/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import { BrowserRouter, Route, Routes } from 'react-router-dom';
import './App.css';
import RoomPage from './pages/RoomPage';
import GamePage from './pages/GamePage';

function App() {
return (
<div className="app">
<BrowserRouter>
<Routes>
<Route path="/" element={<RoomPage />} />
<Route path="/game/:roomId" element={<GamePage />} />
</Routes>
</BrowserRouter>
</div>
Expand Down
Loading

0 comments on commit d0fd6c1

Please sign in to comment.