Skip to content

Commit e07e636

Browse files
committed
feat: 모바일 헤더 및 내비게이션 스타일 개선 및 로그인 버튼 기능 수정
1 parent 91a3950 commit e07e636

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/pyconkr/src/components/layout/Header/Mobile/MobileHeader.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const MobileHeader: React.FC<MobileHeaderProps> = ({ isNavigationOpen = f
5656
};
5757

5858
const MobileHeaderContainer = styled("header")<{ isOpen: boolean; isMainPath: boolean }>(({ theme, isOpen, isMainPath }) => ({
59-
position: "fixed",
59+
position: isMainPath ? "fixed" : "sticky",
6060
top: 0,
6161
left: 0,
6262
right: 0,
@@ -71,11 +71,11 @@ const MobileHeaderContainer = styled("header")<{ isOpen: boolean; isMainPath: bo
7171
padding: "15px 23px",
7272

7373
backgroundColor: isMainPath ? "rgba(182, 216, 215, 0.1)" : "#B6D8D7",
74-
backdropFilter: "blur(8px)",
75-
WebkitBackdropFilter: "blur(8px)",
74+
backdropFilter: isMainPath ? "blur(8px)" : "none",
75+
WebkitBackdropFilter: isMainPath ? "blur(8px)" : "none",
7676
color: isMainPath ? "white" : "rgba(18, 109, 127, 0.6)",
7777

78-
zIndex: theme.zIndex.appBar + 100000,
78+
zIndex: isMainPath ? theme.zIndex.appBar + 100000 : theme.zIndex.appBar,
7979
}));
8080

8181
const LeftContent = styled(Box)({

apps/pyconkr/src/components/layout/Header/Mobile/MobileNavigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export const MobileNavigation: React.FC<MobileNavigationProps> = ({ isOpen, onCl
192192
<BottomActions isMainPath={isMainPath}>
193193
<Stack direction="row" alignItems="center" spacing={6.25}>
194194
<MobileLanguageToggle isMainPath={isMainPath} />
195-
<SignInButton isMobile={true} isMainPath={isMainPath} />
195+
<SignInButton isMobile={true} isMainPath={isMainPath} onClose={handleClose} />
196196
</Stack>
197197
</BottomActions>
198198
</DrawerContent>

0 commit comments

Comments
 (0)