feat: enhancing the layout + we need to start using the classes
This commit is contained in:
		| @@ -261,6 +261,7 @@ const startEditing = (index: number) => { | ||||
| }; | ||||
|  | ||||
| /* | ||||
| //FOR LOCAL HOST | ||||
| const saveEdit = async (index: number) => { | ||||
|   try { | ||||
|     const id = index + 1; // À adapter selon l'ID réel des données | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
| </template> | ||||
|  | ||||
| <script setup lang="ts"> | ||||
| import { ref, onMounted } from "vue"; | ||||
| import { ref } from "vue"; | ||||
| import CanvasItem from "@/components/canvas/CanvasItem.vue"; | ||||
|  | ||||
| const props = defineProps<{ | ||||
| @@ -87,6 +87,7 @@ const items = ref([ | ||||
|     }, | ||||
| ]); | ||||
|  | ||||
| /* | ||||
| onMounted(() => { | ||||
|     const bootstrapCss = document.createElement("link"); | ||||
|     bootstrapCss.rel = "stylesheet"; | ||||
| @@ -105,6 +106,7 @@ onMounted(() => { | ||||
|     bootstrapJs.crossOrigin = "anonymous"; | ||||
|     document.body.appendChild(bootstrapJs); | ||||
| }); | ||||
| */ | ||||
| </script> | ||||
|  | ||||
| <style scoped> | ||||
|   | ||||
| @@ -33,7 +33,7 @@ | ||||
|  | ||||
|         <div v-if="choix === 'joindre'" class="message-indispo"> | ||||
|             <h2>Joindre un projet</h2> | ||||
|             <p>⚠️ Cette fonctionnalité n'est pas encore disponible.</p> | ||||
|             <p>Cette fonctionnalité n'est pas encore disponible.</p> | ||||
|         </div> | ||||
|     </div> | ||||
| </template> | ||||
| @@ -54,7 +54,6 @@ const validerCreation = () => { | ||||
|         return; | ||||
|     } | ||||
|     alert(`Projet "${nomProjet.value}" créé avec succès !`); | ||||
|     // Tu peux ensuite naviguer ou faire un POST ici | ||||
| }; | ||||
| </script> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user