diff --git a/app/logout/page.jsx b/app/logout/page.jsx new file mode 100644 index 0000000..5911eec --- /dev/null +++ b/app/logout/page.jsx @@ -0,0 +1,38 @@ +'use client'; +import React from 'react'; +import { useRouter } from 'next/navigation'; +import Title from '../../components/landing/Title'; + +const LogoutPage = () => { + const router = useRouter(); + + const handleLogout = () => { + if (confirm("Are you sure you want to log out?")) { + alert("Logout successful!"); + // 로그아웃 로직 추가 + router.push('/'); // 랜딩 페이지로 이동 + } + }; + + return ( +
Are you sure you want to log out?
+