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

배너 이미지 용량 축소 후 배포 #370

Merged
merged 4 commits into from
Aug 29, 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
Binary file modified src/Assets/images/banner1.webp
Binary file not shown.
Binary file modified src/Assets/images/banner2.webp
Binary file not shown.
Binary file modified src/Assets/images/mobilebanner1.webp
Binary file not shown.
Binary file modified src/Assets/images/mobilebanner2.webp
Binary file not shown.
9 changes: 9 additions & 0 deletions src/Components/Common/Modal/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import styled from 'styled-components';
import Button from '../Button';
import { useModalStore } from '@/store/modal';
import { media } from '@/Styles/theme';

export interface ModalProps {
/** 모달 안쪽 컴포넌트 */
Expand Down Expand Up @@ -87,6 +88,10 @@ const ModalWrapper = styled.div`
background-color: ${({ theme }) => theme.color.white};
border-radius: ${({ theme }) => theme.borderRadius.medium};
border: 1px solid ${({ theme }) => theme.color.black1};

${media.custom(600)} {
width: calc(100vw - 20px);
}
`;

const ModalInfoWrapper = styled.div<{ alignTitle: 'flex-start' | 'center' }>`
Expand Down Expand Up @@ -133,6 +138,10 @@ const ModalContentWrapper = styled.div`
align-self: stretch;
background: ${({ theme }) => theme.color.gray1};
}

${media.custom(600)} {
width: calc(100vw - 100px);
}
`;

const ModalBtnsWrapper = styled.div<{ isBtnWidthEqual: boolean; cancelBtnText: string }>`
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const CategoryMenusWrapper = styled.div`
gap: 12px;
`;

const RecruitmentCardsWrapper = styled.div`
const RecruitmentCardsWrapper = styled.ul`
display: flex;
align-items: flex-start;
align-content: flex-start;
Expand Down