diff --git a/src/App.tsx b/src/App.tsx index ff474b8..7621fb6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,23 +1,15 @@ -// import AboutUsPage from "./components/aboutus"; -import AboutUs from "./components/aboutus/aboutus"; -import Footer from "./components/footer/footer"; +// App.js +import { Outlet } from "react-router-dom"; import Header from "./components/header/header"; -import Hero from "./components/hero/hero"; -import OurWorks from "./components/ourwork/ourwork"; -import Services from "./components/services/services"; -import Testimonials from "./components/testomonials/testomonias"; +import Footer from "./components/footer/footer"; function App() { return ( -
+ <>
- - - - - + {/* This will be replaced by the current route's element */}
+ ); } diff --git a/src/components/landingpage/landingpage.tsx b/src/components/landingpage/landingpage.tsx index 03e2ca0..6d109f9 100644 --- a/src/components/landingpage/landingpage.tsx +++ b/src/components/landingpage/landingpage.tsx @@ -1,33 +1,30 @@ - -import React from 'react'; +import React from "react"; // import AppRoutes from './routes'; // import Header from './components/landingpage/landingpagecomponents/header'; -import { Box } from '@mui/material'; -import HeroSection from './landingpagecomponents/CarouselSection'; -import WhoWeAre from './landingpagecomponents/whoweare'; -import OurExpertise from './landingpagecomponents/ourexperties'; -import TopBrands from './landingpagecomponents/brands'; -import CaseStudies from './landingpagecomponents/casestudy'; -import StatsSection from './landingpagecomponents/scrollanimationsection'; -import ContactForm from './landingpagecomponents/contactus'; +import { Box } from "@mui/material"; +import AboutUs from "../aboutus/aboutus"; +import Footer from "../footer/footer"; +import Header from "../header/header"; +import Hero from "../hero/hero"; +import OurWorks from "../ourwork/ourwork"; +import Services from "../services/services"; +import Testimonials from "../testomonials/testomonias"; // import router from './routes'; - const LandingPage: React.FC = () => { - return ( - - {/* */} - - - - - - - - - + return ( + + {/* */} - ); +
+ + + + + +