Skip to content

Commit

Permalink
feat: 봉사 현황 페이지
Browse files Browse the repository at this point in the history
  • Loading branch information
eejx0 committed Sep 15, 2024
1 parent 94cdf83 commit 78e6713
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
57 changes: 57 additions & 0 deletions services/admin/src/pages/volunteer/Application.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import { WithNavigatorBar } from '@/components/WithNavigatorBar';
import styled from 'styled-components';
import { VolunteerHeader } from './Header';
import { InfoCard } from '@/components/volunteer/InfoCard';
import { Text } from '@team-aliens/design-system';

export function VolunteerApplication() {
return (
<WithNavigatorBar>
<_Wrapper>
<VolunteerHeader />
<_VolunteerWrapper>
<div>
<InfoCard />
<_StudentWrapper>
<div>
<Text size="bodyS" color="primary">
0000 이름
</Text>
</div>
</_StudentWrapper>
</div>
</_VolunteerWrapper>
</_Wrapper>
</WithNavigatorBar>
);
}

const _Wrapper = styled.div`
margin: 0 auto;
width: 1000px;
`;

const _VolunteerWrapper = styled.div`
display: flex;
flex-direction: column;
gap: 64px;
> div {
display: flex;
gap: 59px;
}
`;

const _StudentWrapper = styled.div`
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 34px;
> div {
width: 111px;
height: 38px;
border-radius: 8px;
background-color: #f5f9ff;
display: flex;
align-items: center;
justify-content: center;
}
`;
2 changes: 2 additions & 0 deletions services/admin/src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { Outing } from './pages/outing';
import { OutingTimeSet } from './pages/outing/OutingTimeSet';
import { Volunteer } from './pages/volunteer';
import { VolunteerDetail } from './pages/volunteer/Detail';
import { VolunteerApplication } from './pages/volunteer/Application';

export const pathToKorean = {
'notice': {
Expand Down Expand Up @@ -132,6 +133,7 @@ export const Router = createBrowserRouter([
children: [
{ index: true, element: <Volunteer /> },
{ path: 'detail', element: <VolunteerDetail /> },
{ path: 'current', element: <VolunteerApplication /> },
],
},
],
Expand Down

0 comments on commit 78e6713

Please sign in to comment.