Skip to content

Commit

Permalink
Merge pull request #239 from boostcampwm-2024/feature-fe-#238
Browse files Browse the repository at this point in the history
[FE] 랜딩 페이지 게임방 이동 버튼 URL 하드코딩 수정
  • Loading branch information
dev-taewon-kim authored Dec 3, 2024
2 parents 8ba9b1f + 123a0bd commit faa27f0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions fe/src/pages/LandingPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export default function LandingPage() {
<Button
size="lg"
className="bg-[#00b894] hover:bg-[#00a884] font-pretendard font-bold text-white text-lg px-8 py-6 rounded-full shadow-lg hover:shadow-xl transition-all transform hover:scale-105"
onClick={() =>
(window.location.href = 'https://clovapatra.com/rooms')
}
onClick={() => (window.location.href = '/rooms')}
>
지금 바로 게임하기
</Button>
Expand Down Expand Up @@ -201,9 +199,7 @@ export default function LandingPage() {
<Button
size="lg"
className="bg-white font-pretendard font-bold text-[#00b894] hover:bg-gray-100 text-lg px-8 py-6 rounded-full shadow-lg hover:shadow-xl transition-all transform hover:scale-105"
onClick={() =>
(window.location.href = 'https://clovapatra.com/rooms')
}
onClick={() => (window.location.href = '/rooms')}
>
게임 시작하기
</Button>
Expand Down

0 comments on commit faa27f0

Please sign in to comment.