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

[FE] feat: 리뷰 링크 관리 페이지 레이아웃 구현 #1032

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions frontend/src/components/layouts/Footer/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export const Footer = styled.footer`

background-color: ${({ theme }) => theme.colors.white};

border-top: 0.1rem solid ${({ theme }) => theme.colors.lightGray};

${media.xSmall} {
flex-direction: column;
gap: 0.2rem;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import * as S from './styles';

interface ReviewLinkManagementLayoutProps {
leftContent: React.ReactNode;
rightContent: React.ReactNode;
}

const ReviewLinkManagementLayout = ({ leftContent, rightContent }: ReviewLinkManagementLayoutProps) => {
return (
<S.Layout>
<S.LeftWrapper>{leftContent}</S.LeftWrapper>
<S.Separator />
<S.RightWrapper>{rightContent}</S.RightWrapper>
</S.Layout>
);
};

export default ReviewLinkManagementLayout;
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import styled from '@emotion/styled';

import media from '@/utils/media';

export const Layout = styled.section`
width: 100%;

display: flex;

${media.small} {
flex-direction: column;

padding: 0 3rem;
}
`;

export const LeftWrapper = styled.div`
width: 30%;

padding: 10rem 0;

${media.small} {
width: 100%;
}
`;

export const Separator = styled.div`
width: 0.1rem;
min-height: calc(100vh - 13rem); // 전체 영역에서 헤더와 푸터 영역 제외

background-color: ${({ theme }) => theme.colors.lightGray};

margin: 0 10rem;

${media.small} {
display: none;
}
`;

export const RightWrapper = styled.div`
width: 70%;

padding: 10rem 0;

${media.small} {
width: 100%;
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,11 @@ import styled from '@emotion/styled';
import media from '@/utils/media';

export const Logo = styled.div`
line-height: 8rem;
text-align: center;

span {
font-size: 3rem;
font-size: 2.8rem;
font-weight: ${({ theme }) => theme.fontWeight.bolder};
letter-spacing: 0.7rem;

${media.small} {
font-size: 2.8rem;
}

${media.xSmall} {
font-size: 2.6rem;
Expand Down
Loading