dev #26
@ -1,5 +1,5 @@
|
|||||||
import '../styles/Experiences.css';
|
import './Experiences.css';
|
||||||
import SingleExperience from './SingleExperience';
|
import SingleExperience from '../SingleExperience/SingleExperience.jsx';
|
||||||
import React, {useEffect, useState} from "react";
|
import React, {useEffect, useState} from "react";
|
||||||
|
|
||||||
function Experiences() {
|
function Experiences() {
|
||||||
@ -1,4 +1,4 @@
|
|||||||
import '../styles/Footer.css';
|
import './Footer.css';
|
||||||
function Footer() {
|
function Footer() {
|
||||||
const currentYear = new Date().getFullYear();
|
const currentYear = new Date().getFullYear();
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
import '../styles/Home.css';
|
import './Home.css';
|
||||||
import Background from "./thirdParty/Background.jsx";
|
import Background from "../thirdParty/Background/Background.jsx";
|
||||||
import NavBar from "./NavBar.jsx";
|
import NavBar from "../NavBar/NavBar.jsx";
|
||||||
function Home() {
|
function Home() {
|
||||||
return (
|
return (
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import "../styles/NavBar.css";
|
import "./NavBar.css";
|
||||||
|
|
||||||
const NavBar = () => {
|
const NavBar = () => {
|
||||||
const [active, setActive] = useState("home-section");
|
const [active, setActive] = useState("home-section");
|
||||||
@ -1,8 +1,8 @@
|
|||||||
import SingleProject from "./SingleProject.jsx";
|
import SingleProject from "../SingleProject/SingleProject.jsx";
|
||||||
import "../styles/Projects.css"
|
import "./Projects.css"
|
||||||
import React, {useEffect, useState} from "react";
|
import React, {useEffect, useState} from "react";
|
||||||
import {Link, useLocation} from "react-router-dom";
|
import {Link, useLocation} from "react-router-dom";
|
||||||
import NavBar from "./NavBar.jsx";
|
import NavBar from "../NavBar/NavBar.jsx";
|
||||||
|
|
||||||
function Projects() {
|
function Projects() {
|
||||||
const [projects, setProjects] = useState([]);
|
const [projects, setProjects] = useState([]);
|
||||||
@ -1,4 +1,4 @@
|
|||||||
import '../styles/SingleExperience.css';
|
import './SingleExperience.css';
|
||||||
|
|
||||||
function SingleExperience({ experience, tasks }) {
|
function SingleExperience({ experience, tasks }) {
|
||||||
return (
|
return (
|
||||||
@ -1,6 +1,6 @@
|
|||||||
import { useState, useEffect, useRef } from "react";
|
import { useState, useEffect, useRef } from "react";
|
||||||
import SkillCard from "./SkillCard";
|
import SkillCard from "../SkillCard/SkillCard.jsx";
|
||||||
import "../styles/SingleProject.css";
|
import "./SingleProject.css";
|
||||||
|
|
||||||
function SingleProject({ image, title, description, skills, id, nbImage }) {
|
function SingleProject({ image, title, description, skills, id, nbImage }) {
|
||||||
const [imageID, setImageID] = useState(1);
|
const [imageID, setImageID] = useState(1);
|
||||||
@ -1,4 +1,4 @@
|
|||||||
import "../styles/SkillCard.css";
|
import "./SkillCard.css";
|
||||||
|
|
||||||
function SkillCard({ text }) {
|
function SkillCard({ text }) {
|
||||||
return (
|
return (
|
||||||
@ -1,6 +1,6 @@
|
|||||||
import React, { useState, useEffect } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import SkillCard from "./SkillCard.jsx";
|
import SkillCard from "../SkillCard/SkillCard.jsx";
|
||||||
import "../styles/Skills.css";
|
import "./Skills.css";
|
||||||
|
|
||||||
function Skills() {
|
function Skills() {
|
||||||
const [skills, setSkills] = useState([]);
|
const [skills, setSkills] = useState([]);
|
||||||
@ -1,5 +1,5 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import "../../styles/thirdParty/Background.css";
|
import "./Background.css";
|
||||||
|
|
||||||
export default function Background() {
|
export default function Background() {
|
||||||
return (
|
return (
|
||||||
@ -1,10 +1,10 @@
|
|||||||
import {useEffect, useState} from 'react'; // 1. Import useEffect
|
import {useEffect, useState} from 'react'; // 1. Import useEffect
|
||||||
import { useLocation } from 'react-router-dom'; // 2. Import useLocation
|
import { useLocation } from 'react-router-dom'; // 2. Import useLocation
|
||||||
import Home from '../components/Home.jsx';
|
import Home from '../components/Home/Home.jsx';
|
||||||
import Experiences from '../components/Experiences.jsx';
|
import Experiences from '../components/Experiences/Experiences.jsx';
|
||||||
import Projects from '../components/Projects.jsx';
|
import Projects from '../components/Projects/Projects.jsx';
|
||||||
import Skills from '../components/Skills.jsx';
|
import Skills from '../components/Skills/Skills.jsx';
|
||||||
import Footer from '../components/Footer.jsx';
|
import Footer from '../components/Footer/Footer.jsx';
|
||||||
|
|
||||||
function HomePage() {
|
function HomePage() {
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import Projects from "../components/Projects.jsx";
|
import Projects from "../components/Projects/Projects.jsx";
|
||||||
|
|
||||||
function ProjectsPage() {
|
function ProjectsPage() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user