feat: ajouter la section Compétences (6e bloc)

This commit is contained in:
devcodetools committed 2026-09-17 07:01:05 +02:00
1 parent a0d312a884
commit 92aaafb4aa
13 files changed
+75 -47

No files matched your search

+8 -3
View File
@@ -2,6 +2,7 @@ export type CVTabId =
| "accroche"
| "etatCivil"
| "formations"
| "competences"
| "softSkills"
| "centresInteret";
@@ -9,13 +10,14 @@ export const CV_TAB_ORDER: CVTabId[] = [
"accroche",
"etatCivil",
"formations",
"competences",
"softSkills",
"centresInteret",
];
export interface CVTabMeta {
id: CVTabId;
numero: 1 | 2 | 3 | 4 | 5;
numero: 1 | 2 | 3 | 4 | 5 | 6;
label: string;
}
@@ -23,10 +25,11 @@ export const CV_TABS: Record<CVTabId, CVTabMeta> = {
accroche: { id: "accroche", numero: 1, label: "Accroche" },
etatCivil: { id: "etatCivil", numero: 2, label: "État civil" },
formations: { id: "formations", numero: 3, label: "Formations" },
softSkills: { id: "softSkills", numero: 4, label: "Soft skills" },
competences: { id: "competences", numero: 4, label: "Compétences" },
softSkills: { id: "softSkills", numero: 5, label: "Soft skills" },
centresInteret: {
id: "centresInteret",
numero: 5,
numero: 6,
label: "Centres d'intérêt",
},
};
@@ -44,6 +47,7 @@ export interface CVCareerData {
accroche: string;
etatCivil: string;
formations: string;
competences: string;
softSkills: string;
centresInteret: string;
experiences: Experience[];
@@ -57,6 +61,7 @@ export function createDefaultCVData(): CVCareerData {
accroche: "",
etatCivil: "",
formations: "",
competences: "",
softSkills: "",
centresInteret: "",
experiences: [],