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 rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/5.3.45/css/materialdesignicons.min.css" integrity="sha256-nwNjrH7J9zS/Ti4twtWX7OsC5QdQHCIKTv5cLMsGo68=" crossorigin="anonymous" />
<div class="container">
<div class="row">
<div class="col-12 text-center">
<div class="section-title mb-4 pb-2">
<h4 class="title mb-4">Our Team Members</h4>
<p class="text-muted para-desc mx-auto mb-0">Build responsive, mobile-first projects on the web with the world's most popular front-end component library.</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 col-12 mt-4 pt-2">
<div class="team-list position-relative overflow-hidden shadow rounded">
<img src="https://bootdey.com/img/Content/avatar/avatar7.png" class="img-fluid float-left" alt=""/>
<div class="content float-right p-4">
<h5 class="title mb-0">Martin Dongre</h5>
<small class="text-muted">Founder</small>
<p class="text-muted mt-3">I must explain to you how all this mistaken idea of denouncing pleasure and system.</p>
<ul class="list-unstyled follow social-icon social mb-0">
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-facebook" title="Facebook"></i></a></li>
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-instagram" title="Instagram"></i></a></li>
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-twitter" title="Twitter"></i></a></li>
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-google-plus" title="Google +"></i></a></li>
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-linkedin" title="Linkedin"></i></a></li>
</ul>
</div>
</div>
</div>
<div class="col-md-6 col-12 mt-4 pt-2">
<div class="team-list position-relative overflow-hidden shadow rounded">
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" class="img-fluid float-left" alt=""/>
<div class="content float-right p-4">
<h5 class="title mb-0">Lisa Marvel</h5>
<small class="text-muted">C.E.O.</small>
<p class="text-muted mt-3">I must explain to you how all this mistaken idea of denouncing pleasure and system.</p>
<ul class="list-unstyled follow social-icon social mb-0">
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-facebook" title="Facebook"></i></a></li>
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-instagram" title="Instagram"></i></a></li>
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-twitter" title="Twitter"></i></a></li>
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-google-plus" title="Google +"></i></a></li>
<li class="list-inline-item"><a href="javascript:void(0)" class="rounded"><i class="mdi mdi-linkedin" title="Linkedin"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-md-6">
<div class="progress-box">
<h6 class="title text-muted">WordPress</h6>
<div class="progress">
<div class="progress-bar progress-bar-striped position-relative bg-primary" style={{/*width:84%;*/}}>
<div class="progress-value d-block text-muted h6">84%</div>
</div>
</div>
</div>
<div class="progress-box mt-4">
<h6 class="title text-muted">PHP / MYSQL</h6>
<div class="progress">
<div class="progress-bar progress-bar-striped position-relative bg-primary" style={{/*width:75%;*/}}>
<div class="progress-value d-block text-muted h6">75%</div>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="progress-box mt-4 mt-sm-0">
<h6 class="title text-muted">Angular / JavaScript</h6>
<div class="progress">
<div class="progress-bar progress-bar-striped position-relative bg-primary" style={{/*width:79%;*/}}>
<div class="progress-value d-block text-muted h6">79%</div>
</div>
</div>
</div>
<div class="progress-box mt-4">
<h6 class="title text-muted">HTML</h6>
<div class="progress">
<div class="progress-bar progress-bar-striped position-relative bg-primary" style={{/*width:95%;*/}}>
<div class="progress-value d-block text-muted h6">95%</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
);
}
export default App;
4. Now we need to add below code into our my-awesome-project/src/App.css file :
body{
background:#F5F5F5;
margin-top:20px;}
.team-list img {
width: 50%;
}
.team-list .content {
width: 50%;
}
.team, .team-list {
-webkit-transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0s;
transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0s;
}
.shadow {
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15) !important;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.15) !important;
}
.rounded {
border-radius: 5px !important;
}
.team-list .content .follow {
position: absolute;
bottom: 24px;
}
.list-inline-item:not(:last-child) {
margin-right: 0px;
margin-bottom: 0px;
}
.social-icon.social li a {
color: #adb5bd;
border-color: #adb5bd;
}
.social-icon li a {
color: #35404e;
border: 1px solid #35404e;
display: inline-block;
height: 32px;
text-align: center;
font-size: 15px;
width: 32px;
line-height: 30px;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
overflow: hidden;
position: relative;
}
.progress-box .progress .progress-bar {
height: 4px;
border-radius: 10px;
margin: auto 5px;
-webkit-animation: animate-positive 3s;
animation: animate-positive 3s;
overflow: visible !important;
}
.rounded {
border-radius: 5px !important;
}
.progress-box .title {
font-size: 15px !important;
}
.text-muted {
color: #8492a6 !important;
}
.progress-box .progress {
height: 9px;
overflow: visible;
background: #eceef5;
}
.progress-box .progress .progress-value {
position: absolute;
top: -25px;
right: -15px;
font-size: 13px;
}