Skip to content

Commit

Permalink
fix: 미사용 컴포넌트 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Cllaude99 committed Nov 28, 2024
1 parent de9205f commit 3a6a7c1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default function MainDisplay() {
height="h-full"
/>
</div>
<div className="absolute top-16 left-4 text-lg p-2 text-white-default bg-slate-950 rounded-lg">
<div className="absolute p-2 text-lg rounded-lg top-16 left-4 text-white-default bg-slate-950">
📢 {currentSpeaker}
</div>
</div>
Expand Down Expand Up @@ -137,13 +137,13 @@ export default function MainDisplay() {

{gamePhase === GAME_PHASE.SPEAKING && (
<div className="w-full mt-auto">
<Timer key={currentSpeaker} initialTime={5} onTimeEnd={() => endSpeaking(userId!)} />
<Timer key={currentSpeaker} initialTime={30} onTimeEnd={() => endSpeaking(userId!)} />
</div>
)}

{gamePhase === GAME_PHASE.VOTING && (
<div className="w-full mt-auto">
<Timer key="voting" initialTime={10} onTimeEnd={handleVote} />
<Timer key="voting" initialTime={60} onTimeEnd={handleVote} />
</div>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function WordDisplay({

if (!isVisible) return null;

const displayText = isPinoco ? `테마: ${theme}` : `제시어: ${currentWord}`;
const displayText = isPinoco ? `🎨 테마: ${theme}` : `💭 제시어: ${currentWord}`;

return (
<motion.div
Expand All @@ -34,7 +34,7 @@ export default function WordDisplay({
className={`${
gamePhase === GAME_PHASE.WORD_REVEAL
? 'fixed inset-0 flex items-center justify-center bg-black/50 z-50'
: 'absolute left-4 top-4 p-2 bg-green-default/60 rounded-lg'
: 'absolute left-4 top-4 p-2 bg-black rounded-lg'
}`}
>
<motion.div
Expand Down
17 changes: 0 additions & 17 deletions packages/frontend/src/components/landingPage/OAuthLoginButton.tsx

This file was deleted.

9 changes: 1 addition & 8 deletions packages/frontend/src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ export default function Header() {
<HeaderLogo />
</div>
<nav>
<ul className="flex gap-4 last:mr-8">
<li>
<Bell />
</li>
<li>
<Friends />
</li>
</ul>
<ul className="flex gap-4 last:mr-8"></ul>
</nav>
</header>
);
Expand Down
2 changes: 0 additions & 2 deletions packages/frontend/src/pages/landingPage/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import GuestLoginButton from '@/components/landingPage/GuestLoginButton';
import OAuthLoginButton from '@/components/landingPage/OAuthLoginButton';
import BackgroundImage from '@/components/layout/BackgroundImage';
import MainLogo from '@/assets/images/MainLogo.svg?react';
import { useSocketStore } from '@/states/store/socketStore';
Expand All @@ -15,7 +14,6 @@ export default function LandingPage() {
<span className="font-semibold text-7xl">실시간 화상 통화로</span>
<span className="mb-24 font-semibold text-7xl">진행하는 라이어 게임</span>
<GuestLoginButton />
<OAuthLoginButton />
</div>
<div>
<MainLogo />
Expand Down

0 comments on commit 3a6a7c1

Please sign in to comment.