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>
<div class="container">
<h3 class="mb-2">Meet our team</h3>
<div class="section-intro mb-3">Section intro goes here lorem ipsum</div>
<div class="integration-list row justify-content-center py-5">
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5 top-line-lg"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5 bottom-line-lg"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar2.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5 top-line-lg"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar3.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5 bottom-line-lg"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar4.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5 top-line-lg"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar5.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar6.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5 top-line-lg"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar7.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5 bottom-line-lg"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar8.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5 top-line-lg"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5 bottom-line-lg"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar2.png" alt=""/></a></div>
<div class="item col-4 col-md-3 col-lg-2 mb-3 mb-lg-5"><a href="#/"><img class="shadow rounded-circle" src="https://bootdey.com/img/Content/avatar/avatar3.png" alt=""/></a></div>
</div>
<div class="pt-3 text-center">
<a class="btn btn-light" href="#/">View More</a>
</div>
</div>
</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-color:#eee;
}
.section-intro {
font-size: 1.125rem;
color: #828d9f;
}
.mb-3 {
margin-bottom: 1rem !important;
}
.py-5 {
padding-top: 3rem !important;
padding-bottom: 3rem !important;
}
.justify-content-center {
-webkit-justify-content: center !important;
justify-content: center !important;
}
.integration-list .item img {
width: 100px;
height: auto;
background: #fff;
}
.rounded-circle {
border-radius: 50% !important;
}
.shadow {
box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
}
img, svg {
vertical-align: middle;
}
@media (min-width: 1200px){
.top-line-lg:before {
content: "";
display: inline-block;
width: 160px;
height: 80px;
z-index: -1;
background: transparent;
border: none;
border-top: dashed 3px #cccff8;
padding: 30px;
border-radius: 50%;
position: absolute;
right: -80px;
top: -10px;
}
}
@media (min-width: 1200px){
.bottom-line-lg:before {
content: "";
display: inline-block;
width: 160px;
height: 80px;
z-index: -1;
background: transparent;
border: none;
border-bottom: dashed 3px #cccff8;
padding: 30px;
border-radius: 50%;
position: absolute;
right: -80px;
bottom: -10px;
}
}
@media (min-width: 1200px){
.top-line-lg {
position: relative;
}
}
@media (min-width: 1200px){
.bottom-line-lg {
position: relative;
}
}
@media (min-width: 992px){
.mb-lg-5 {
margin-bottom: 3rem !important;
}
}