diff --git a/src/app/(admin)/layout.tsx b/src/app/(admin)/layout.tsx index 29dd1c52..cddddc45 100644 --- a/src/app/(admin)/layout.tsx +++ b/src/app/(admin)/layout.tsx @@ -37,7 +37,7 @@ export default async function AdminLayout({ const initialAccessToken = await getServerCookie('accessToken'); return ( - +
{GTM_ID &&- 재량 평가는 최대 3회까지 가능하며, 각 평가별 5점씩 부여됩니다. + 재량 평가는 최대 {EVALUATION_COUNT}회까지 가능하며, 각 평가별 + 5점씩 부여됩니다.
{studyDetail?.detailInfo.title} diff --git a/src/components/section/group-study-info-section.tsx b/src/components/section/group-study-info-section.tsx index 62b2ab24..a7598468 100644 --- a/src/components/section/group-study-info-section.tsx +++ b/src/components/section/group-study-info-section.tsx @@ -9,7 +9,6 @@ import UserAvatar from '@/components/ui/avatar'; import AvatarStack from '@/components/ui/avatar-stack'; import type { AvatarStackMember } from '@/components/ui/avatar-stack'; import Button from '@/components/ui/button'; -import StudyActiveTicker from '@/components/ui/study-active-ticker'; import UserProfileModal from '@/entities/user/ui/user-profile-modal'; import { CurriculumSummaryItem } from '@/features/study/group/api/group-study-types'; import { useApplicantsByStatusQuery } from '@/features/study/group/application/model/use-applicant-qeury'; @@ -147,12 +146,7 @@ export default function StudyInfoSection({
+ 지금{' '} + + {viewCount}명 + + 이 이 스터디를 보고 있어요. +
+ ), + }, + { + icon:+ + {approvedCount}명 + + 이 가입했고 현재{' '} + + {remaining}자리 + {' '} + 남았어요. +
+ ), + }, ]; - const [currentIndex, setCurrentIndex] = useState(0); - const [visible, setVisible] = useState(true); - useEffect(() => { const interval = setInterval(() => { - setVisible(false); - setTimeout(() => { - setCurrentIndex((prev) => (prev + 1) % messages.length); - setVisible(true); - }, 300); + setCurrentIndex((prev) => (prev + 1) % messages.length); }, 3000); return () => clearInterval(interval); }, [messages.length]); - const now = useNow(); - - const start = dayjs(startDate); - const diffMs = start.diff(now); - const state = getCountdownState(diffMs); - - const countdown = - state?.urgent === true - ? { text: state.label, color: state.textColorClass, pulse: state.pulse } - : null; - - const isPulse = remaining > 0 && remaining <= 3; - return ( -+ {formState.errors.interviewPost.root.message} +
+ )} diff --git a/src/features/study/interview/ui/study-done-modal.tsx b/src/features/study/interview/ui/study-done-modal.tsx index 5f2090e4..4b6c0f0b 100644 --- a/src/features/study/interview/ui/study-done-modal.tsx +++ b/src/features/study/interview/ui/study-done-modal.tsx @@ -213,7 +213,7 @@ function StudyDoneForm({ required direction="vertical" showCounterRight - counterMax={100} + maxCharCount={100} >