Skip to content

Commit

Permalink
[hotfix]: Some type and added next generation recurit link
Browse files Browse the repository at this point in the history
  • Loading branch information
youngminss committed Sep 21, 2024
1 parent c22d1ff commit 73a1287
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
10 changes: 7 additions & 3 deletions components/home/AnimatedTextSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { SectionTemplate } from 'components/home';
import Path from 'constants/path';
import {
IS_RECRUITING,
NEXT_GENERATION_RECRUIT_LINK,
RECRUIT_BANNER,
RECRUIT_BANNER_ACTIVE,
} from 'database/recruit';
Expand All @@ -17,9 +18,7 @@ function AnimatedTextSection(): ReactElement {
const animatedTextRef = useRef<HTMLDivElement>(null);
const BannerInfo = IS_RECRUITING ? RECRUIT_BANNER_ACTIVE : RECRUIT_BANNER;
const { buttonName } = BannerInfo;
const buttonParams = IS_RECRUITING
? { width: 168 }
: { disabled: true, width: 190 };
const buttonParams = IS_RECRUITING ? { width: 168 } : { width: 190 };

const router = useRouter();
useEffect(() => {
Expand All @@ -42,6 +41,11 @@ function AnimatedTextSection(): ReactElement {
className="recruitButton"
buttonText={buttonName}
onClick={() => {
if (!IS_RECRUITING) {
window.open(NEXT_GENERATION_RECRUIT_LINK, '_blank');
return;
}

router.push(Path.Recruit);
}}
{...buttonParams}
Expand Down
5 changes: 4 additions & 1 deletion components/recruit/RecruitBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Breakpoints from 'constants/breakpoints';
import Yapp from 'constants/yapp';
import {
IS_RECRUITING,
NEXT_GENERATION_RECRUIT_LINK,
RECRUIT_BANNER,
RECRUIT_BANNER_ACTIVE,
} from 'database/recruit';
Expand Down Expand Up @@ -34,7 +35,9 @@ function RecruitBanner() {
fontColor="white"
buttonColor="grey_850"
borderColor="lightGrey"
disabled={!IS_RECRUITING}
onClick={() => {
window.open(NEXT_GENERATION_RECRUIT_LINK, '_blank');
}}
>
{IS_RECRUITING ? 'λͺ¨λ“  곡고 보기' : 'μ§€μ›λ§ˆκ°'}
</ApplyButton>
Expand Down
6 changes: 3 additions & 3 deletions database/projects/24th/mafoo.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@
},
{
"name": "κΉ€κ²½λ―Ό",
"field": "iOS",
"field": "Server",
"content": "κ°„λ§Œμ— ꡉμž₯히 μ‹ μ„ ν•˜κ³  μ¦κ±°μ› λ˜ ν”„λ‘œμ νŠΈμ˜€μŠ΅λ‹ˆλ‹€! κΈΈλ‹€λ©΄ κΈΈκ³  짧닀면 짧은 κΈ°κ°„μ΄μ—ˆμ§€λ§Œ νŒ€μ›λ“€μ—κ²Œ λͺ¨λ‘ λ„ˆλ¬΄ 고생 λ§Žμ•˜λ‹€κ³  말해주고 μ‹Άμ–΄μš” :)"
},
{
"name": "μ†‘μ˜λ―Ό",
"field": "iOS",
"field": "Server",
"content": "쒋은 λΆ„λ“€κ³Ό 짧은 κΈ°κ°„λ™μ•ˆ ν•¨κ»˜ 멋진 ν”„λ‘œλ•νŠΈλ₯Ό λ§Œλ“€ 수 μžˆμ–΄μ„œ ν–‰λ³΅ν–ˆμ–΄μš” πŸ€πŸ€"
},
{
"name": "λ°•λ―Όμˆ˜",
"field": "iOS",
"field": "Web",
"content": "인생에 μžˆμ–΄μ„œ 쒋은 λ„μ „μ΄μ—ˆκ³ , 쒋은 κ²½ν—˜μ΄μ—ˆμŠ΅λ‹ˆλ‹€."
}
],
Expand Down
1 change: 1 addition & 0 deletions database/projects/24th/trouble_painter.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"program": [
"Figma",
"Dart",
"Flutter",
"Kotlin",
"Spring",
"Boot",
Expand Down
2 changes: 1 addition & 1 deletion database/projects/24th/wespot.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
{
"name": "κΉ€μž¬μ—°",
"field": "Backend",
"field": "Server",
"content": "YAPPμ΄λΌλŠ” IT μ—°ν•© 동아리에 운 μ’‹κ²Œ λ“€μ–΄μ˜€κ³ , 운 μ’‹κ²Œ μ§€κΈˆμ˜ Wespot νŒ€μ›λ“€μ„ λ§Œλ‚  수 μžˆμ—ˆκΈ°μ—, 쒋은 κ²½ν—˜μ„ 많이 ν•  수 μžˆμ—ˆμŠ΅λ‹ˆλ‹€. μ•„ν‚€ν…μ²˜, μ–Έμ–΄, λ³΅μž‘ν•œ 둜직, μƒˆλ‘œμš΄ 기술 ν•™μŠ΅ 및 적용 λ“±λ“±μ˜ λ‹€μ–‘ν•œ 기술적인 λ„μ „λΏλ§Œ μ•„λ‹ˆλΌ, νŒ€μ›λ“€κ³Όμ˜ ꡐ우 ν™œλ™κΉŒμ§€ λͺ¨λ“  것이 재미있고 뜻 κΉŠμ—ˆμŠ΅λ‹ˆλ‹€. μ§€κΈˆμ€ μ‰½κ²Œ λ§ˆμ§€λ§‰μ΄ 될 μˆ˜λ„ μžˆλŠ” μˆœκ°„μ΄μ§€λ§Œ, YAPPμ΄λΌλŠ” 쒋은 맀개체 μ†μ—μ„œ λ‹€μ–‘ν•œ μˆœκ°„λ“€μ΄ 우리λ₯Ό μ—°κ²°ν•΄μ£Όμ—ˆλ“―, μ‰½κ²Œ λ§ˆμ§€λ§‰μ„ λ§žμ΄ν•˜μ§€ μ•Šκ³ , μ•žμœΌλ‘œλ„ κ³„μ†ν•΄μ„œ μ„œλΉ„μŠ€λ₯Ό λ°œμ „μ‹œν‚€λ©° ν–‰λ³΅ν•˜κ²Œ ν˜‘μ—…ν•  수 μžˆμ—ˆμœΌλ©΄ μ’‹κ² μŠ΅λ‹ˆλ‹€. 또 λ‹€λ₯Έ μ‹œμž‘μ΄ 처음의 μ‹œμž‘λ³΄λ‹€ 더 뜻 κΉŠμ—ˆμœΌλ©΄ μ’‹κ² κ³ , μ§€κΈˆμ²˜λŸΌ κ³„μ†ν•΄μ„œ 쒋은 κ²½ν—˜μ„ λ§Œλ“€μ–΄κ°ˆ 수 μžˆμ—ˆμœΌλ©΄ μ’‹κ² μŠ΅λ‹ˆλ‹€."
},
{
Expand Down
3 changes: 3 additions & 0 deletions database/recruit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const RECRUIT_BANNER_ACTIVE = {
buttonName: `${Yapp.YAPP_GENERATION}κΈ° μ§€μ›ν•˜κΈ°`,
};

export const NEXT_GENERATION_RECRUIT_LINK =
'https://docs.google.com/forms/d/1Pz_bPLk7olNj45XnakQIB6LNGE9MnaZenzowIQ-mPQ8/viewform?pli=1&pli=1&pli=1&edit_requested=true';

/** λͺ¨μ§‘ κ°œμš” */
export const RECRUIT_OVERVIEW = {
title: 'λͺ¨μ§‘ κ°œμš”',
Expand Down

0 comments on commit 73a1287

Please sign in to comment.