Merge pull request 'Initialization of the 7 sections' (#1) from feature/initSections into dev
Reviewed-on: #1
This commit is contained in:
commit
91663929f0
39
src/App.jsx
39
src/App.jsx
@ -1,35 +1,22 @@
|
|||||||
import { useState } from 'react'
|
|
||||||
import reactLogo from './assets/react.svg'
|
|
||||||
import viteLogo from '/vite.svg'
|
|
||||||
import './App.css'
|
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() {
|
function App() {
|
||||||
const [count, setCount] = useState(0)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="App">
|
||||||
<div>
|
<Home/>
|
||||||
<a href="https://vite.dev" target="_blank">
|
<Experiences />
|
||||||
<img src={viteLogo} className="logo" alt="Vite logo" />
|
<Projects />
|
||||||
</a>
|
<Skills />
|
||||||
<a href="https://react.dev" target="_blank">
|
<Footer />
|
||||||
<img src={reactLogo} className="logo react" alt="React logo" />
|
|
||||||
</a>
|
|
||||||
</div>
|
</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
|
export default App
|
||||||
|
|||||||
10
src/components/Experiences.jsx
Normal file
10
src/components/Experiences.jsx
Normal 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
10
src/components/Footer.jsx
Normal 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
10
src/components/Home.jsx
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
function Home() {
|
||||||
|
return (
|
||||||
|
<section id="home-section">
|
||||||
|
<h1>Home</h1>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export default Home
|
||||||
10
src/components/Projects.jsx
Normal file
10
src/components/Projects.jsx
Normal 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
10
src/components/Skills.jsx
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
function Skills() {
|
||||||
|
return (
|
||||||
|
<section id="skills-section">
|
||||||
|
<h1>Skills</h1>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export default Skills
|
||||||
Loading…
x
Reference in New Issue
Block a user