Skip to content

Commit

Permalink
Revert "Input 높이 및 모집 대상 chip 변경 (#924)"
Browse files Browse the repository at this point in the history
This reverts commit 02ee18e.
  • Loading branch information
ocahs9 committed Oct 13, 2024
1 parent ac0cc32 commit ec44c82
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
9 changes: 5 additions & 4 deletions src/components/form/TextInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,23 @@ const SContainer = styled('div', {
const SInputWrapper = styled('div', {
display: 'flex',
alignItems: 'center',

// height: '$48',
});
const SInput = styled('input', {
width: '100%',
padding: '18px 20px',
display: 'flex',
alignItems: 'center',
fontAg: '16_medium_150',
lineHeight: '26px',
fontAg: '16_medium_100',
color: '$gray10',
background: '$gray800',
borderRadius: 10,
'&::placeholder': {
color: '$gray300',
},

'@tablet': {
padding: '16px',
},
});
const STextCount = styled('span', {
width: '100%',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dayjs.locale('ko');
import { PART_NAME } from '@constants/option';
import { useCallback, useRef, useState } from 'react';
import { GetMeetingResponse } from '@api/API_LEGACY/meeting';
import { Chip } from '@sopt-makers/ui';

interface InformationPanelProps {
detailData: GetMeetingResponse;
Expand Down Expand Up @@ -89,12 +88,9 @@ const InformationPanel = ({ detailData }: InformationPanelProps) => {
<STitle>{title}</STitle>
{title === '모집 대상' && (
<STarget>
{partList?.map(part => (
<Chip key={part} style={{ width: '80px', boxShadow: 'none' }} active>
{part}
</Chip>
))}
{generation}
대상 기수 : {generation}
<br />
대상 파트 : {partList?.join(', ')}
</STarget>
)}
<SDescription>{handleContent(content)}</SDescription>
Expand Down
4 changes: 2 additions & 2 deletions src/constants/option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const PART_NAME: Record<string, string> = {
PM: '기획',
DESIGN: '디자인',
IOS: 'iOS',
ANDROID: 'Android',
ANDROID: '안드로이드',
SERVER: '서버',
WEB: '웹',
};
Expand All @@ -22,7 +22,7 @@ export const APPROVAL_STATUS_KOREAN_TO_ENGLISH: StringKeyObject = {
};
export const APPLICATION_TYPE = ['신청', '초대'];
export const CATEGORY_OPTIONS = ['스터디', '행사'];
export const PART_OPTIONS = ['기획', '디자인', 'Android', 'iOS', '웹', '서버'];
export const PART_OPTIONS = ['기획', '디자인', '안드로이드', 'iOS', '웹', '서버'];
export const PART_VALUES = ['PM', 'DESIGN', 'ANDROID', 'IOS', 'WEB', 'SERVER'];
export const ACTION_STATUS = ['모집 전', '모집 중', '모집 마감', '활동 중', '활동 종료'];

Expand Down

0 comments on commit ec44c82

Please sign in to comment.