-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hero-section navbar-section about-page immplimented (#28)
* hero-section navbar-section about-page immplimented * fix slick issue * add translation in hero section * fix conflict * PTAL * PTLA 2
- Loading branch information
1 parent
111f903
commit 2d4aa43
Showing
33 changed files
with
1,244 additions
and
58 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
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
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,18 @@ | ||
import React from "react"; | ||
|
||
import { Container } from "react-bootstrap"; | ||
import "./style.scss"; | ||
// image links | ||
import heroAbout from "./../../images/About/heroAbout.svg"; | ||
|
||
const AboutHero = () => { | ||
return ( | ||
<Container> | ||
<div className="hero"> | ||
<img src={heroAbout} alt="hero section" /> | ||
</div> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default AboutHero; |
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 @@ | ||
body { | ||
height: 100%; | ||
} | ||
|
||
.hero { | ||
height: 50%; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
position: relative; | ||
background-color: #ffff; | ||
padding-top: 8%; | ||
} | ||
|
||
.hero img { | ||
width: 100%; | ||
} |
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,55 @@ | ||
import React from "react"; | ||
|
||
// import bootstrab | ||
import { Container } from "react-bootstrap"; | ||
|
||
// import translation | ||
import { useTranslation } from "react-i18next"; | ||
import CardsWhoAreWe from "./../CardsWhoAreWe"; | ||
import SectionTitle from "./../SectionTitle"; | ||
// import icons | ||
import { AiFillTwitterCircle, AiFillInstagram } from "react-icons/ai"; | ||
import { FaFacebook } from "react-icons/fa"; | ||
import { aboutData } from "./../../data.json"; | ||
|
||
const AboutService = () => { | ||
const { t } = useTranslation(); | ||
|
||
const renderElements = () => { | ||
return aboutData.map((element) => { | ||
return ( | ||
<div className="card_row about_service"> | ||
<CardsWhoAreWe | ||
customClassName={element.id % 2 !== 0 && true} | ||
title={t(element.title)} | ||
description={t(element.description)} | ||
img={element.img} | ||
> | ||
<div className="icons"> | ||
<span className="instagram_icon"> | ||
<AiFillInstagram /> | ||
</span> | ||
<span className="twiter_icon"> | ||
<AiFillTwitterCircle /> | ||
</span> | ||
<span className="facebook_icon"> | ||
<FaFacebook /> | ||
</span> | ||
</div> | ||
</CardsWhoAreWe> | ||
</div> | ||
); | ||
}); | ||
}; | ||
|
||
return ( | ||
<Container> | ||
<div className="about_section_title"> | ||
<SectionTitle title={t("AboutPage.title")} /> | ||
</div> | ||
{renderElements()} | ||
</Container> | ||
); | ||
}; | ||
|
||
export default AboutService; |
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,88 @@ | ||
@import "./../../style/variables"; | ||
|
||
@media screen and (min-width: 1200px) { | ||
.serv { | ||
display: flex; | ||
} | ||
|
||
.serv .left_col, | ||
.serv .right_col { | ||
width: 50%; | ||
height: 50%; | ||
} | ||
|
||
.serv .left_col_2, | ||
.serv .right_co_2l { | ||
width: 50%; | ||
height: 50%; | ||
} | ||
} | ||
|
||
.serv { | ||
padding: 6.25rem 0; | ||
} | ||
|
||
.serv_row { | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.text { | ||
float: left; | ||
} | ||
|
||
.title { | ||
color: $primary-color; | ||
padding-bottom: 2.5rem; | ||
font-family: Roboto; | ||
font-style: normal; | ||
font-weight: 300; | ||
font-size: 3rem; | ||
line-height: 2.875rem; | ||
letter-spacing: -0.006rem; | ||
} | ||
|
||
.left_col { | ||
flex-basis: 50%; | ||
} | ||
|
||
.left_col img { | ||
width: 100%; | ||
} | ||
|
||
.right_col { | ||
flex-basis: 50%; | ||
} | ||
|
||
.right_col_2 { | ||
flex-basis: 50%; | ||
} | ||
|
||
.right_col_2 img { | ||
width: 100%; | ||
} | ||
.left_col_2 { | ||
flex-basis: 50%; | ||
} | ||
.text { | ||
.icons { | ||
color: #d43a3a; | ||
padding-top: 3rem; | ||
size: 100%; | ||
} | ||
} | ||
.instagram_icon, | ||
.twiter_icon, | ||
.facebook_icon { | ||
padding-right: 0.5rem; | ||
} | ||
|
||
.about_service { | ||
.row { | ||
.col-lg { | ||
img { | ||
width: 100%; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.