Skip to content

Commit

Permalink
style :: deploy page publish
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed May 6, 2024
1 parent 7cfa039 commit bfa5a53
Showing 1 changed file with 130 additions and 0 deletions.
130 changes: 130 additions & 0 deletions src/pages/Team/deploy/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
import styled from '@emotion/styled';
import { theme } from '@/style/theme';
import { Sidebar } from '@/components/common/sidebar';
import { SearchBar } from '@/components/common/SearchBar';
import { XButton } from '@/components/common/XButton';
import { Icon } from '@iconify/react';
import { Tag } from '@/components/Team/Tag';

export const Deploy = () => {
return (
<Wrapper>
<Sidebar />
<ContainerWrapper>
<Container>
<TitleContainer>
<TeamName>에일리언즈</TeamName>
<Title>배포</Title>
<Describtion>프로젝트를 등록하고 해당 프로젝트에 대한 배포 액션을 설정할 수 있습니다.</Describtion>
<UtilContainer>
<SearchBar width={312} placeholder="프로젝트 검색" />
<XButton width={138} height={50} buttonStyle="solid">
<Icon icon={'ic:round-plus'} width={20} height={20} />
프로젝트 등록
</XButton>
</UtilContainer>
</TitleContainer>
<DeployBoxContainer>
<DeployBox>
<div>
dms-front
<Tag tag="활성" />
</div>
<div>team-aliens/DMS</div>
</DeployBox>
</DeployBoxContainer>
</Container>
</ContainerWrapper>
</Wrapper>
);
};

const Wrapper = styled.div`
margin-top: 80px;
width: 100%;
display: flex;
`;

const ContainerWrapper = styled.div`
width: 100%;
height: calc(100vh - 80px + 200px);
padding-left: 100px;
padding-right: 20px;
display: flex;
flex-direction: column;
align-items: center;
`;

const Container = styled.div`
width: 100%;
max-width: 1120px;
display: flex;
flex-direction: column;
gap: 30px;
`;

const TitleContainer = styled.div`
width: 100%;
max-width: 1120px;
display: flex;
flex-direction: column;
gap: 4px;
margin-top: 80px;
`;

const TeamName = styled.div`
font-size: 20px;
font-weight: 500;
color: ${theme.color.gray5};
`;

const Title = styled.div`
font-size: 30px;
font-weight: 600;
color: ${theme.color.gray8};
`;

const Describtion = styled.div`
font-size: 24px;
font-weight: 100;
color: ${theme.color.gray8};
`;

const UtilContainer = styled.div`
display: flex;
justify-content: space-between;
> :last-of-type {
display: flex;
gap: 10px;
}
`;

const DeployBoxContainer = styled.div`
display: flex;
flex-direction: column;
gap: 14px;
`;

const DeployBox = styled.div`
width: 100%;
max-width: 1120px;
height: 100px;
border-radius: 6px;
border: 1px solid ${theme.color.gray5};
display: flex;
flex-direction: column;
justify-content: center;
gap: 10px;
padding: 0 38px;
> div:nth-of-type(1) {
display: flex;
gap: 6px;
font-size: 20px;
font-weight: 500;
color: ${theme.color.gray8};
}
> div:nth-of-type(2) {
font-size: 20px;
color: ${theme.color.gray6};
}
`;

0 comments on commit bfa5a53

Please sign in to comment.