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

공지 작성 페이지 퍼블리싱 #41

Closed
wants to merge 2 commits into from
Closed
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
102 changes: 65 additions & 37 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"zustand": "^4.4.7"
},
"scripts": {
"start": "export PORT=4000 && react-scripts start",
"start": "set PORT=4000 && react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand Down
8 changes: 8 additions & 0 deletions src/Components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ export function Header() {
지원서
</_.NavBtn>
</Link>
<Link to="/Notice">
<_.NavBtn
clicked={clickedStatus('Notice')}
width={124}
>
공지 작성
</_.NavBtn>
</Link>
</_.NavBtnWrapper>
</_.Container>
);
Expand Down
105 changes: 105 additions & 0 deletions src/Pages/NoticePage/NoticeDetailPage/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
import { Header } from '../../../Components/Header';
import * as _ from './style';
import { Icon } from '@team-return/design-system';
import { Link } from 'react-router-dom';

export function NoticeDetailPage() {
return (
<>
<Header />
<_.Wrapper>
<_.Box>
<_.ContentWrap>
<_.HeaderWrap>
<_.Title>[중요] 신입생 오리엔테이션 안내</_.Title>
<_.IconBox>
<_.IconWrapper>
<Icon size={40} icon="Trash"></Icon>
</_.IconWrapper>
<_.IconWrapper>
<Link to={'/Notice/Edit'}>
<Icon
size={40}
icon="EditPencil"
></Icon>
</Link>
</_.IconWrapper>
</_.IconBox>
</_.HeaderWrap>
<_.Date>2024-03-09</_.Date>
<_.Contents>
신입생 오리엔테이션 책자에 있는 입학전 과제의
양식입니다. 첨부파일을 다운받아 사용하시고, 영어와
전공은 특별한 양식이 없으니 내용에 맞게 작성하여
학교 홈페이지에 제출하시기 바랍니다. 신입생
오리엔테이션 책자에 있는 입학전 과제의 양식입니다.
첨부파일을 다운받아 사용하시고, 영어와 전공은 특별한
양식이 없으니 내용에 맞게 작성하여 학교 홈페이지에
제출하시기 바랍니다. 신입생 오리엔테이션 책자에 있는
입학전 과제의 양식입니다. 첨부파일을 다운받아
사용하시고, 영어와 전공은 특별한 양식이 없으니
내용에 맞게 작성하여 학교 홈페이지에 제출하시기
바랍니다.신입생 오리엔테이션 책자에 있는 입학전
과제의 양식입니다. 첨부파일을 다운받아 사용하시고,
영어와 전공은 특별한 양식이 없으니 내용에 맞게
작성하여 학교 홈페이지에 제출하시기 바랍니다. 신입생
오리엔테이션 책자에 있는 입학전 과제의 양식입니다.
첨부파일을 다운받아 사용하시고, 영어와 전공은 특별한
양식이 없으니 내용에 맞게 작성하여 학교 홈페이지에
제출하시기 바랍니다.
</_.Contents>
<_.FileBox>
<_.File>첨부파일</_.File>
<_.FileWrap>
<_.Files>
<_.FileTitle>
2024학년도 신입생 과제.hwp
</_.FileTitle>
<Icon
size={20}
icon="Download"
cursor="pointer"
color="blue"
></Icon>
</_.Files>
<_.Files>
<_.FileTitle>
2024학년도 신입생 과제.hwp
</_.FileTitle>
<Icon
size={20}
icon="Download"
cursor="pointer"
color="blue"
></Icon>
</_.Files>
<_.Files>
<_.FileTitle>
2024학년도 신입생 과제.hwp
</_.FileTitle>
<Icon
size={20}
icon="Download"
cursor="pointer"
color="blue"
></Icon>
</_.Files>
<_.Files>
<_.FileTitle>
2024학년도 신입생 과제.hwp
</_.FileTitle>
<Icon
size={20}
icon="Download"
cursor="pointer"
color="blue"
></Icon>
</_.Files>
</_.FileWrap>
</_.FileBox>
</_.ContentWrap>
</_.Box>
</_.Wrapper>
</>
);
}
102 changes: 102 additions & 0 deletions src/Pages/NoticePage/NoticeDetailPage/style.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
import styled from "styled-components";

export const Wrapper = styled.div`
width: 100vw;
min-width: 1400px;
background: #fafafa;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 95px;
padding-bottom: 11px;
overflow: scroll;
`;

export const Box = styled.div`
width: 1311px;
height: 1000px;
background-color: white;
border: 1px solid #E5E5E5;
display: flex;
/* justify-content: center; */
`;

export const ContentWrap = styled.div`
display: flex;
text-align: left;
margin-top: 40px;
margin-left: 62px;
flex-direction: column;
gap: 24px;
margin-right: 62px;
`;

export const HeaderWrap = styled.div`
display: flex;
`;

export const Title = styled.div`
font-size: 32px;
font-weight: 700;
color: #333333;
`;

export const Date = styled.div`
font-size: 24px;
font-weight: 500;
`;

export const Contents = styled.div`
font-size: 16px;
`;

export const IconWrapper = styled.div`
display: flex;
justify-content: center;
align-items: center;
width: 60px;
height: 60px;
border-radius: 50%;
border: 1px solid ;
background-color: white;
cursor: pointer;
`;

export const IconBox = styled.div`
display: flex;
gap: 12px;
margin-left: auto;
`;

export const FileBox = styled.div`
display: flex;
width: 1187px;
height: 118px;
border-top: 2px solid #135C9D;
border-bottom: 2px solid #135C9D;
padding: 16px;
gap: 24px;
overflow: scroll;
`;

export const File = styled.div`
font-size: 18px;
font-weight: 500;
`;

export const FileWrap = styled.div`
display: flex;
flex-direction: column;
gap: 10px;
`;

export const Files = styled.div`
display: flex;
justify-content: center;
gap: 6px;
`;

export const FileTitle = styled.div`
font-size: 18px;
font-weight: 400;
`;
Loading
Loading