Skip to content

Commit

Permalink
feat: recruit page 링크 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
SeojinSeojin committed Sep 3, 2023
1 parent 990ed04 commit 7617c17
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 3 deletions.
Binary file added src/assets/images/img_mainvalue_logos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/views/RecruitPage/RecruitPage.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import styled from '@emotion/styled';
import { Footer, Header, Layout, ScrollToTopButton } from '@src/components';
import { ActivityReview } from './components/ActivityReview/ActivityReview';
import ApplySection from './components/ApplySection';
import ChapterInfo from './components/ChapterInfo';
import Contact from './components/Contact';
import FaqInfo from './components/FAQ';
import NotificationSection from './components/NotificationSection';
import RecruiteeInfo from './components/RecruteeInfo';
import Schedule from './components/Schedule';

Expand All @@ -14,7 +14,7 @@ function Recruit() {
<Header />
<ScrollToTopButton />
<Root>
<NotificationSection />
<ApplySection />
<ContentWrapper>
<RecruiteeInfo />
<ChapterInfo />
Expand Down
115 changes: 115 additions & 0 deletions src/views/RecruitPage/components/ApplySection/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
import styled from '@emotion/styled';
import imgMainValue from '@src/assets/images/img_mainvalue_logos.png';

const ApplySection = () => {
return (
<Wrapper>
<Chip>YB RECRUITING</Chip>
<div style={{ height: '13px' }} />
<Title>SOPT의 33번째 열정이 되어주세요!</Title>
<div style={{ height: '49px' }} />
<BlurOverlay />
<ApplyButton href="https://sopt-recruiting.web.app/recruiting/apply/yb" target="_blank">
지원하기
</ApplyButton>
</Wrapper>
);
};

const BlurOverlay = styled.div`
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(rgba(27, 27, 27, 0.5), rgba(27, 27, 27, 1));
z-index: 1;
`;

const ApplyButton = styled.a`
width: 220px;
padding: 24px 0;
border-radius: 50px;
color: #212121;
text-align: center;
font-size: 22px;
font-style: normal;
font-weight: 700;
line-height: 100%; /* 22px */
letter-spacing: -0.44px;
background-color: #1dedae;
z-index: 2;
/* 태블릿 뷰 */
@media (max-width: 1199px) and (min-width: 766px) {
font-size: 18px;
width: 180px;
padding: 20px 0;
}
/* 모바일 뷰 */
@media (max-width: 765.9px) {
font-size: 16px;
width: 160px;
padding: 16px 0;
}
`;

const Title = styled.div`
text-align: center;
color: #fcfcfc;
text-align: center;
font-size: 43px;
font-weight: 700;
line-height: 140%; /* 60.2px */
letter-spacing: -0.86px;
z-index: 2;
/* 태블릿 뷰 */
@media (max-width: 1199px) and (min-width: 766px) {
font-size: 36px;
}
/* 모바일 뷰 */
@media (max-width: 765.9px) {
font-size: 32px;
}
`;

const Chip = styled.div`
padding: 6px 0;
width: 198px;
border-radius: 17px;
border: 1.682px solid #1ba072;
background: rgba(29, 237, 162, 0.1);
color: #1deda2;
text-align: center;
z-index: 2;
`;

const Wrapper = styled.div`
width: 100vw;
height: 580px;
position: relative;
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;
padding-top: 90px;
background-image: url(${imgMainValue.src});
background-position: center bottom -60px;
background-size: auto 285px;
background-repeat: no-repeat;
/* 태블릿 뷰 */
@media (max-width: 1199px) and (min-width: 766px) {
padding-top: 0;
height: 440px;
background-size: auto 160px;
background-position: center bottom;
}
/* 모바일 뷰 */
@media (max-width: 765.9px) {
padding-top: 0;
height: 440px;
background-size: auto 120px;
background-position: center bottom 40px;
}
`;
export default ApplySection;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled from '@emotion/styled';
import { useRef, useState } from 'react';
import axios from 'axios';
import { useRef, useState } from 'react';

const NotificationSection = () => {
const [isRegistered, setIsRegistered] = useState(false);
Expand Down

0 comments on commit 7617c17

Please sign in to comment.