forked from HackDavis/hackdavis-hub
-
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.
Merge pull request #117 from HackDavis/feat/changeToRecruitmentVersion
Feat/change to recruitment version
- Loading branch information
Showing
12 changed files
with
472 additions
and
24 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
14 changes: 8 additions & 6 deletions
14
app/(pages)/(index-page)/_components/BottomSection/BottomSection.tsx
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,15 +1,17 @@ | ||
import FAQ from './FAQ/FAQ'; | ||
import BottomPolaroids from './BottomPolaroids/BottomPolaroids'; | ||
import style from './BottomSection.module.scss'; | ||
import DirectorFAQ from './DirectorFAQ/DirectorFAQ'; | ||
|
||
export default function BottomSection() { | ||
return ( | ||
<div> | ||
<div className={style.container}> | ||
<FAQ /> | ||
<div className={style.polaroids}> | ||
<BottomPolaroids /> | ||
</div> | ||
<div className={style.container}> | ||
<DirectorFAQ /> | ||
|
||
<div className={style.polaroids}> | ||
<BottomPolaroids /> | ||
</div> | ||
<FAQ /> | ||
</div> | ||
); | ||
} |
11 changes: 11 additions & 0 deletions
11
app/(pages)/(index-page)/_components/BottomSection/DirectorFAQ/Assets/dropDown.tsx
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,11 @@ | ||
export const DropDownArrow = () => ( | ||
<svg | ||
width="15" | ||
height="13" | ||
viewBox="0 0 22 13" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path d="M1 1L11 11L21 1" stroke="white" strokeWidth="2" /> | ||
</svg> | ||
); |
17 changes: 17 additions & 0 deletions
17
app/(pages)/(index-page)/_components/BottomSection/DirectorFAQ/Assets/plusHorizontal.tsx
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,17 @@ | ||
export const PlusHorizontal = () => ( | ||
<svg | ||
width="19" | ||
height="3" | ||
viewBox="0 0 19 3" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M1.09241 1.41174H17.563" | ||
stroke="white" | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</svg> | ||
); |
17 changes: 17 additions & 0 deletions
17
app/(pages)/(index-page)/_components/BottomSection/DirectorFAQ/Assets/plusVertical.tsx
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,17 @@ | ||
export const PlusVertical = () => ( | ||
<svg | ||
width="19" | ||
height="3" | ||
viewBox="0 0 19 3" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M1.09241 1.41174H17.563" | ||
stroke="white" | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</svg> | ||
); |
159 changes: 159 additions & 0 deletions
159
app/(pages)/(index-page)/_components/BottomSection/DirectorFAQ/DirectorFAQ.module.scss
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,159 @@ | ||
// values are for the screen width 960 and less | ||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
width: 83%; | ||
margin-top: 8%; | ||
|
||
.FAQText { | ||
color: #FFF; | ||
font-family: "Metropolis"; | ||
font-size: 2.25rem; | ||
font-style: normal; | ||
font-weight: 700; | ||
line-height: normal; | ||
letter-spacing: 1.821px; | ||
padding-bottom: 36px; | ||
} | ||
.questions { | ||
color: #FFF; | ||
font-family: "Metropolis"; | ||
font-size: 1rem; | ||
font-style: normal; | ||
font-weight: 700; | ||
line-height: 64px; | ||
letter-spacing: 0.342px; | ||
background-image: none; | ||
} | ||
|
||
.answer { | ||
color: #FFF; | ||
font-family: "Metropolis"; | ||
font-size: 1rem; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 150%; /* 25.613px */ | ||
letter-spacing: 0.342px; | ||
padding-bottom: 3%; | ||
} | ||
|
||
// used for customizable Accordion item | ||
.itemBtn { | ||
cursor: pointer; | ||
background-color: transparent; | ||
border: none; | ||
width: 100%; | ||
text-align: start; | ||
} | ||
|
||
.itemBtnExpanded { | ||
background-color: transparent; | ||
|
||
.questionRow{ | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
.dropDownArrow { | ||
transform: rotate(180deg); | ||
} | ||
} | ||
} | ||
|
||
.itemContent { | ||
transition: height 0.3s ease-in-out; | ||
} | ||
|
||
.questionRow{ | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
.dropDownArrow { | ||
transform: rotate(0deg); | ||
transition: transform 0.3s cubic-bezier(0, 0, 0, 1); | ||
transform-origin: center center; | ||
} | ||
} | ||
|
||
} | ||
@media screen and (min-width: 961px) { | ||
.container { | ||
width: 39%; | ||
|
||
.FAQText { | ||
font-size: 3.75rem; | ||
} | ||
|
||
.questions { | ||
font-size: 0.9375rem; | ||
line-height: 39px; | ||
|
||
} | ||
|
||
.answer { | ||
font-size: 0.9375rem; | ||
} | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1024px) { | ||
.container { | ||
width: 56%; | ||
|
||
.FAQText { | ||
font-size: 4rem; | ||
padding-bottom: 55px; | ||
} | ||
|
||
.questions { | ||
font-size: 1rem; | ||
line-height: 41.6px; | ||
} | ||
|
||
.answer { | ||
font-size: 1rem; | ||
} | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1366px) { | ||
.container { | ||
width: 56%; | ||
|
||
.FAQText { | ||
font-size: 5.7rem; | ||
} | ||
|
||
.questions { | ||
font-size: 1.07rem; | ||
line-height: 51.16px; | ||
} | ||
|
||
.answer { | ||
font-size: 1.07rem; | ||
} | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1920px) { | ||
.container { | ||
width: 61%; | ||
|
||
.FAQText { | ||
font-size: 8rem; | ||
} | ||
|
||
.questions { | ||
font-size: 1.5rem; | ||
line-height: 72px; | ||
} | ||
|
||
.answer { | ||
font-size: 1.5rem; | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.