1. First, we need fresh reactjs setup, and for that, we need to run below commands into out terminal, and also we should have latest node version installed on our system:
npx create-react-app my-awesome-project
cd my-awesome-project
npm start
2. Now we need to run below commands into our project terminal to get bootstrap and related modules into our reactjs application:
npm install [email protected] --save
npm start //For start project again
3. Finally for the main output, we need to add below code into our my-awesome-project/src/App.js file or if you have fresh setup then you can replace my-awesome-project/src/App.js file code with below code:
import React from 'react';
import './App.css';
import 'bootstrap/dist/css/bootstrap.min.css';
function App() {
return (
<div>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<section id="team" class="team_area section-padding">
<div class="container">
<h2 class="title_spectial">Meet creative team</h2>
<div class="row text-center">
<div class="col-lg-2 col-sm-4 col-xs-12 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.1s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.1s; animation-name: fadeInUp;*/}}>
<div class="our-team">
<div class="single-team">
<img src="https://bootdey.com/img/Content/avatar/avatar1.png" class="img-fluid" alt=""/>
<h3>Gary Hunt</h3>
<p>Marketer</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
<div class="col-lg-2 col-sm-4 col-xs-12 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.2s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.2s; animation-name: fadeInUp;*/}}>
<div class="our-team">
<div class="single-team">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" class="img-fluid" alt=""/>
<h3>Ayoub Fennouni</h3>
<p>Manager</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
<div class="col-lg-2 col-sm-4 col-xs-12 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.3s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.3s; animation-name: fadeInUp;*/}}>
<div class="our-team">
<div class="single-team">
<img src="https://bootdey.com/img/Content/avatar/avatar3.png" class="img-fluid" alt=""/>
<h3>Mark Linomit</h3>
<p>Python Developer</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
<div class="col-lg-2 col-sm-4 col-xs-12 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.4s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.4s; animation-name: fadeInUp;*/}}>
<div class="our-team">
<div class="single-team">
<img src="https://bootdey.com/img/Content/avatar/avatar4.png" class="img-fluid" alt=""/>
<h3>Thompson Luis</h3>
<p>Developer</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
<div class="col-lg-2 col-sm-4 col-xs-12 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.5s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.5s; animation-name: fadeInUp;*/}}>
<div class="our-team">
<div class="single-team">
<img src="https://bootdey.com/img/Content/avatar/avatar5.png" class="img-fluid" alt=""/>
<h3>Amira Yerden</h3>
<p>UI/UX Designer</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
<div class="col-lg-2 col-sm-4 col-xs-12 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.6s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.6s; animation-name: fadeInUp;*/}}>
<div class="our-team">
<div class="single-team">
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" class="img-fluid" alt=""/>
<h3>Martha Valdes</h3>
<p>React Developer</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<section id="bod" class="bod_area">
<div class="container">
<h2 class="title_spectial">Board of directors</h2>
<div class="row text-center">
<div class="col-lg-3 col-sm-3 col-xs-12 wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.1s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.1s; animation-name: fadeInLeft;*/}}>
<div class="our-bod">
<div class="single-bod">
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" class="img-fluid" alt=""/>
<h3>Gary Hunt</h3>
<p>Marketer</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
<div class="col-lg-3 col-sm-3 col-xs-12 wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.2s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.2s; animation-name: fadeInLeft;*/}}>
<div class="our-bod">
<div class="single-bod">
<img src="https://bootdey.com/img/Content/avatar/avatar7.png" class="img-fluid" alt=""/>
<h3>Ayoub Fennouni</h3>
<p>Manager</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
<div class="col-lg-3 col-sm-3 col-xs-12 wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.3s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.3s; animation-name: fadeInLeft;*/}}>
<div class="our-bod">
<div class="single-bod">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" class="img-fluid" alt=""/>
<h3>Mark Linomit</h3>
<p>Python Developer</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
<div class="col-lg-3 col-sm-3 col-xs-12 wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.4s" data-wow-offset="0" style={{/*visibility: visible; animation-duration: 1s; animation-delay: 0.4s; animation-name: fadeInLeft;*/}}>
<div class="our-bod">
<div class="single-bod">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" class="img-fluid" alt=""/>
<h3>Thompson Luis</h3>
<p>Developer</p>
</div>
<ul class="social">
<li><a href="#/" class="fa fa-facebook facebook"></a></li>
<li><a href="#/" class="fa fa-twitter twitter"></a></li>
<li><a href="#/" class="fa fa-google google"></a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
</div>
);
}
export default App;
4. Now we need to add below code into our my-awesome-project/src/App.css file :
body{margin-top:20px;
background:rgb(238, 238, 238, 0.6);
color: #9aa9c1;
}
a{
text-decoration:none;
}
.team_area{background:#fbfafa;}
.team_title {
color: #000;
margin-bottom: 60px;
text-align: center;
text-transform: capitalize;
font-weight: 600;
}
.our-team {}
@media only screen and (max-width:768px) {
.our-team {margin-bottom:30px}
}
.single-team{margin-bottom:10px;}
.single-team img {
margin-bottom:15px;
border-radius:2px;
border: 10px solid #fff;
}
.single-team h3 {
margin-bottom:0px;
font-size:18px;
font-weight: 600;
}
.single-team p{margin-bottom:0px;}
.our-team .social {
list-style: none;
padding: 0;
margin: 0;
text-align: center;
-webkit-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
.our-team .social li{
display: inline-block;
}
.our-team .social li a {
display: block;
width: 35px;
height: 35px;
line-height: 35px;
font-size: 15px;
color: #fff;
position: relative;
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
border-radius: 30px;
margin: 3px;
}
.our-team:hover .social li:nth-child(1) a{
-webkit-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.our-team:hover .social li:nth-child(2) a{
-webkit-transition-delay: 0.2s;
transition-delay: 0.2s
}
.our-team:hover .social li:nth-child(3) a{
-webkit-transition-delay: 0.1s;
transition-delay: 0.1s;
}
.our-team:hover .social li:nth-child(4) a{
-webkit-transition-delay: 0s;
transition-delay: 0s;
}
.our-team .social li a:hover{
-webkit-transition-delay: 0s;
transition-delay: 0s;
}
.facebook{background: #1C58A1;}
.facebook:hover{background: #fff;color:#1C58A1!important;}
.twitter{background: #0CBCE3;}
.twitter:hover{background: #fff;color:#0CBCE3!important;}
.google{background: #F04537;}
.google:hover{background: #fff;color:#F04537!important;}
/*START BOARD DIRECTOR*/
.bod_area {
padding-bottom: 80px;
background:#fbfafa;
}
.our-bod {}
@media only screen and (max-width:768px) {
.our-bod {margin-bottom:30px}
}
.single-bod{margin-bottom:10px;}
.single-bod img {
margin-bottom:15px;
width: 180px;
border-radius:2px;
height: 180px;
border: 10px solid #fff;
}
.single-bod h3 {
margin-bottom:0px;
font-size:18px;
font-weight: 600;
}
.single-bod p{margin-bottom:0px;}
.our-bod .social {
list-style: none;
padding: 0;
margin: 0;
text-align: center;
-webkit-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
.our-bod .social li{
display: inline-block;
}
.our-bod .social li a {
display: block;
width: 35px;
height: 35px;
line-height: 35px;
font-size: 15px;
color: #fff;
position: relative;
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
border-radius: 30px;
margin: 3px;
}
.our-bod:hover .social li:nth-child(1) a{
-webkit-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.our-bod:hover .social li:nth-child(2) a{
-webkit-transition-delay: 0.2s;
transition-delay: 0.2s
}
.our-bod:hover .social li:nth-child(3) a{
-webkit-transition-delay: 0.1s;
transition-delay: 0.1s;
}
.our-bod:hover .social li:nth-child(4) a{
-webkit-transition-delay: 0s;
transition-delay: 0s;
}
.our-bod .social li a:hover{
-webkit-transition-delay: 0s;
transition-delay: 0s;
}
.title_spectial {
text-align: center;
font-weight: 600;
position: relative;
margin-bottom: 60px;
text-transform: uppercase;
font-size: 24px;
}
.bod_area {
padding-bottom: 80px;
}
.section-padding {
padding: 80px 0;
padding-top: 100px;
}