Spaces:
Running
Running
File size: 5,452 Bytes
b7cbd65 7285cb4 b7cbd65 7285cb4 b7cbd65 7285cb4 b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 84d2adc b7cbd65 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | class CustomProjectSteps extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
.step-card {
transition: all 0.3s ease;
background: white;
border-radius: 12px;
border: 1px solid #e2e8f0;
}
.step-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.step-number {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
margin-right: 16px;
}
</style>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="p-6">
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Phases de Gestion de Projet</h2>
<div class="flex flex-col md:flex-row md:items-stretch">
<!-- Step 1 -->
<div class="step-card flex-1 p-6 border-b md:border-b-0 md:border-r border-gray-100">
<div class="flex items-start">
<div class="flex flex-col items-center mr-4">
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
<span class="text-blue-600 font-bold">1</span>
</div>
<div class="step-connector"></div>
</div>
<div>
<h3 class="font-medium text-lg text-gray-800 mb-2">Fondation</h3>
<p class="text-gray-600 mb-4">Définissez le périmètre, les objectifs et structurez votre projet</p>
<ul class="text-sm text-gray-500 space-y-1">
<li class="flex items-center">
<i data-feather="check" class="w-4 h-4 mr-2 text-green-500"></i>
Définition du périmètre
</li>
<li class="flex items-center">
<i data-feather="check" class="w-4 h-4 mr-2 text-green-500"></i>
Structure de découpage
</li>
<li class="flex items-center">
<i data-feather="check" class="w-4 h-4 mr-2 text-green-500"></i>
Attribution des rôles
</li>
</ul>
</div>
</div>
</div>
<!-- Step 2 -->
<div class="step-card flex-1 p-6 border-b md:border-b-0 md:border-r border-gray-100">
<div class="flex items-start">
<div class="flex flex-col items-center mr-4">
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center">
<span class="text-green-600 font-bold">2</span>
</div>
<div class="step-connector"></div>
</div>
<div>
<h3 class="font-medium text-lg text-gray-800 mb-2">Mécanique</h3>
<p class="text-gray-600 mb-4">Planifiez les délais et allouez vos ressources</p>
<ul class="text-sm text-gray-500 space-y-1">
<li class="flex items-center">
<i data-feather="check" class="w-4 h-4 mr-2 text-green-500"></i>
Diagrammes de Gantt
</li>
<li class="flex items-center">
<i data-feather="check" class="w-4 h-4 mr-2 text-green-500"></i>
Chemin critique
</li>
<li class="flex items-center">
<i data-feather="check" class="w-4 h-4 mr-2 text-green-500"></i>
Allocation des ressources
</li>
</ul>
</div>
</div>
</div>
<!-- Step 3 -->
<div class="step-card flex-1 p-6">
<div class="flex items-start">
<div class="flex flex-col items-center mr-4">
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
<span class="text-purple-600 font-bold">3</span>
</div>
</div>
<div>
<h3 class="font-medium text-lg text-gray-800 mb-2">Facteur Humain</h3>
<p class="text-gray-600 mb-4">Dirigez votre équipe et gérez les parties prenantes</p>
<ul class="text-sm text-gray-500 space-y-1">
<li class="flex items-center">
<i data-feather="check" class="w-4 h-4 mr-2 text-green-500"></i>
Motivation d'équipe
</li>
<li class="flex items-center">
<i data-feather="check" class="w-4 h-4 mr-2 text-green-500"></i>
Communication
</li>
<li class="flex items-center">
<i data-feather="check" class="w-4 h-4 mr-2 text-green-500"></i>
Résolution de conflits
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
`;
}
}
customElements.define('custom-project-steps', CustomProjectSteps); |