diff --git a/frontend/src/components/mobile/layout/Header.jsx b/frontend/src/components/mobile/layout/Header.jsx index 9a9fe60..820f1bf 100644 --- a/frontend/src/components/mobile/layout/Header.jsx +++ b/frontend/src/components/mobile/layout/Header.jsx @@ -1,23 +1,35 @@ import { NavLink } from 'react-router-dom'; +import { ChevronLeft } from 'lucide-react'; /** * 모바일 헤더 컴포넌트 * @param {string} title - 페이지 제목 (없으면 fromis_9) * @param {boolean} noShadow - 그림자 숨김 여부 + * @param {boolean} showBack - 뒤로가기 버튼 표시 여부 */ -function MobileHeader({ title, noShadow = false }) { +function MobileHeader({ title, noShadow = false, showBack = false }) { return (
-
- {title ? ( - {title} +
+ {showBack ? ( + ) : ( - - fromis_9 - +
)} +
+ {title ? ( + {title} + ) : ( + + fromis_9 + + )} +
+
); diff --git a/frontend/src/components/mobile/layout/Layout.jsx b/frontend/src/components/mobile/layout/Layout.jsx index a4d65d3..a673659 100644 --- a/frontend/src/components/mobile/layout/Layout.jsx +++ b/frontend/src/components/mobile/layout/Layout.jsx @@ -17,6 +17,7 @@ function MobileLayout({ hideHeader = false, useCustomLayout = false, noShadow = false, + showBack = false, }) { // 모바일 레이아웃 활성화 (body 스크롤 방지) useEffect(() => { @@ -38,7 +39,7 @@ function MobileLayout({ return (
- {!hideHeader && } + {!hideHeader && }
{children}
diff --git a/frontend/src/routes/mobile/index.jsx b/frontend/src/routes/mobile/index.jsx index 29d7111..9ad0ee4 100644 --- a/frontend/src/routes/mobile/index.jsx +++ b/frontend/src/routes/mobile/index.jsx @@ -65,7 +65,7 @@ export default function MobileRoutes() { + } @@ -73,7 +73,7 @@ export default function MobileRoutes() { + } @@ -81,7 +81,7 @@ export default function MobileRoutes() { + }