-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Feat : app.tsx 경로 재설정 및 WriteRetroRevise 페이지 기능 추가 (#125)
Co-authored-by: geumbin <[email protected]>
- Loading branch information
1 parent
0f1eecd
commit d869462
Showing
6 changed files
with
277 additions
and
21 deletions.
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
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,95 @@ | ||
import { useState } from 'react'; | ||
import { IoPersonCircle } from 'react-icons/io5'; | ||
import * as S from '@/styles/writeRetroStyles/ReviseLayout.style'; | ||
|
||
export const ManageMenu = () => { | ||
const [clicked, setClicked] = useState(false); | ||
const handleClick = () => { | ||
setClicked(!clicked); | ||
}; | ||
const color = clicked ? '#111B47' : '#A9A9A9'; | ||
|
||
return ( | ||
<> | ||
<S.SettingMenuStyle> | ||
<S.SettingMenuBox color={color} onClick={handleClick}> | ||
팀원 관리 | ||
</S.SettingMenuBox> | ||
<Manage></Manage> | ||
</S.SettingMenuStyle> | ||
</> | ||
); | ||
}; | ||
|
||
export const Manage = () => { | ||
return ( | ||
<> | ||
<S.ManageStyle> | ||
<ManageTitle></ManageTitle> | ||
<ManageSearch></ManageSearch> | ||
<ManageTable></ManageTable> | ||
</S.ManageStyle> | ||
</> | ||
); | ||
}; | ||
|
||
export const ManageTitle = () => { | ||
return ( | ||
<div style={{ height: '46px', display: 'flex' }}> | ||
<S.ManageTitleStyle>팀원 관리</S.ManageTitleStyle> | ||
<S.InvitationLinkButton>팀원 초대 링크</S.InvitationLinkButton> | ||
<S.LinkExpirationText>ꞏ 링크는 2시간 후에 만료됩니다.</S.LinkExpirationText> | ||
</div> | ||
); | ||
}; | ||
|
||
export const ManageSearch = () => { | ||
return ( | ||
<div style={{ display: 'flex', marginTop: '20px' }}> | ||
<S.ManageSearchInput placeholder="이름 또는 이메일 주소를 검색"></S.ManageSearchInput> | ||
<S.ManageSearchButton>검색</S.ManageSearchButton> | ||
</div> | ||
); | ||
}; | ||
|
||
export const ManageTable = () => { | ||
return ( | ||
<> | ||
<S.ManageTableStyle> | ||
{/* TableHeader */} | ||
<S.ManageTableTrStyle> | ||
<S.ManageTableNickNameTh>닉네임</S.ManageTableNickNameTh> | ||
<S.ManageTableEmailTh>이메일</S.ManageTableEmailTh> | ||
<S.ManageTableDateTh>회고 참여 일자</S.ManageTableDateTh> | ||
<S.ManageTableTaskTh>직업</S.ManageTableTaskTh>` | ||
</S.ManageTableTrStyle> | ||
{/* TableBody */} | ||
<ManageTableData></ManageTableData> | ||
</S.ManageTableStyle> | ||
</> | ||
); | ||
}; | ||
|
||
export const ManageTableData = () => { | ||
const nickName: string = '이채연'; | ||
const Email: string = '[email protected]'; | ||
const Date: string = '2024-03-12 12:50'; | ||
|
||
return ( | ||
<> | ||
<S.ManageTableTrStyle> | ||
<S.ManageTableNickNameTd> | ||
<div style={{ display: 'flex', backgroundColor: 'red' }}> | ||
<div> | ||
<IoPersonCircle size={'39px'} color="#C3CAD9" /> | ||
</div> | ||
<div style={{ width: '164px', textAlign: 'center' }}>{nickName}</div> | ||
</div> | ||
</S.ManageTableNickNameTd> | ||
<S.ManageTableEmailTd>{Email}</S.ManageTableEmailTd> | ||
<S.ManageTableDateTd>{Date}</S.ManageTableDateTd> | ||
<S.ManageTableTaskTd></S.ManageTableTaskTd> | ||
</S.ManageTableTrStyle> | ||
</> | ||
); | ||
}; |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import { SettingMenu, SettingTitle } from '@/components/writeRetro/layout/Setting'; | ||
import { ManageMenu } from '@/components/writeRetro/layout/Manage'; | ||
import { SettingTitle } from '@/components/writeRetro/layout/Setting'; | ||
|
||
export const WriteRetroReviseTeamPage = () => { | ||
return ( | ||
<> | ||
<SettingTitle></SettingTitle> | ||
<SettingMenu></SettingMenu> | ||
{/* <SettingMenu></SettingMenu> */} | ||
<ManageMenu></ManageMenu> | ||
</> | ||
); | ||
}; |
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