Split remaining toolbox modules by responsibility
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s
This commit is contained in:
parent
43a9e791c5
commit
a0d7e80a1a
25 changed files with 2199 additions and 1992 deletions
|
|
@ -0,0 +1,19 @@
|
|||
// Rôle : rend l'écran de choix initial du mode calendrier.
|
||||
export function CalendarModeChoice({ textContent, onInitializeWeek, onInitializeMonth }) {
|
||||
return (
|
||||
<div className="calendar-module">
|
||||
<section className="calendar-mode-choice" aria-label={textContent.init?.title || "Créer un calendrier"}>
|
||||
<div className="calendar-mode-grid">
|
||||
<button type="button" className="calendar-mode-card" onClick={onInitializeWeek}>
|
||||
<strong>{textContent.init?.weekly || "Hebdomadaire"}</strong>
|
||||
<span>{textContent.init?.weeklyDescription || "Grille jours par créneaux de 30 minutes."}</span>
|
||||
</button>
|
||||
<button type="button" className="calendar-mode-card" onClick={onInitializeMonth}>
|
||||
<strong>{textContent.init?.monthly || "Mensuel"}</strong>
|
||||
<span>{textContent.init?.monthlyDescription || "Grille du mois courant."}</span>
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue