diff --git a/src/App.css b/src/App.css
index 24e6142..f0900de 100644
--- a/src/App.css
+++ b/src/App.css
@@ -9,6 +9,20 @@
text-align: center;
}
+/* Stable viewport height to avoid address-bar induced jumps */
+html,
+body {
+ height: 100%;
+}
+body {
+ min-height: 100dvh;
+}
+#root {
+ min-height: 100dvh;
+ display: flex;
+ flex-direction: column;
+}
+
.card {
padding: 2em;
}
diff --git a/src/components/Auth/Authform.jsx b/src/components/Auth/Authform.jsx
index 5f7a32b..7418f03 100644
--- a/src/components/Auth/Authform.jsx
+++ b/src/components/Auth/Authform.jsx
@@ -40,14 +40,14 @@ const AuthForm = ({ type, onSubmit, setLoginType }) => {
const serverRole = ROLE_MAP.toServer[type]; // MANAGER | MEMBER
window.location.href = `${KAKAO_AUTH_URL}&state=${serverRole}`;
}
-
+
function handleFindAccount(e) {
e.preventDefault();
navigate('/find-account');
}
return (
-
+
diff --git a/src/pages/Home.jsx b/src/pages/Home.jsx
index 1470c33..39b366f 100644
--- a/src/pages/Home.jsx
+++ b/src/pages/Home.jsx
@@ -24,6 +24,9 @@ import {
export default function Home() {
const navigate = useNavigate();
+ const blockAlert = () => {
+ alert('준비 중입니다.');
+ };
return (
<>
@@ -50,11 +53,14 @@ export default function Home() {
-
+
돌봄 서비스 찾기
-
+
전화 상담하기
@@ -116,8 +122,7 @@ export default function Home() {
합리적인 비용, 투명한 요금제
- {/* TODO: 링크 연결 */}
-
+
요양보호사 찾기
@@ -151,8 +156,7 @@ export default function Home() {
실제 이용자 리뷰 제공
- {/* TODO: 링크 연결 */}
-
+
복지센터 찾기
@@ -299,10 +303,10 @@ export default function Home() {
1588-1234 전화상담
- {/* TODO: 링크 연결 */}
navigate('/signin')}
>
매칭하러 가기