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">
<div class="row text-center justify-content-center">
<div class="col-md-11">
<h1 class="mb-4">Small team. <mark data-aos="highlight-text" data-aos-delay="200" class="aos-init aos-animate">Big hearts.</mark></h1>
<p class="mb-9 lead">
Our focus is always on finding the best people to work with. Our bar is <br/>
high, but you look ready to take on the challenge.
</p>
<div class="form-row">
<div class="col-4">
<img src="https://www.bootdey.com/image/387x470/FF0000/000000" class="img-fluid rounded shadow-lg transition-hover" alt="..."/>
</div>
<div class="col-3">
<img src="https://www.bootdey.com/image/470x424/8A2BE2/000000" class="img-fluid rounded shadow-lg mb-2 transition-hover" alt="..."/>
<img src="https://www.bootdey.com/image/470x318/5F9EA0/000000" class="img-fluid rounded shadow-lg mt-2 transition-hover" alt="..."/>
</div>
<div class="col-5">
<div class="form-row mb-2">
<div class="col-5">
<img src="https://www.bootdey.com/image/314x284/FF7F50/000000" class="img-fluid rounded shadow-lg transition-hover" alt="..."/>
</div>
<div class="col-7">
<img src="https://www.bootdey.com/image/810x480/6495ED/000000" class="img-fluid rounded shadow-lg transition-hover" alt="..."/>
</div>
</div>
<img src="https://www.bootdey.com/image/810x460/00008B/000000" class="img-fluid rounded shadow-lg mt-2 transition-hover" alt="..."/>
</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{margin-top:20px;}