fix: 버튼 클릭 이벤트 순서 수정

This commit is contained in:
2026-01-05 16:09:19 +00:00
parent 3b7f4b1434
commit 10e9c80eb4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -69,14 +69,14 @@ const handleJoin = () => {
</div> </div>
<div class="flex space-x-2 pt-2"> <div class="flex space-x-2 pt-2">
<button <button
@click="handleJoin"
class="flex-1 bg-yellow-600 hover:bg-yellow-500 text-black font-bold py-2 rounded transition-colors flex items-center justify-center space-x-2" class="flex-1 bg-yellow-600 hover:bg-yellow-500 text-black font-bold py-2 rounded transition-colors flex items-center justify-center space-x-2"
@click="handleJoin"
> >
<span>가입 & 로그인</span> <span>가입 & 로그인</span>
</button> </button>
<button <button
@click="handleLogin"
class="flex-[2] bg-blue-700 hover:bg-blue-600 text-white font-bold py-2 rounded transition-colors" class="flex-[2] bg-blue-700 hover:bg-blue-600 text-white font-bold py-2 rounded transition-colors"
@click="handleLogin"
> >
로그인 로그인
</button> </button>
+1 -1
View File
@@ -225,8 +225,8 @@ const handleLogout = async () => {
비밀번호 & 전콘 & 탈퇴 비밀번호 & 전콘 & 탈퇴
</button> </button>
<button <button
@click="handleLogout"
class="bg-zinc-800 hover:bg-zinc-700 text-white px-6 py-2 rounded border border-zinc-700 transition-colors" class="bg-zinc-800 hover:bg-zinc-700 text-white px-6 py-2 rounded border border-zinc-700 transition-colors"
@click="handleLogout"
> >
</button> </button>