fix: 버튼 클릭 이벤트 순서 수정
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user