Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export function StudyDetailView({ id, locale, initial }: { id: number; locale: L
{ icon: Globe, label: t({ ko: '시간대', en: 'Time zone' }, locale), value: studyTimezoneLabel(study, locale) },
{ icon: Rocket, label: t({ ko: '시작 예정일', en: 'Starts' }, locale), value: studyStartValue(study, locale) },
...(rec?.capacity ? [{ icon: Users, label: t({ ko: '정원', en: 'Capacity' }, locale), value: `${rec.capacity}${t({ ko: '명', en: '' }, locale)}` }] : []),
...(deadline ? [{ icon: CalendarClock, label: t({ ko: '모집 마감', en: 'Apply by' }, locale), value: deadline }] : []),
];
const url = `${SITE_URL}/${locale}/studies/${id}`;

Expand Down Expand Up @@ -136,12 +137,7 @@ export function StudyDetailView({ id, locale, initial }: { id: number; locale: L
</div>
))}
</dl>
<div className='flex flex-col gap-3 border-t border-border bg-surface-1 px-6 py-5'>
{deadline && (
<span className='tnum type-label-lg text-fg-secondary'>
{t({ ko: `${deadline}까지 모집`, en: `Apply by ${deadline}` }, locale)}
</span>
)}
<div className='border-t border-border bg-surface-1 px-6 py-5'>
<ApplyButton study={study} locale={locale} />
</div>
</aside>
Expand Down
Loading