-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
83 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { FC } from 'react'; | ||
|
||
import RecruitButton from './RecruitButton'; | ||
|
||
interface AboutRecruitProps {} | ||
|
||
// 모집 상태가 바뀌면 여기의 버튼을 상황에 맞게 <RecruitButton /> 과 <NoticeButton /> 으로 바꿔주면 됩니다. | ||
|
||
const AboutRecruit: FC<AboutRecruitProps> = ({}) => { | ||
return <RecruitButton />; | ||
}; | ||
|
||
export default AboutRecruit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
'use client'; | ||
|
||
import { FC, useEffect, useState } from 'react'; | ||
|
||
import AboutRecruit from './AboutRecruit'; | ||
|
||
interface SimpleMenuProps {} | ||
|
||
const SimpleMenu: FC<SimpleMenuProps> = ({}) => { | ||
const [isShowMenu, setIsShowMenu] = useState(false); | ||
|
||
useEffect(() => { | ||
const pid = setTimeout(() => { | ||
setIsShowMenu(true); | ||
}, 5000); | ||
|
||
return () => { | ||
clearTimeout(pid); | ||
}; | ||
}, []); | ||
|
||
if (!isShowMenu) { | ||
return null; | ||
} | ||
|
||
return ( | ||
<div> | ||
<AboutRecruit /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SimpleMenu; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
import Link from 'next/link'; | ||
|
||
import { RightArrowIcon } from '../../common/RightArrowIcon'; | ||
|
||
export default function Footer() { | ||
return ( | ||
<Link href='https://docs.google.com/forms/d/e/1FAIpQLScQQoHcjvOBnPAsNU_PJ27pO5ymNjoYfFIXt2n46KxjuPCSbg/viewform'> | ||
<button className='text-24-semibold fixed bottom-[6rem] right-[6rem] z-20'> | ||
<div className='flex flex-row items-center justify-center gap-[0.8rem]'> | ||
4기 모집 알림 신청 | ||
<RightArrowIcon /> | ||
</div> | ||
</button> | ||
</Link> | ||
); | ||
return null; | ||
// return ( | ||
// <Link href='https://docs.google.com/forms/d/e/1FAIpQLScQQoHcjvOBnPAsNU_PJ27pO5ymNjoYfFIXt2n46KxjuPCSbg/viewform'> | ||
// <button className='text-24-semibold fixed bottom-[6rem] right-[6rem] z-20'> | ||
// <div className='flex flex-row items-center justify-center gap-[0.8rem]'> | ||
// 4기 모집 알림 신청 | ||
// <RightArrowIcon /> | ||
// </div> | ||
// </button> | ||
// </Link> | ||
// ); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters