Compare commits
2
Commits
6f43127ec2
..
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da4d2c1fd0 | ||
|
|
e3214f6bb4 |
No files matched your search
@@ -3,15 +3,19 @@ import { Routes, Route } from 'react-router-dom';
|
|||||||
import HomePage from './pages/Home/HomePage.jsx';
|
import HomePage from './pages/Home/HomePage.jsx';
|
||||||
import ProjectsPage from './pages/Projects/ProjectsPage.jsx';
|
import ProjectsPage from './pages/Projects/ProjectsPage.jsx';
|
||||||
import ProjectDetailsPage from "./pages/ProjectDetails/ProjectDetailsPage.jsx";
|
import ProjectDetailsPage from "./pages/ProjectDetails/ProjectDetailsPage.jsx";
|
||||||
|
import Footer from "./components/Footer/Footer.jsx";
|
||||||
|
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<Routes>
|
<>
|
||||||
<Route path="/" element={<HomePage />} />
|
<Routes>
|
||||||
<Route path="/projects" element={<ProjectsPage />} />
|
<Route path="/" element={<HomePage />} />
|
||||||
<Route path="/projectDetails/:id" element={<ProjectDetailsPage />} />
|
<Route path="/projects" element={<ProjectsPage />} />
|
||||||
</Routes>
|
<Route path="/projectDetails/:id" element={<ProjectDetailsPage />} />
|
||||||
|
</Routes>
|
||||||
|
<Footer/>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import Home from './components/Home/Home.jsx';
|
|||||||
import Experiences from './components/Experiences/Experiences.jsx';
|
import Experiences from './components/Experiences/Experiences.jsx';
|
||||||
import Projects from '../../components/Projects/Projects.jsx';
|
import Projects from '../../components/Projects/Projects.jsx';
|
||||||
import Skills from './components/Skills/Skills.jsx';
|
import Skills from './components/Skills/Skills.jsx';
|
||||||
import Footer from '../../components/Footer/Footer.jsx';
|
|
||||||
|
|
||||||
function HomePage() {
|
function HomePage() {
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
@@ -27,7 +26,6 @@ function HomePage() {
|
|||||||
<Experiences/>
|
<Experiences/>
|
||||||
<Projects/>
|
<Projects/>
|
||||||
<Skills/>
|
<Skills/>
|
||||||
<Footer/>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { useParams } from "react-router-dom";
|
import { useParams } from "react-router-dom";
|
||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
import ProjectDetails from "./components/ProjectDetails/ProjectDetails.jsx";
|
import ProjectDetails from "./components/ProjectDetails/ProjectDetails.jsx";
|
||||||
import Footer from "../../components/Footer/Footer.jsx";
|
|
||||||
|
|
||||||
function ProjectDetailsPage() {
|
function ProjectDetailsPage() {
|
||||||
const { id } = useParams();
|
const { id } = useParams();
|
||||||
@@ -33,7 +32,6 @@ function ProjectDetailsPage() {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<ProjectDetails project={project}/>
|
<ProjectDetails project={project}/>
|
||||||
<Footer/>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
import Projects from "../../components/Projects/Projects.jsx";
|
import Projects from "../../components/Projects/Projects.jsx";
|
||||||
import Footer from "../../components/Footer/Footer.jsx";
|
|
||||||
|
|
||||||
function ProjectsPage() {
|
function ProjectsPage() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Projects/>
|
<Projects/>
|
||||||
<Footer/>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user