feat(trajectoire): intégration complète de la page et des sous-composants Figma
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import React, { useState } from 'react';
|
||||
import Header from './Header';
|
||||
import React from 'react';
|
||||
import Hero from './Hero';
|
||||
import ProfileCards from './ProfileCards';
|
||||
import Methodology from './Methodology';
|
||||
@ -7,29 +6,17 @@ import Impact from './Impact';
|
||||
import ActualitySection from './ActualitySection';
|
||||
import CareersSection from './CareersSection';
|
||||
import Footer from './Footer';
|
||||
import ConstruireTrajectoire from './ConstruireTrajectoire';
|
||||
|
||||
export default function Home() {
|
||||
const [view, setView] = useState('home');
|
||||
|
||||
return (
|
||||
<div className="relative min-h-screen bg-white overflow-x-hidden">
|
||||
<Header onNavigate={setView} />
|
||||
<main>
|
||||
{view === 'trajectoire' ? (
|
||||
<ConstruireTrajectoire />
|
||||
) : (
|
||||
<>
|
||||
<Hero />
|
||||
<ProfileCards />
|
||||
<Methodology />
|
||||
<Impact />
|
||||
<ActualitySection />
|
||||
<CareersSection />
|
||||
<Footer />
|
||||
</>
|
||||
)}
|
||||
</main>
|
||||
<Hero />
|
||||
<ProfileCards />
|
||||
<Methodology />
|
||||
<Impact />
|
||||
<ActualitySection />
|
||||
<CareersSection />
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user