-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Client] Add privacy policy page #197
Merged
Merged
Changes from 49 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
91e965d
Update add policy page
handsomejeongwoo 4fc914f
Merge branch 'develop' into feature/addPrivacyPolicyPage
handsomejeongwoo c2d41a0
Update add Privacypolicy page
handsomejeongwoo e4dcf29
Update add fifth table component
handsomejeongwoo 7a55d27
Update add first table component
handsomejeongwoo 03dc6dd
Update add fourth table component
handsomejeongwoo e7cba7e
Update add second table component
handsomejeongwoo d9ce2d0
Update add sixth table component
handsomejeongwoo 05908c3
Update add third table component
handsomejeongwoo df4255a
Update edit sixth table import
handsomejeongwoo e174eeb
Update edit BulletItem export
handsomejeongwoo f240503
Update edit bulletitem component prop
handsomejeongwoo f99ca22
Update edit styled component namong
handsomejeongwoo 4bef738
Update edit element
handsomejeongwoo ca4eabb
Update edit blank
handsomejeongwoo da15115
Update page path
handsomejeongwoo 006bc3c
Update Delet Table component
handsomejeongwoo 8c93435
Update import Policy component
handsomejeongwoo 97a8274
Update add Policy1 Component
handsomejeongwoo 491bb2b
Update add Policy2 component
handsomejeongwoo 3e6a3dd
Update add Policy10 component
handsomejeongwoo 826ee01
Update add Policy11 component
handsomejeongwoo a547be8
Update add Policy12 component
handsomejeongwoo 4a8cfe3
Update add Policy3 component
handsomejeongwoo 078a3d7
Update add Policy4 component
handsomejeongwoo 7c72e29
Update add Policy5 component
handsomejeongwoo 2da33d1
Update add Policy6 component
handsomejeongwoo d71ad4f
Update add Policy7 component
handsomejeongwoo 60d9baf
Update add Policy8 component
handsomejeongwoo 2e5a5b0
Update add Policy9 component
handsomejeongwoo dbbfc98
Update move component
handsomejeongwoo 8d91ef3
Update add blank
handsomejeongwoo c36efcf
Merge branch 'develop' into feature/addPrivacyPolicyPage
handsomejeongwoo 0917853
Update Consolidated Duplicate Styles
handsomejeongwoo 6424814
Update edit Layout
handsomejeongwoo f21e89c
Update Add Responsive
handsomejeongwoo d823285
Update edit breakpoint 1400 -> 1440
handsomejeongwoo a8f3a78
Update code refactoring
handsomejeongwoo d22b069
Update delet array type
handsomejeongwoo ef0bda7
Update code refactoring
handsomejeongwoo 94c535a
Update Policy12 code refactoring
handsomejeongwoo f4a4e36
Update move data
handsomejeongwoo bc36e6f
Update add blank
handsomejeongwoo ebc9116
Update policy6
frorong 5dfcde7
Update policy5
frorong 652bdff
Update policy4
frorong d1c8b3b
Update policy3
frorong 13926a5
Update policy2
frorong a9417f4
Update policy1
frorong 63ba495
Update edit rendering condition
handsomejeongwoo 42ffee3
Update style
handsomejeongwoo 46e0347
Update code refactoring
handsomejeongwoo aa09b59
Update move data
handsomejeongwoo 1b473a2
Update code refactoring
handsomejeongwoo 54affc1
Merge branch 'develop' into feature/addPrivacyPolicyPage
handsomejeongwoo a908122
Update add metadata
handsomejeongwoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { PrivacyPolicy, Header, Footer } from 'client/components'; | ||
|
||
export default function Privacy() { | ||
return ( | ||
<> | ||
<Header segment='about' /> | ||
<PrivacyPolicy /> | ||
<Footer /> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
apps/client/src/components/Policy/PrivacyPolicy/Policy1/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import * as S from 'client/components/Policy/PrivacyPolicy/style'; | ||
|
||
const 개인정보의처리목적 = [ | ||
`광주소프트웨어마이스터고등학교는 대국민 서비스 제공 | ||
및 민원처리, 소관업무 수행 등의 목적으로 필요에 의한 최소한의 개인정보를 | ||
수집하고 있습니다.`, | ||
`제1항에 대한 사항은 광주소프트웨어마이스터고등학교 | ||
및 각 부서에서 운영하는 소관업무 홈페이지에 게재하여 정보주체가 확인할 수 | ||
있도록 안내를 하고 있습니다.`, | ||
]; | ||
|
||
const Policy1 = () => ( | ||
<S.PolicyContentBox> | ||
<S.PolicyTitle>제 1조 (개인정보의 처리 목적)</S.PolicyTitle> | ||
{개인정보의처리목적.map((description, index) => ( | ||
<S.SubTitle key={index}> | ||
<span>{index + 1}. </span> {description} | ||
</S.SubTitle> | ||
))} | ||
</S.PolicyContentBox> | ||
); | ||
|
||
export default Policy1; |
55 changes: 55 additions & 0 deletions
55
apps/client/src/components/Policy/PrivacyPolicy/Policy10/Table900.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import * as T from './style'; | ||
|
||
const TableContent1 = [ | ||
'개인정보 침해신고센터(한국인터넷진흥원 운영)', | ||
'개인정보 분쟁조정위원회\n(개인정보보호위원회 운영)', | ||
'경찰청 사이버안전국', | ||
'대검찰청 사이버수사과', | ||
]; | ||
|
||
const TableContent2 = [ | ||
'http://privacy.kisa.or.kr', | ||
'http://www.kopico.go.kr', | ||
'http://cyberbureau.police.go.kr', | ||
'http://www.spo.go.kr', | ||
]; | ||
|
||
const TableContent3 = [ | ||
'(국번없이) 118', | ||
'1833-6972', | ||
'(국번없이) 182', | ||
'(국번없이) 1301', | ||
]; | ||
|
||
const Table900 = () => ( | ||
<> | ||
<T.TableTitle> | ||
<T.TableTitleContent>구분</T.TableTitleContent> | ||
<T.TableContent> | ||
{TableContent1.map((content, index) => ( | ||
<T.TableRowContent key={index}>{content}</T.TableRowContent> | ||
))} | ||
</T.TableContent> | ||
</T.TableTitle> | ||
|
||
<T.TableTitle> | ||
<T.TableTitleContent>홈페이지</T.TableTitleContent> | ||
<T.TableContent> | ||
{TableContent2.map((content, index) => ( | ||
<T.TableRowContent key={index}>{content}</T.TableRowContent> | ||
))} | ||
</T.TableContent> | ||
</T.TableTitle> | ||
|
||
<T.TableTitle> | ||
<T.TableTitleContent>전화</T.TableTitleContent> | ||
<T.TableContent> | ||
{TableContent3.map((content, index) => ( | ||
<T.TableRowContent key={index}>{content}</T.TableRowContent> | ||
))} | ||
</T.TableContent> | ||
</T.TableTitle> | ||
</> | ||
); | ||
|
||
export default Table900; |
53 changes: 53 additions & 0 deletions
53
apps/client/src/components/Policy/PrivacyPolicy/Policy10/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import * as S from 'client/components/Policy/PrivacyPolicy/style'; | ||
|
||
import Table900 from './Table900'; | ||
import * as T from './style'; | ||
|
||
interface Props { | ||
width: number; | ||
} | ||
|
||
const TableContent = [ | ||
'개인정보 침해신고센터(한국인터넷진흥원 운영)', | ||
'http://privacy.kisa.or.kr', | ||
'(국번없이) 118', | ||
'개인정보 분쟁조정위원회(개인정보보호위원회 운영)', | ||
'http://www.kopico.go.kr', | ||
'1833-6972', | ||
'경찰청 사이버안전국', | ||
'http://cyberbureau.police.go.kr', | ||
'(국번없이) 182', | ||
'대검찰청 사이버수사과', | ||
'http://www.spo.go.kr', | ||
'(국번없이) 130118', | ||
]; | ||
|
||
const TableTitle = ['구분', '홈페이지', '전화']; | ||
|
||
const Policy10 = ({ width }: Props) => ( | ||
<S.PolicyContentBox> | ||
<S.PolicyTitle>제 10조 (권익침해 구제방법)</S.PolicyTitle> | ||
<S.SubTitle> | ||
개인정보주체는 개인정보침해로 인한 피해를 구제 받기 위하여 개인정보 | ||
분쟁조정위원회, 한국인터넷진흥원 개인정보침해 신고센터 등에 분쟁해결이나 | ||
상담 등을 신청할 수 있습니다. | ||
</S.SubTitle> | ||
<S.TableWrap> | ||
{width > 900 && ( | ||
<T.TableTitle> | ||
{TableTitle.map((title, index) => ( | ||
<T.TableTitleContent key={index}>{title}</T.TableTitleContent> | ||
))} | ||
<T.TableContent> | ||
{TableContent.map((content, index) => ( | ||
<T.TableRowContent key={index}>{content}</T.TableRowContent> | ||
))} | ||
</T.TableContent> | ||
</T.TableTitle> | ||
)} | ||
{width < 900 && <Table900 />} | ||
hyeongrok7874 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</S.TableWrap> | ||
</S.PolicyContentBox> | ||
); | ||
|
||
export default Policy10; |
64 changes: 64 additions & 0 deletions
64
apps/client/src/components/Policy/PrivacyPolicy/Policy10/style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const TableTitle = styled.div` | ||
display: grid; | ||
margin-top: 0.75rem; | ||
grid-template-columns: 25rem 32.5rem 20rem; | ||
grid-template-rows: 3.75rem; | ||
|
||
@media ${({ theme }) => theme.breakPoint['1440']} { | ||
display: grid; | ||
margin: 0; | ||
grid-template-columns: 33.3% 33.3% 33.3%; | ||
grid-template-rows: 3.75rem; | ||
} | ||
|
||
@media (max-width: 900px) { | ||
display: grid; | ||
margin: 0; | ||
grid-template-columns: 100%; | ||
grid-template-rows: 3.75rem; | ||
} | ||
`; | ||
|
||
export const TableContent = styled.div` | ||
display: grid; | ||
grid-template-columns: 25rem 32.5rem 20rem; | ||
grid-template-rows: 3rem 3rem 3rem 3rem; | ||
|
||
@media ${({ theme }) => theme.breakPoint['1440']} { | ||
display: grid; | ||
grid-template-columns: 100% 100% 100%; | ||
grid-template-rows: 3rem 3rem 3rem 3rem; | ||
} | ||
|
||
@media (max-width: 900px) { | ||
display: grid; | ||
grid-template-columns: 100%; | ||
grid-template-rows: 3rem 3.75rem 3rem 3rem; | ||
} | ||
`; | ||
|
||
export const TabelCellTemplate = styled.div` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
color: ${({ theme }) => theme.color.gray['080']}; | ||
border: 0.0625rem solid ${({ theme }) => theme.color.gray['050']}; | ||
box-sizing: border-box; | ||
white-space: pre; | ||
`; | ||
|
||
export const TableTitleContent = styled(TabelCellTemplate)` | ||
background-color: ${({ theme }) => theme.color.gray['030']}; | ||
font-size: 1.125rem; | ||
font-weight: 700; | ||
line-height: 1.6875rem; | ||
`; | ||
|
||
export const TableRowContent = styled(TabelCellTemplate)` | ||
color: ${({ theme }) => theme.color.gray['070']}; | ||
${({ theme }) => theme.typo.body1}; | ||
font-weight: 400; | ||
`; |
44 changes: 44 additions & 0 deletions
44
apps/client/src/components/Policy/PrivacyPolicy/Policy11/FifthTable900.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import * as T from './style'; | ||
|
||
const TableContent1 = ['담당부서', '성명', '전화번호']; | ||
|
||
const TableContent2 = [ | ||
'광주소프트웨어마이스터고등학교장', | ||
'최홍진', | ||
'062-949-6801', | ||
]; | ||
|
||
const TableContent3 = ['인문정보부', '정문정', '062-949-6850']; | ||
|
||
const FifthTable900 = () => ( | ||
<> | ||
<T.FifthTableTitle> | ||
<T.FifthTableTitleContent>구분</T.FifthTableTitleContent> | ||
<T.FifthTableContent> | ||
{TableContent1.map((content, index) => ( | ||
<T.FifthTableRowContent key={index}>{content}</T.FifthTableRowContent> | ||
))} | ||
</T.FifthTableContent> | ||
</T.FifthTableTitle> | ||
|
||
<T.FifthTableTitle> | ||
<T.FifthTableTitleContent>개인정보 보호책임자</T.FifthTableTitleContent> | ||
<T.FifthTableContent> | ||
{TableContent2.map((content, index) => ( | ||
<T.FifthTableRowContent key={index}>{content}</T.FifthTableRowContent> | ||
))} | ||
</T.FifthTableContent> | ||
</T.FifthTableTitle> | ||
|
||
<T.FifthTableTitle> | ||
<T.FifthTableTitleContent>개인정보 보호담당자</T.FifthTableTitleContent> | ||
<T.FifthTableContent> | ||
{TableContent3.map((content, index) => ( | ||
<T.FifthTableRowContent key={index}>{content}</T.FifthTableRowContent> | ||
))} | ||
</T.FifthTableContent> | ||
</T.FifthTableTitle> | ||
</> | ||
); | ||
|
||
export default FifthTable900; |
74 changes: 74 additions & 0 deletions
74
apps/client/src/components/Policy/PrivacyPolicy/Policy11/SixthTable900.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
import * as T from './style'; | ||
|
||
const TableContent1 = [ | ||
'교육기획부', | ||
'교육연구부', | ||
'학생생활안전부', | ||
'마이스터부', | ||
'전문교육부', | ||
'취업진로교육부', | ||
'창체방과후교육부', | ||
'보건실', | ||
'상담실', | ||
'도서실', | ||
'행정실', | ||
]; | ||
|
||
const TableContent2 = [ | ||
'부장', | ||
'', | ||
'부장', | ||
'', | ||
'부장', | ||
'', | ||
'부장', | ||
'', | ||
'부장', | ||
'', | ||
'부장', | ||
'', | ||
'부장', | ||
'', | ||
'보건교사', | ||
'', | ||
'상담교사', | ||
'', | ||
'사서', | ||
'', | ||
'실장', | ||
'', | ||
]; | ||
|
||
const SixthTable900 = () => ( | ||
<> | ||
<T.SixthTableTitle> | ||
<T.FifthTableTitleContent>구분</T.FifthTableTitleContent> | ||
<T.FifthTableTitleContent>소속</T.FifthTableTitleContent> | ||
<T.BigSixthTableTitle> | ||
<T.SixthTableTitleContent> | ||
개인정보 | ||
<br /> | ||
보호 분야 | ||
<br />별 책임자 | ||
</T.SixthTableTitleContent> | ||
</T.BigSixthTableTitle> | ||
<T.FifthTableContent> | ||
{TableContent1.map((content, index) => ( | ||
<T.SixthTableRowContent key={index}>{content}</T.SixthTableRowContent> | ||
))} | ||
</T.FifthTableContent> | ||
</T.SixthTableTitle> | ||
|
||
<T.SixthResTableTitle> | ||
<T.SixthTableTitleContent>직위</T.SixthTableTitleContent> | ||
<T.SixthTableTitleContent>비고</T.SixthTableTitleContent> | ||
<T.SixthResTableContent> | ||
{TableContent2.map((content, index) => ( | ||
<T.SixthTableRowContent key={index}>{content}</T.SixthTableRowContent> | ||
))} | ||
</T.SixthResTableContent> | ||
</T.SixthResTableTitle> | ||
</> | ||
); | ||
|
||
export default SixthTable900; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metadata 설정 부탁드려요~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
설정하였습니다 a908122