move footer call in App instead of calling it in every page
This commit is contained in:
1 parent
e3214f6bb4
commit
da4d2c1fd0
3 files changed
-3
No files matched your search
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
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 (
|
||||||
|
|||||||
Reference in new issue
Block a user