Skip to content

Commit

Permalink
Initial Commits
Browse files Browse the repository at this point in the history
  • Loading branch information
shakti177 committed Apr 19, 2023
1 parent edd0f57 commit 713148e
Show file tree
Hide file tree
Showing 11 changed files with 72 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import About from "./Pages/About";
import Contact from './Pages/Contact';
import Team from './Pages/Team';
import Vehicle from './Pages/Vehicle';
import Testimonials from './Pages/Testimonials';

function App() {
return (
Expand All @@ -20,6 +21,7 @@ function App() {
<Route path="/contact" element={<Contact/>} />
<Route path="/team" element={<Team/>} />
<Route path="/vehicle" element={<Vehicle/>} />
<Route path="/testimonials" element={<Testimonials/>} />
</Routes>
<Footer/>
</BrowserRouter>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import "./About_banner.css";
import "./Aboutbanner.css";
import { BsFillTelephoneFill } from "react-icons/bs";

const About_banner = () => {
Expand Down
1 change: 1 addition & 0 deletions src/Components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const Header = () => {
<li><Link to="/">Home</Link></li>
<li><Link to="/about">About</Link></li>
<li><Link to="/vechicle">Vehicle</Link></li>
<li><Link to="/testimonials">Testimonials</Link></li>
<li><Link to="/team">Team</Link></li>
<li><Link to="/contact">Contact</Link></li>
</ul>
Expand Down
30 changes: 30 additions & 0 deletions src/Components/Testimonials/Testimonialsmain.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.imgsubheader {
width: 100%;
opacity: 10%;
}

.left {
position: absolute;
top: 30%;
left: 10%;
font-size: 25px;
}

.left h3 {
font-size: 35px;
}

.left p {
font-size: 16px;
font-weight: 600;
}

.left a {
color: black;
text-decoration: none;
}

.left a:hover {
color: var(--main-color);
transition: 0.5s;
}
20 changes: 20 additions & 0 deletions src/Components/Testimonials/Testimonialsmain.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from "react";
import "./Testimonialsmain.css";
import { Link } from "react-router-dom";
import subheaderimg from "../../../src/Assets/subhero.png";

const Testimonials_main = () => {
return (
<section id="testimonialsmain">
<img src={subheaderimg} className="imgsubheader" alt=""/>
<div className="left">
<p>
<h3>Testimonials</h3>
<Link to="/">Home</Link> / Testimonials
</p>
</div>
</section>
);
};

export default Testimonials_main;
2 changes: 1 addition & 1 deletion src/Pages/About.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import Aboutsection from '../Components/About/AboutSection/Aboutsection';
import Aboutbanner from '../Components/About/Aboutbanner/About_banner';
import Aboutbanner from '../Components/About/Aboutbanner/Aboutbanner';
import Subhearder from '../Components/About/Subheader/Subhearder';

const About = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Details from '../Components/Home/Details/Details'
import Filterbox from '../Components/Home/Filterbox/Filterbox'
import Hero from '../Components/Home/Hero/Hero'
import Service from '../Components/Home/Service/Service'
import Testimonials from '../Components/Home/Testimonials/Testimonials'
import Testimonials from '../Components/Home/Testimonials_home/Testimonials'
import Downloads from '../Components/Home/Download/Download'
import FAQ from '../Components/Home/FAQ/FAQ'

Expand Down
16 changes: 16 additions & 0 deletions src/Pages/Testimonials.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react'
import Testimonialsmain from '../Components/Testimonials/Testimonialsmain'
import Testimonialshome from '../../src/Components/Home/Testimonials_home/Testimonials'
import Aboutbanner from '../Components/About/Aboutbanner/Aboutbanner';

const Testimonials = () => {
return (
<div>
<Testimonialsmain/>
<Testimonialshome/>
<Aboutbanner/>
</div>
)
}

export default Testimonials

0 comments on commit 713148e

Please sign in to comment.