{{ title }}
+ + + + diff --git a/components/navbar.vue b/components/navbar.vue index 06d9cea..2b005aa 100644 --- a/components/navbar.vue +++ b/components/navbar.vue @@ -10,6 +10,7 @@ Formations + Legal diff --git a/pages/formations/[formation]/[id].vue b/pages/formations/[formation]/[id].vue index 2888ad8..2ae965c 100644 --- a/pages/formations/[formation]/[id].vue +++ b/pages/formations/[formation]/[id].vue @@ -8,47 +8,106 @@ const { data: formation } = await useFetch(`/api/${route.params.formation}`, { transform: (_formation) => _formation.data, }); -console.log(formation); - const section = formation._value?.chapters[ parseInt(route.params.id.substring(0, 2).valueOf(), 10) - 1 ]?.sections.find((section) => section.id === route.params.id); - -console.log(section); -console.log(route.params.id); -console.log(parseInt(route.params.id.substring(0, 2).valueOf(), 10) - 1);+ Fiche Technique +
++ Apport de Connaissances +
++ Procédure +
+