Skip to content

Commit 7f74325

Browse files
authored
Merge pull request #281 from CSE-Shaco/develop
typo(recruit/member): 안내 수정
2 parents cd26cce + 3bd4e6e commit 7f74325

4 files changed

Lines changed: 25 additions & 12 deletions

File tree

220 KB
Loading

src/app/recruit/member/completed/page.tsx

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use client'
22

33
import Link from 'next/link'
4+
import { useSearchParams } from 'next/navigation'
45
import { GdgLogo } from '@/components/ui/design-system'
56
import { cn } from '@/utils/cn'
67

@@ -42,8 +43,13 @@ function CoreMemberPromoSection() {
4243
<section className="relative left-1/2 w-[100dvw] -translate-x-1/2 overflow-hidden min-h-[640px] mobile:min-h-[572px]">
4344
<div
4445
aria-hidden
45-
className="absolute inset-0 bg-center bg-no-repeat bg-[length:100%_auto]"
46-
style={{ backgroundImage: "url('/images/activity/core_pic.jpeg')" }}
46+
className="absolute inset-0 bg-center bg-no-repeat bg-[length:100%_auto] mobile:hidden"
47+
style={{ backgroundImage: "url('/images/recruit/core_pic.jpeg')" }}
48+
/>
49+
<div
50+
aria-hidden
51+
className="absolute inset-0 hidden mobile:block bg-center bg-no-repeat bg-[length:100%_auto]"
52+
style={{ backgroundImage: "url('/images/recruit/core_pic_m.jpg')" }}
4753
/>
4854
<div
4955
aria-hidden
@@ -87,21 +93,28 @@ function CoreMemberPromoSection() {
8793
}
8894

8995
export default function RecruitSubmit() {
96+
const searchParams = useSearchParams()
97+
const isFromRecruit = searchParams.get('from') === 'recruit'
98+
9099
return (
91100
<main className="min-h-screen bg-black">
92101
<div className="pt-18 pb-28 mobile:pt-12 mobile:pb-20 layout-grid layout-grid--narrow-screen layout-grid--4 gap-y-8">
93102
<div className="col-span-4 flex items-center gap-3 mobile:gap-2">
94103
<GdgLogo mode="auto" />
95-
<h1 className="typo-pc-h3 text-white mobile:typo-m-h2">GDGoC INHA 지원 완료</h1>
104+
<h1 className="typo-pc-h3 text-white mobile:typo-m-h2">
105+
{isFromRecruit ? 'GDGoC INHA 지원 완료' : 'GDGoC INHA 일정 안내'}
106+
</h1>
96107
</div>
97108

98109
<div className="col-span-4 flex flex-col gap-8 w-full">
99-
<section className="w-full max-w-[720px]">
100-
<h2 className="typo-pc-h4 mobile:typo-m-h3 text-white">지원해주셔서 감사합니다.</h2>
101-
<p className="typo-pc-b2 mobile:typo-m-b1 text-gray-800 mt-2">
102-
아래 안내 사항을 확인해 주세요.
103-
</p>
104-
</section>
110+
{isFromRecruit && (
111+
<section className="w-full max-w-[720px]">
112+
<h2 className="typo-pc-h4 mobile:typo-m-h3 text-white">지원해주셔서 감사합니다.</h2>
113+
<p className="typo-pc-b2 mobile:typo-m-b1 text-gray-800 mt-2">
114+
아래 안내 사항을 확인해 주세요.
115+
</p>
116+
</section>
117+
)}
105118

106119
<Section title="모집 안내">
107120
<Card className="flex-col items-start gap-2">

src/app/recruit/member/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ export default function Recruit() {
384384
formattedData
385385
)
386386
}
387-
router.push('/recruit/member/completed')
387+
router.push('/recruit/member/completed?from=recruit')
388388
} catch (error: any) {
389389
setGlobalError(error.response?.data?.message || '지원서 제출 중 오류가 발생했습니다.')
390390
} finally {
@@ -601,9 +601,9 @@ export default function Recruit() {
601601
{/* 증빙 서류 */}
602602
{formData.enrolledClassification === '군휴학' && (
603603
<GdgFieldContainer
604-
label="증빙 서류 (군휴학)"
604+
label="증빙 서류 (군 휴학)"
605605
required
606-
caption="PDF, JPG, PNG 파일만 가능합니다."
606+
caption="포털에서 군휴학 신청내역 캡쳐"
607607
>
608608
<input
609609
type="file"

0 commit comments

Comments
 (0)