fixed select component
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import React from 'react';
|
||||
import { useHistory, useParams } from 'react-router-dom';
|
||||
import style from './Candidate.module.scss';
|
||||
import style from './Candidate.module.css';
|
||||
import { candidatesList } from '../Home/Home';
|
||||
import icon from '../../images/front_end.png';
|
||||
import arrow from '../../images/right-arrow.png';
|
||||
import rectangle from '../../images/rectangle_secondPage.png';
|
||||
import Sidebar from './sections/Sidebar';
|
||||
import classes from './Candidate.module.scss';
|
||||
import SectionOne from './sections/SectionOne';
|
||||
import SectionTwo from './sections/SectionTwo';
|
||||
import SectionThree from './sections/SectionThree';
|
||||
@@ -24,7 +23,7 @@ const Candidate = () => {
|
||||
const { name } = currentCandidate;
|
||||
|
||||
return (
|
||||
<section className={classes.candidate}>
|
||||
<section className={style.candidate}>
|
||||
<div className="container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
.candidate {
|
||||
/* .candidate {
|
||||
&__title {
|
||||
margin-top: 60px;
|
||||
& h2 {
|
||||
@@ -70,4 +70,79 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
} */
|
||||
|
||||
|
||||
.candidate__title {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.candidate__title > h2 {
|
||||
text-align: center;
|
||||
color: #52b709;
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 5em;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 77.81px;
|
||||
}
|
||||
|
||||
.candidate__title > h2 > span {
|
||||
color: #282828;
|
||||
font-style: normal;
|
||||
letter-spacing: 0.56px;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.candidate__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 120px;
|
||||
margin-left: 60px;
|
||||
}
|
||||
|
||||
.arrow > img {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.arrow > span {
|
||||
margin-left: 40px;
|
||||
margin-right: 120px;
|
||||
font-family: 'GT Eesti Pro Display - Thin';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 36px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.candidate__main {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
.candidate__main__description {
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
.candidate__main__description > h2 {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 2.8em;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 36px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.candidate__main__description > p {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.2em;
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 36px;
|
||||
text-align: left;
|
||||
margin: 20px 0px;
|
||||
}
|
@@ -1,3 +1,3 @@
|
||||
import Candidate from './Candidate';
|
||||
|
||||
export default Candidate;
|
||||
export default Candidate;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import style from './SectionFive.module.scss';
|
||||
import style from './SectionFive.module.css';
|
||||
|
||||
const SectionFive = () => {
|
||||
return (
|
||||
|
9
src/components/Candidate/sections/SectionFive.module.css
Normal file
9
src/components/Candidate/sections/SectionFive.module.css
Normal file
@@ -0,0 +1,9 @@
|
||||
.SectionFive > p {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 16px;
|
||||
text-align: left;
|
||||
}
|
@@ -1,11 +0,0 @@
|
||||
.SectionFive {
|
||||
& p {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 16px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import style from './SectionFour.module.scss';
|
||||
import style from './SectionFour.module.css';
|
||||
|
||||
const SectionFour = () => {
|
||||
return (
|
||||
|
9
src/components/Candidate/sections/SectionFour.module.css
Normal file
9
src/components/Candidate/sections/SectionFour.module.css
Normal file
@@ -0,0 +1,9 @@
|
||||
.SectionFour > p {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 18px;
|
||||
text-align: left;
|
||||
}
|
@@ -1,11 +0,0 @@
|
||||
.SectionFour {
|
||||
& p {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 18px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import style from './SectionOne.module.scss';
|
||||
import style from './SectionOne.module.css';
|
||||
|
||||
const SectionOne = () => {
|
||||
return (
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.SectionThree {
|
||||
& h3 {
|
||||
|
||||
.SectionOne > h3 {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 2.2em;
|
||||
font-weight: 400;
|
||||
@@ -9,7 +9,7 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
& p {
|
||||
.SectionOne > p {
|
||||
font-family: 'GT Eesti Pro Display - Thin';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
@@ -20,7 +20,7 @@
|
||||
color: #444444;
|
||||
}
|
||||
|
||||
& h4 {
|
||||
.SectionOne > h4 {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 700;
|
||||
@@ -29,4 +29,4 @@
|
||||
line-height: 36px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import style from './SectionSkills.module.scss';
|
||||
import style from './SectionSkills.module.css';
|
||||
|
||||
const SectionSkills = () => {
|
||||
return (
|
||||
|
29
src/components/Candidate/sections/SectionSkills.module.css
Normal file
29
src/components/Candidate/sections/SectionSkills.module.css
Normal file
@@ -0,0 +1,29 @@
|
||||
.SectionSkills {
|
||||
border: 1px solid #69bf2c;
|
||||
padding: 28px 40px 16px 30px;
|
||||
margin-top: 60px;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 60px;
|
||||
|
||||
}
|
||||
|
||||
.SectionSkills > h3 {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 28px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.SectionSkills > p {
|
||||
font-family: 'GT Eesti Pro Display - Thin';
|
||||
font-size: 2em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 28px;
|
||||
text-align: left;
|
||||
color: #444444;
|
||||
}
|
@@ -1,27 +0,0 @@
|
||||
.SectionSkills {
|
||||
border: 1px solid #69bf2c;
|
||||
padding: 28px 40px 16px 30px;
|
||||
margin-top: 60px;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 60px;
|
||||
& h3 {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 28px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
& p {
|
||||
font-family: 'GT Eesti Pro Display - Thin';
|
||||
font-size: 2em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 28px;
|
||||
text-align: left;
|
||||
color: #444444;
|
||||
}
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import style from './SectionThree.module.scss';
|
||||
import style from './SectionThree.module.css';
|
||||
|
||||
const SectionThree = () => {
|
||||
return (
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.SectionOne {
|
||||
& h3 {
|
||||
|
||||
.SectionThree > h3 {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 2.2em;
|
||||
font-weight: 400;
|
||||
@@ -9,7 +9,7 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
& p {
|
||||
.SectionThree > p {
|
||||
font-family: 'GT Eesti Pro Display - Thin';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
@@ -20,7 +20,7 @@
|
||||
color: #444444;
|
||||
}
|
||||
|
||||
& h4 {
|
||||
.SectionThree > h4 {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 700;
|
||||
@@ -29,4 +29,4 @@
|
||||
line-height: 36px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import style from './SectionTwo.module.scss';
|
||||
import style from './SectionTwo.module.css';
|
||||
|
||||
const SectionTwo = () => {
|
||||
return (
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.SectionTwo {
|
||||
& p {
|
||||
|
||||
.SectionTwo > p {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
@@ -9,4 +9,4 @@
|
||||
text-align: left;
|
||||
color: #444444;
|
||||
}
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import male from '../../../images/medium_male.png';
|
||||
import arrowLeft from '../../../images/arrow_left.png';
|
||||
import arrowRight from '../../../images/arrow_right.png';
|
||||
import style from './Sidebar.module.scss';
|
||||
import style from './Sidebar.module.css';
|
||||
|
||||
const Sidebar = () => {
|
||||
return (
|
||||
|
113
src/components/Candidate/sections/Sidebar.module.css
Normal file
113
src/components/Candidate/sections/Sidebar.module.css
Normal file
@@ -0,0 +1,113 @@
|
||||
.candidateSidebar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
border: 2px solid whitesmoke;
|
||||
border-bottom: none !important;
|
||||
|
||||
}
|
||||
|
||||
.candidateSidebar__info {
|
||||
text-align: center;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.candidateSidebar__info > img {
|
||||
width: 180px;
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
.candidateSidebar__info__e {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 36px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.candidateSidebar__info__y {
|
||||
font-family: 'GT Eesti Pro Display - Bold';
|
||||
font-size: 3em;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.candidateSidebar__info__btn {
|
||||
width: 280px;
|
||||
height: 60px;
|
||||
border-radius: 100px;
|
||||
border: none;
|
||||
background-color: #70c03e;
|
||||
color: #ffffff;
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: normal;
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 120px;
|
||||
}
|
||||
|
||||
.candidateSidebar__info__l {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 36px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.candidateSidebar__arrows {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 20px;
|
||||
|
||||
}
|
||||
|
||||
.arrow__left {
|
||||
position: relative;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 20px;
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
|
||||
.arrow__left > img {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.arrows__sp {
|
||||
color: #705fa3;
|
||||
font-family: Circe;
|
||||
font-size: 1.6em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
text-align: center;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.arrow__right {
|
||||
position: relative;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 20px;
|
||||
background-color: #74be4d;
|
||||
}
|
||||
|
||||
.arrow__right > img {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
@@ -1,108 +0,0 @@
|
||||
.candidateSidebar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
border: 2px solid whitesmoke;
|
||||
border-bottom: none !important;
|
||||
|
||||
&__info {
|
||||
text-align: center;
|
||||
margin-top: 40px;
|
||||
& img {
|
||||
width: 180px;
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
&__e {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 36px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
&__y {
|
||||
font-family: 'GT Eesti Pro Display - Bold';
|
||||
font-size: 3em;
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
&__btn {
|
||||
width: 280px;
|
||||
height: 60px;
|
||||
border-radius: 100px;
|
||||
border: none;
|
||||
background-color: #70c03e;
|
||||
color: #ffffff;
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: normal;
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 120px;
|
||||
}
|
||||
|
||||
&__l {
|
||||
font-family: 'GT Eesti Pro Display';
|
||||
font-size: 1.8em;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
line-height: 36px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
&__arrows {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 20px;
|
||||
|
||||
& .arrow__left {
|
||||
position: relative;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 20px;
|
||||
background-color: #f6f6f6;
|
||||
& img {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
|
||||
& span {
|
||||
color: #705fa3;
|
||||
font-family: Circe;
|
||||
font-size: 1.6em;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: normal;
|
||||
text-align: center;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
& .arrow__right {
|
||||
position: relative;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 20px;
|
||||
background-color: #74be4d;
|
||||
& img {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user