find-id 디자인 수정중1

This commit is contained in:
wallace
2025-11-25 12:38:11 +09:00
parent 53dea825b0
commit 4c52627c2c
4 changed files with 85 additions and 45 deletions

View File

@@ -118,7 +118,7 @@ export default function NavBar() {
<Link href="/menu/account" className="px-4 py-2 text-[16px] font-semibold text-white">
</Link>
<Link href="/login" className="px-4 py-2 text-[16px] font-semibold text-white">
<Link href="/login" className="px-4 py-2 text-[16px] font-semibold text-white ">
</Link>
</>
@@ -152,14 +152,23 @@ export default function NavBar() {
<Link
role="menuitem"
href="/menu/account"
className="block w-full h-10 px-2 rounded-lg text-left text-[#333C47] text-[16px] font-medium leading-normal hover:bg-[rgba(236,240,255,0.5)] focus:bg-[rgba(236,240,255,0.5)] outline-none"
className="flex items-center w-[136px] h-10 px-2 rounded-lg text-left text-[#333C47] text-[16px] font-medium leading-normal hover:bg-[rgba(236,240,255,0.5)] focus:bg-[rgba(236,240,255,0.5)] outline-nonq"
onClick={() => setIsUserMenuOpen(false)}
>
</Link>
<button
role="menuitem"
className="w-full h-10 px-2 rounded-lg text-left text-[#333C47] text-[16px] font-medium leading-normal hover:bg-[rgba(236,240,255,0.5)] focus:bg-[rgba(236,240,255,0.5)] outline-none"
className="flex items-center w-[136px] h-10 px-2 rounded-lg text-left text-[#333C47] text-[16px] font-medium leading-normal hover:bg-[rgba(236,240,255,0.5)] focus:bg-[rgba(236,240,255,0.5)] outline-none"
onClick={() => {
// 로컬 스토리지에서 토큰 제거
localStorage.removeItem('token');
localStorage.removeItem('user');
// 쿠키에서 토큰 제거 (미들웨어에서 확인하므로)
document.cookie = 'token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
// 로그인 페이지로 리다이렉트
window.location.href = '/login';
}}
>
</button>