From f4d73654d1d5c0eacca179b5e906aaacfc530e10 Mon Sep 17 00:00:00 2001 From: Mohamed Maoulainine Maoulainine Date: Sat, 8 Feb 2025 22:40:35 +0100 Subject: [PATCH] some minor changes on the main page --- front/MyINPulse-front/src/App.vue | 5 +- .../src/components/Project-comp.vue | 46 ++++++++++++++++++- 2 files changed, 47 insertions(+), 4 deletions(-) diff --git a/front/MyINPulse-front/src/App.vue b/front/MyINPulse-front/src/App.vue index 71701b5..f2db102 100644 --- a/front/MyINPulse-front/src/App.vue +++ b/front/MyINPulse-front/src/App.vue @@ -13,6 +13,7 @@ import ProjectComp from './components/Project-comp.vue'; v-for="(project, index) in projects" :key="index" :projectName="project.name" + :listName="project.members" /> @@ -33,12 +34,12 @@ export default { { name: 'Projet Alpha', //link: './project-alpha.html', - //members: ['Alice', 'Bob', 'Charlie'], + members: ['Alice', 'Bob', 'Charlie'], }, { name: 'Projet Beta', //link: './project-beta.html', - //members: ['David', 'Eve', 'Frank'], + members: ['David', 'Eve', 'Frank'], }, ], }; diff --git a/front/MyINPulse-front/src/components/Project-comp.vue b/front/MyINPulse-front/src/components/Project-comp.vue index 3e060bb..258a6d5 100644 --- a/front/MyINPulse-front/src/components/Project-comp.vue +++ b/front/MyINPulse-front/src/components/Project-comp.vue @@ -2,8 +2,16 @@

{{ projectName }}

+
+ + +
+
+
+
    +
  • {{ name }}
  • +
-
@@ -13,6 +21,40 @@ export default { name: 'Project', props: { projectName: String, + listName: Array as() => String[], //something isn't working } } - \ No newline at end of file + + + \ No newline at end of file