Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 웹뷰에서 모바일 헤더 제거 #237

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions apps/admin/src/pages/ShowAddCompletePage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,19 @@ const ShowAddCompletePage = () => {
</Styled.CardContainer>
</Styled.ShowAddCompletePage>
<Styled.MobileShowAddCompletePage>
<Styled.MobileHeader>
<Styled.BackButton
type="button"
onClick={() => {
navigate(PATH.HOME);
}}
>
<ArrowLeftIcon />
</Styled.BackButton>
<Styled.MobileHeaderText>공연 등록</Styled.MobileHeaderText>
</Styled.MobileHeader>
{!isWebView && (
<Styled.MobileHeader>
<Styled.BackButton
type="button"
onClick={() => {
navigate(PATH.HOME);
}}
>
<ArrowLeftIcon />
</Styled.BackButton>
<Styled.MobileHeaderText>공연 등록</Styled.MobileHeaderText>
</Styled.MobileHeader>
)}
<Styled.MobileContent>
<Styled.MobileContentImage src={congratulationSvgUrl} alt="공연 등록이 완료되었습니다." />
<Styled.MobileContentTitle>공연 등록이 완료되었습니다.</Styled.MobileContentTitle>
Expand Down
24 changes: 13 additions & 11 deletions apps/admin/src/pages/ShowAddPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -326,17 +326,19 @@ const ShowAddPage = ({ step }: ShowAddPageProps) => {
</Styled.CardContainer>
</Styled.ShowAddPage>
<Styled.MobileShowAddPage>
<Styled.MobileHeader>
<Styled.BackButton
type="button"
onClick={() => {
navigate(PATH.HOME);
}}
>
<ArrowLeftIcon />
</Styled.BackButton>
<Styled.MobileHeaderText>공연 등록</Styled.MobileHeaderText>
</Styled.MobileHeader>
{!isWebView && (
<Styled.MobileHeader>
<Styled.BackButton
type="button"
onClick={() => {
navigate(PATH.HOME);
}}
>
<ArrowLeftIcon />
</Styled.BackButton>
<Styled.MobileHeaderText>공연 등록</Styled.MobileHeaderText>
</Styled.MobileHeader>
)}
{step === 'info' && (
<Styled.MobileContent>
<Styled.ProcessIndicator>
Expand Down
Loading