first commit

This commit is contained in:
gpatruno
2026-04-18 00:57:07 +02:00
commit 5c423bae47
37 changed files with 4850 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
import { ContentStack } from '../components/ContentStack.jsx'
import { HomeAutobiographiePanel } from '../components/HomeAutobiographiePanel.jsx'
import { HomeEducationTimeline } from '../components/HomeEducationTimeline.jsx'
import { HomeIntroPanel } from '../components/HomeIntroPanel.jsx'
import { HomeProfilCompetencesPanel } from '../components/HomeProfilCompetencesPanel.jsx'
import { HomeProfilQualitesPanel } from '../components/HomeProfilQualitesPanel.jsx'
import { HomeSkillsBlock } from '../components/HomeSkillsBlock.jsx'
import { HomeSidebar } from '../components/HomeSidebar.jsx'
/** Accueil : sidebar à gauche. Profil (`variant="profil"`) : bandeau profil horizontal au-dessus du contenu. */
export function HomePageView({ variant = 'home' }) {
const isProfil = variant === 'profil'
return (
<div
className={['page', 'page--home', isProfil ? 'page--home-profil' : null]
.filter(Boolean)
.join(' ')}
>
<aside
className={['home-sidebar', isProfil ? 'home-sidebar--horizontal' : null]
.filter(Boolean)
.join(' ')}
aria-label="Profil"
>
<HomeSidebar layout={isProfil ? 'horizontal' : 'vertical'} />
</aside>
<div className="home-main">
<ContentStack
panel1={
isProfil ? <HomeAutobiographiePanel /> : <HomeIntroPanel />
}
panel1b={
isProfil ? <HomeProfilCompetencesPanel /> : <HomeSkillsBlock />
}
panel2={
isProfil ? <HomeProfilQualitesPanel /> : <HomeEducationTimeline />
}
/>
</div>
</div>
)
}