Skip to content

Commit

Permalink
UI:Implemented Why BIT section
Browse files Browse the repository at this point in the history
  • Loading branch information
DhaneshShetty committed May 22, 2021
1 parent 8bebc7a commit 65dd540
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import Footer from "./Footer";
import './Home.css';
import ReadAboutUs from './ReadAboutUs'
import GetInTouch from '../getInTouch/GetInTouch'
import WhyBIT from "./WhyBIT";

export default function Home() {

return (
Expand All @@ -18,7 +20,9 @@ export default function Home() {
environment for these mentor/mentee to work in.
</p>
</div>
</section>
</section>
<WhyBIT/>

<ReadAboutUs />
<GetInTouch />
<Footer/>
Expand Down
64 changes: 64 additions & 0 deletions src/home/WhyBIT.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
.YBITHead{
font-family: MetaProRegular;
font-style: normal;
font-weight: 500;
font-size: 40px;
line-height: 52px;
align-items: center;
text-align: center;
padding-bottom: 3rem;
padding-top: 3rem;
}

.WhyBITflex{
display:flex;
flex-direction: row;
justify-content: space-around;
padding:2rem;
align-items: center;
}

.WhyBITNumber{
font-family: Meta Pro;
font-style: normal;
font-weight: 500;
font-size: 64px;
line-height: 97.8%;
color: #255DAD;
}

.WhyBITHeading{
font-family: Meta Pro;
font-style: normal;
font-weight: 500;
font-size: 32px;
line-height: 42px;
}

.WhyBITContent{
font-family: Meta Pro;
font-style: normal;
font-weight: normal;
font-size: 24px;
line-height: 31px;
}

.YBITitem{
padding: 3rem;
}

.YBITitem:not(:last-child){
border-right:0.25px solid #1F2430;
}

@media screen and (max-width: 1033px) {
.WhyBITflex{
display:flex;
flex-direction: column;
}
.YBITitem:not(:last-child){
border-right:0px solid #1F2430;
border-bottom:0.25px solid #1F2430;
}
}

22 changes: 22 additions & 0 deletions src/home/WhyBIT.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import React from 'react';
import './WhyBIT.css';
import WhyBITItem from './WhyBITItem'

export default function WhyBIT(){
return(
<div align="center" style={{padding:'2rem 0rem 4rem 0rem',backgroundColor:"#E5E5E5"}}>
<div className="YBITHead"><span style={{color:"#EF9425"}}>Why</span> Bridge-in-Tech</div>
<div class="WhyBITflex">
<WhyBITItem heading={<span><span style={{color:"#EF9425"}}>Unlimited </span>target</span>} number="01">
Everyone is welcomed to sign up as mentees regardless of gender,age, religion, sexuality and/or believes. There’s room for everyone!
</WhyBITItem>
<WhyBITItem heading={<span><span style={{color:"#EF9425"}}>Hands-on </span>learning</span>} number="02">
With the help of our mentors, our mentees learn by working on actual projects provided by our partner organisations. We learn by doing!
</WhyBITItem>
<WhyBITItem heading={<span><span style={{color:"#EF9425"}}>Organisation </span>relief</span>} number="03">
Organisations are assured of employing individuals they could trust because they’ve had a hand in training them.Win win situation!
</WhyBITItem>
</div>
</div>
)
}
12 changes: 12 additions & 0 deletions src/home/WhyBITItem.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import './WhyBIT.css';

export default function WhyBITItem(props){
return(
<div class="YBITitem" align="center">
<span className="WhyBITNumber">{props.number}</span><br/><br/>
<span className="WhyBITHeading">{props.heading}</span><br/><br/>
<span className="WhyBITContent">{props.children}</span>
</div>
)
}

0 comments on commit 65dd540

Please sign in to comment.