Refactor: move frontend in apps/frontend

This commit is contained in:
Giovanni committed 2026-10-03 12:04:17 +02:00
1 parent 2ab10c7803
commit 6b36ab8bfa
88 files changed
+4 -4

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
import {useEffect} from 'react';
import { useLocation } from 'react-router-dom';
import Home from './components/Home/Home.jsx';
import Experiences from './components/Experiences/Experiences.jsx';
import Projects from '../../components/Projects/Projects.jsx';
import Skills from './components/Skills/Skills.jsx';
import Footer from '../../components/Footer/Footer.jsx';
function HomePage() {
const location = useLocation();
useEffect(() => {
if (location.hash) {
const id = location.hash.replace('#', '');
const element = document.getElementById(id);
if (element) {
setTimeout(() => {
element.scrollIntoView({ behavior: 'smooth' });
}, 100);
}
}
}, [location]);
return (
<div>
<Home/>
<Experiences/>
<Projects/>
<Skills/>
<Footer/>
</div>
);
}
export default HomePage;