Initialization of the 7 sections

This commit is contained in:
Giovanni-Josserand 2025-08-18 20:29:18 +02:00
parent d1cdba01f0
commit cdad5d9289
6 changed files with 66 additions and 29 deletions

View File

@ -1,35 +1,22 @@
import { useState } from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css'
import Home from './components/Home.jsx'
import Experiences from './components/Experiences.jsx'
import Projects from './components/Projects.jsx'
import Skills from './components/Skills.jsx'
import Footer from './components/Footer.jsx'
function App() {
const [count, setCount] = useState(0)
return (
<>
<div>
<a href="https://vite.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
</a>
<a href="https://react.dev" target="_blank">
<img src={reactLogo} className="logo react" alt="React logo" />
</a>
<div className="App">
<Home/>
<Experiences />
<Projects />
<Skills />
<Footer />
</div>
<h1>Vite + React</h1>
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
</button>
<p>
Edit <code>src/App.jsx</code> and save to test HMR
</p>
</div>
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>
</>
)
}
export default App

View File

@ -0,0 +1,10 @@
function Experiences() {
return (
<section id="experiences-section">
<h1>Experiences</h1>
</section>
)
}
export default Experiences

10
src/components/Footer.jsx Normal file
View File

@ -0,0 +1,10 @@
function Footer() {
return (
<section id="footer-section">
<p>Footer</p>
</section>
)
}
export default Footer

10
src/components/Home.jsx Normal file
View File

@ -0,0 +1,10 @@
function Home() {
return (
<section id="home-section">
<h1>Home</h1>
</section>
)
}
export default Home

View File

@ -0,0 +1,10 @@
function Projects() {
return (
<section id="projects-section">
<h1>Projects</h1>
</section>
)
}
export default Projects

10
src/components/Skills.jsx Normal file
View File

@ -0,0 +1,10 @@
function Skills() {
return (
<section id="skills-section">
<h1>Skills</h1>
</section>
)
}
export default Skills