Skip to content

Commit

Permalink
fix: 랜딩 페이지 알림 신청 버튼 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
klmhyeonwoo committed Nov 26, 2024
1 parent 1a7cee7 commit 212118f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/constant/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const NOTION_RECRUIT_PATH =

// NOTE: UTC 타임존에 맞추기 위해 9시간을 뺌
// TODO: 개발용으로 임시로 데이트 타임을 변경
export const START_DATE = '2024-12-03T00:00:00.000Z'; // 04.27 00:00
export const END_DATE = '2024-11-30T14:59:59.000Z'; // 05.04 11:59:59
export const START_DATE = '2024-12-03T14:59:59.000Z'; // 04.27 00:00
export const END_DATE = '2024-12-09T14:59:59.000Z'; // 05.04 11:59:59

// export const START_DATE = '2024-04-19T06:00:00.000Z'; // test
// export const END_DATE = '2025-03-04T20:00:00.000Z'; // test
Expand Down
6 changes: 5 additions & 1 deletion src/features/Main/sections/MainIntroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { theme } from '~/styles/theme';
*/
export const MainIntroSection = () => {
const { isTargetSize: isMobileSize } = useCheckWindowSize('mobile');
// FIXME: 추후 링크 상수화 진행
const handleClick = () => window.open('https://bit.ly/3YJgDmR');

return (
/** FIXME: 디자이너분들께 공유드리기, 사진 깨짐 현상 존재
Expand All @@ -32,7 +34,9 @@ export const MainIntroSection = () => {
id={'title'}
alt={'디프만 메인 '}
/>
<button css={buttonCss}>16기 지원하기</button>
<button css={buttonCss} onClick={handleClick}>
16기 모집 알림 신청
</button>
</article>
</section>
);
Expand Down
2 changes: 0 additions & 2 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { domMax, LazyMotion } from 'framer-motion';

import { Footer } from '~/components/Footer';
import { GNB } from '~/components/GNB';
import WillRecruitNoticePopup from '~/components/Popup/WillRecruitNoticePopup';
import { BASE_URL } from '~/constant/common';
import { useRecordPageView } from '~/hooks/useRecordPageView';
import GlobalStyle from '~/styles/globalStyle';
Expand All @@ -30,7 +29,6 @@ export default function App({ Component, pageProps }: AppProps & InitialProps) {
<meta property="og:url" content={currentUrl} />
</Head>
<GNB />
<WillRecruitNoticePopup />
<GlobalStyle />
<Component {...pageProps} />
<Footer />
Expand Down

0 comments on commit 212118f

Please sign in to comment.