feat(trajectoire): intégration complète de la page Construire sa trajectoire
- Implémentation des composants React (8 trajectoires, Human Employment Model, méthodologie 6 étapes, Learning by Doing, exemples de projets, compétences) - Rendu dynamique des cartes via .map() - Configuration du routage SPA dans Symfony (route catch-all) et React Router (Header Link) - Ajustements graphiques et CSS conformes au Figma (#F4F1EA, vert olive)
This commit is contained in:
281
assets/styles/trajectoire.css
Normal file
281
assets/styles/trajectoire.css
Normal file
@ -0,0 +1,281 @@
|
||||
/* ==========================================================================
|
||||
PAGE CONSTRUIRE SA TRAJECTOIRE - GAEA21 (FIGMA)
|
||||
========================================================================== */
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
1. SECTION HERO BANNER
|
||||
-------------------------------------------------------------------------- */
|
||||
.trajectoire-hero {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: 85vh;
|
||||
background-size: cover;
|
||||
background-position: center top;
|
||||
background-repeat: no-repeat;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
color: #ffffff;
|
||||
overflow: hidden;
|
||||
padding-top: 80px;
|
||||
}
|
||||
|
||||
/*
|
||||
Overlay assombrissant :
|
||||
Dégradé plus dense à gauche pour détacher le texte blanc,
|
||||
plus transparent vers la droite pour révéler la personne et l'ordinateur.
|
||||
*/
|
||||
.trajectoire-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(90deg,
|
||||
rgba(10, 20, 25, 0.78) 0%,
|
||||
rgba(15, 25, 30, 0.55) 45%,
|
||||
rgba(10, 20, 25, 0.25) 100%);
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
2. NAVBAR TRANSPARENTE EN HAUT DU HERO (Optionnel si intégrée)
|
||||
-------------------------------------------------------------------------- */
|
||||
.trajectoire-header {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
width: 100%;
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
padding: 1.75rem 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.trajectoire-logo img {
|
||||
height: 44px;
|
||||
width: auto;
|
||||
display: block;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.trajectoire-nav-links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2.5rem;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.trajectoire-nav-links li a {
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
opacity: 0.9;
|
||||
transition: opacity 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
|
||||
.trajectoire-nav-links li a:hover {
|
||||
opacity: 1;
|
||||
color: #c7d264;
|
||||
}
|
||||
|
||||
/* Bouton « Participer » */
|
||||
.btn-participer-trajectoire {
|
||||
background-color: #8c8f3e;
|
||||
color: #ffffff;
|
||||
padding: 0.6rem 1.6rem;
|
||||
border-radius: 9999px;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
transition: background-color 0.2s ease, transform 0.15s ease;
|
||||
}
|
||||
|
||||
.btn-participer-trajectoire:hover {
|
||||
background-color: #737630;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
3. CONTENU TEXTE DU HERO (GAUCHE)
|
||||
-------------------------------------------------------------------------- */
|
||||
.trajectoire-hero-content {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
max-width: 1440px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 3rem 4rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.trajectoire-text-wrapper {
|
||||
max-width: 580px;
|
||||
}
|
||||
|
||||
.trajectoire-title {
|
||||
font-size: 3rem;
|
||||
font-weight: 800;
|
||||
line-height: 1.15;
|
||||
color: #ffffff;
|
||||
margin-bottom: 1.5rem;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.trajectoire-paragraphs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 2.25rem;
|
||||
}
|
||||
|
||||
.trajectoire-paragraphs p {
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.55;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Groupe de boutons d'action Hero */
|
||||
.trajectoire-cta-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.btn-trajectoire-primary {
|
||||
background-color: #8c8f3e;
|
||||
color: #ffffff;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 600;
|
||||
padding: 0.75rem 1.75rem;
|
||||
border-radius: 9999px;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.btn-trajectoire-primary:hover {
|
||||
background-color: #737630;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.btn-trajectoire-secondary {
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 600;
|
||||
padding: 0.72rem 1.75rem;
|
||||
border-radius: 9999px;
|
||||
border: 1.5px solid rgba(255, 255, 255, 0.85);
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.btn-trajectoire-secondary:hover {
|
||||
background-color: rgba(255, 255, 255, 0.15);
|
||||
border-color: #ffffff;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
4. SECTION SUIVANTE : QUESTIONNAIRE INTRO (#F4F1EA)
|
||||
-------------------------------------------------------------------------- */
|
||||
.trajectoire-intro-questions {
|
||||
background-color: #F4F1EA;
|
||||
padding: 6rem 1.5rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.trajectoire-questions-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.trajectoire-subtitle-green {
|
||||
color: #7b8337;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.01em;
|
||||
margin-bottom: 1.25rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.trajectoire-heading-black {
|
||||
color: #000000;
|
||||
font-size: 2.25rem;
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
letter-spacing: -0.02em;
|
||||
margin: 0 0 2rem 0;
|
||||
}
|
||||
|
||||
.trajectoire-action-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Bouton vert olive ovale "Commencer" */
|
||||
.btn-trajectoire-commencer {
|
||||
background-color: #7b8337;
|
||||
color: #ffffff;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
padding: 0.55rem 1.6rem;
|
||||
border-radius: 9999px;
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background-color 0.2s ease, transform 0.15s ease;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.btn-trajectoire-commencer:hover {
|
||||
background-color: #6a712f;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
5. RESPONSIVE
|
||||
-------------------------------------------------------------------------- */
|
||||
@media (max-width: 900px) {
|
||||
.trajectoire-header {
|
||||
padding: 1.25rem 1.5rem;
|
||||
}
|
||||
|
||||
.trajectoire-nav-links {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.trajectoire-hero-content {
|
||||
padding: 3rem 1.5rem 4rem 1.5rem;
|
||||
}
|
||||
|
||||
.trajectoire-title {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.trajectoire-intro-questions {
|
||||
padding: 4rem 1.25rem;
|
||||
}
|
||||
|
||||
.trajectoire-heading-black {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user