Skip to content
Merged
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
6 changes: 3 additions & 3 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import PrivateRoute from '@/pages/AdminPage/auth/PrivateRoute/PrivateRoute';
import PhotoEditTab from '@/pages/AdminPage/tabs/PhotoEditTab/PhotoEditTab';
import ApplicationFormPage from './pages/ApplicationFormPage/ApplicationFormPage';
import ApplicantsTab from './pages/AdminPage/tabs/ApplicantsTab/ApplicantsTab';
import ApplicantDetailPage from './pages/AdminPage/tabs/ApplicantsTab/ApplicantDetailPage';
import ApplicantDetailPage from './pages/AdminPage/tabs/ApplicantsTab/ApplicantDetailPage/ApplicantDetailPage';

const queryClient = new QueryClient();

Expand Down Expand Up @@ -78,11 +78,11 @@ const App = () => {
path='application-edit'
element={<ApplicationEditTab />}
/>
<Route
<Route
path='applicants'
element={<ApplicantsTab />}
/>
<Route
<Route
path='applicants/:questionId'
element={<ApplicantDetailPage />}
/>
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/assets/images/icons/applicant_drop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion frontend/src/assets/images/icons/back_arrow_icon.svg

This file was deleted.

1 change: 0 additions & 1 deletion frontend/src/assets/images/icons/forward_arrow_icon.svg

This file was deleted.

4 changes: 4 additions & 0 deletions frontend/src/assets/images/icons/next_applicant.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions frontend/src/assets/images/icons/prev_applicant.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions frontend/src/pages/AdminPage/components/SideBar/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const tabs = [
{ label: '모집 정보 수정', path: '/admin/recruit-edit' },
{ label: '활동 사진 수정', path: '/admin/photo-edit' },
{ label: '지원서 관리', path: '/admin/application-edit' },
{ label: '지원자 관리', path: '/admin/applicants' },
{ label: '지원자 현황', path: '/admin/applicants' },
{ label: '계정 관리', path: '/admin/account-edit' },
];

Expand All @@ -41,7 +41,11 @@ const SideBar = ({ clubLogo, clubName }: SideBarProps) => {
if (!confirmed) return;

try {
if (document.cookie.split(';').some((cookie) => cookie.trim().startsWith('refreshToken='))) {
if (
document.cookie
.split(';')
.some((cookie) => cookie.trim().startsWith('refreshToken='))
) {
await logout();
}
localStorage.removeItem('accessToken');
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
import styled from 'styled-components';
import * as ApplicationFormPageStyles from '@/pages/ApplicationFormPage/ApplicationFormPage.styles';
import DropdownArrow from '@/assets/images/icons/applicant_drop.svg';

export const Wrapper = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 20px;
margin-bottom: 10px;
`;

export const HeaderContainer = styled.div`
display: flex;
align-items: center;
gap: 10px;
width: 100%;
height: 58px;
`;

export const ApplicantContainer = styled.div`
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 240px;
width: 82%;
height: 100%;
border: none;
border-radius: 10px;
background: var(--f5, #f5f5f5);

select {
font-size: 24px;
font-style: normal;
font-weight: 700;
border: none;
background-color: transparent;

background-image: url(${DropdownArrow});
background-repeat: no-repeat;
background-position: right 8px center;
background-size: 11px 11px;

-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
`;

export const StatusSelect = styled.select<{ $backgroundColor: string }>`
border: none;
border-radius: 10px;
padding: 8px 12px;
width: 18%;
height: 100%;
cursor: pointer;

color: var(--4B, #4b4b4b);
text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 600;

background-color: ${(props) => props.$backgroundColor};

background-image: url(${DropdownArrow});
background-repeat: no-repeat;
background-position: right 15px center;
padding-right: 30px;
background-size: 9px 9px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;

&:focus {
outline: none;
}
`;

export const MemoContainer = styled.div`
display: flex;
flex-direction: row;
align-items: flex-start;
width: 100%;
gap: 24px;
padding: 12px 12px;
min-height: 100px;
background: var(--f5, #f5f5f5);
border-radius: 10px;
`;

export const MemoLabel = styled.label`
position: relative;
display: flex;
align-items: center;
justify-content: center;
align-self: flex-start;
width: 60px;
height: 32px;
background: #fff;
border-radius: 10px;
padding: 6px 14px;
color: var(--, #111);
font-size: 16px;
font-style: normal;
font-weight: 600;

&::after {
content: '';
position: absolute;
right: -20px;
top: 30%;
height: 40%;
width: 4px;
height: 14px;
background: #d9d9d9;
}
`;

export const MemoTextarea = styled.textarea`
flex: 1;
min-height: 80px;
border: none;
border-radius: 10px;
background: var(--f5, #f5f5f5);
padding: 12px;
resize: none;
font-size: 14px;
font-style: normal;
font-weight: 400;
color: var(--4B, #4b4b4b);

&:focus {
outline: none;
}
`;

export const ApplicantInfoContainer = styled.div`
display: block;
width: 100%;
padding: 10px 30px;
border-radius: 10px;
border: 1px solid #f2f2f2;
`;

export const QuestionsWrapper = styled(
ApplicationFormPageStyles.QuestionsWrapper,
)`
cursor: default;
`;

export const NavigationButton = styled.img`
cursor: pointer;
`;
Loading