Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shakti177 committed Apr 17, 2023
1 parent 0c2c96b commit c97ffed
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/Components/Home/Service/Service.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#service{
padding: 100px 80px;
}

.service_title{
text-align: center;
}

.service_title h3{
font-size: 23px;
font-weight: 500;
}

.service_title h2{
font-size: 45px;
}

.service_box{
display: flex;
padding: 80px 10px;
}

.service_boxes{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 10px 60px;
gap: 7px;
}

.service_boxes h3{
font-size: 25px;
}

.service_boxes p{
color: var(--text-color);
}

.service_boxes img {
height: 150px;
width: 150px;
}
53 changes: 53 additions & 0 deletions src/Components/Home/Service/Service.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import React from "react";
import "./Service.css";
import service1 from "../../../Assets/service1.png";
import service2 from "../../../Assets/service2.png";
import service3 from "../../../Assets/service3.png";

const Service = () => {
return (
<section id="service">
<div className="service_title">
<h3>Plan your trip now</h3>
<h2>Quick & easy car rental</h2>
</div>

<div className="service_box">
{/* Service 1 */}

<div className="service_boxes">
<img src={service1} alt="" />
<h3>Select Car</h3>
<p>
We offers a big range of vehicles for all your driving needs. We
have the perfect car to meet your needs
</p>
</div>

{/* Service 2 */}

<div className="service_boxes">
<img src={service2} alt="" />
<h3>Contact Operator</h3>
<p>
Our knowledgeable and friendly operators are always ready to help
with any questions or concerns
</p>
</div>

{/* Service 3 */}

<div className="service_boxes">
<img src={service3} alt="" />
<h3>Let's Drive</h3>
<p>
Whether you're hitting the open road, we've got you covered with our
wide range of cars
</p>
</div>
</div>
</section>
);
};

export default Service;
2 changes: 2 additions & 0 deletions src/Pages/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import React from 'react'
import Filterbox from '../Components/Home/Filterbox/Filterbox'
import Hero from '../Components/Home/Hero/Hero'
import Service from '../Components/Home/Service/Service'

const Home = () => {
return (
<div>
<Hero/>
<Filterbox/>
<Service/>
</div>
)
}
Expand Down

0 comments on commit c97ffed

Please sign in to comment.