Skip to content

Commit 2b1f068

Browse files
Update index.html
1 parent 71a3089 commit 2b1f068

1 file changed

Lines changed: 21 additions & 19 deletions

File tree

index.html

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -642,33 +642,35 @@ <h3 class="text-lg font-semibold p-5 border-b border-[#E2E8F0] flex items-center
642642
const meta = STATE.salesCycle.bandMeta[STATE.band];
643643
html += '<div class="flex flex-wrap items-center gap-3 mb-6">';
644644
html += `<span class="px-3 py-1 text-xs rounded-2xl ${meta.color}">${meta.name}</span>`;
645-
html += `<span class="text-xs text-[#4A5568]">${meta.summary}</span>`;
646645
html += '</div>';
647-
html += '<div class="overflow-x-auto rounded-2xl border border-[#E2E8F0]">';
648-
html += '<table class="min-w-[920px] w-full text-sm">';
649-
html += '<thead class="bg-[#F7F9FB]">';
650-
html += '<tr class="text-left"><th class="p-3">Stage</th><th class="p-3">Owner</th><th class="p-3">Support</th><th class="p-3">Exit Criteria</th><th class="p-3">Deliverables</th></tr>';
651-
html += '</thead><tbody>';
646+
html += '<div class="space-y-6">';
652647
STATE.salesCycle.rows.forEach(key => {
653648
const stage = STATE.salesCycle.stages[key];
654649
const own = STATE.salesCycle.bands[STATE.band][key];
655-
html += '<tr class="border-t border-[#E2E8F0] align-top">';
656-
html += '<td class="p-3 w-[18%]"><div class="font-medium">' + stage.label + '</div><div class="text-xs text-[#4A5568] mt-1">' + stage.description + '</div></td>';
657-
html += '<td class="p-3 w-[18%]"><div class="flex items-start gap-2"><i data-lucide="user-round" class="h-4 w-4 mt-0.5 stroke-[#0070F3]"></i><div><div class="font-medium">' + own.primaryOwner + '</div><div class="text-[11px] text-[#4A5568]">Accountable: ' + own.accountable + '</div></div></div></td>';
658-
html += '<td class="p-3 w-[18%]"><div class="flex flex-wrap gap-2">';
650+
html += '<div class="rounded-2xl bg-white p-6 shadow-lg border border-[#E2E8F0] hover:shadow-xl transition-shadow duration-300">';
651+
html += '<h3 class="text-xl font-semibold mb-2 text-[#0A1C60]">' + stage.label + '</h3>';
652+
html += '<p class="text-sm text-[#4A5568] mb-6">' + stage.description + '</p>';
653+
html += '<div class="grid grid-cols-1 md:grid-cols-3 gap-6">';
654+
html += '<div class="bg-[#F7F9FB] rounded-xl p-4">';
655+
html += '<div class="font-medium mb-2 flex items-center gap-2"><i data-lucide="user-round" class="h-5 w-5 stroke-[#0070F3]"></i>Owner</div>';
656+
html += '<div class="text-[#0A1C60]">' + own.primaryOwner + '</div>';
657+
html += '<div class="text-xs text-[#4A5568] mt-1">Accountable: ' + own.accountable + '</div>';
658+
html += '</div>';
659+
html += '<div class="bg-[#F7F9FB] rounded-xl p-4">';
660+
html += '<div class="font-medium mb-2 flex items-center gap-2"><i data-lucide="users-round" class="h-5 w-5 stroke-[#0070F3]"></i>Support</div>';
661+
html += '<div class="flex flex-wrap gap-2">';
659662
own.support.forEach(s => {
660-
html += '<span class="rounded-xl bg-[#E2E8F0] px-2 py-1 text-xs text-[#4A5568]">' + s + '</span>';
663+
html += '<span class="rounded-full bg-white px-3 py-1 text-xs text-[#4A5568] border border-[#E2E8F0]">' + s + '</span>';
661664
});
662-
html += '</div></td>';
663-
html += '<td class="p-3 w-[23%]"><ul class="list-disc pl-4 space-y-1">';
665+
html += '</div></div>';
666+
html += '<div class="bg-[#F7F9FB] rounded-xl p-4">';
667+
html += '<div class="font-medium mb-2 flex items-center gap-2"><i data-lucide="check-circle" class="h-5 w-5 stroke-[#0070F3]"></i>Exit Criteria</div>';
668+
html += '<ul class="list-disc pl-4 space-y-1 text-sm text-[#4A5568]">';
664669
stage.exitCriteria.forEach(e => { html += '<li>' + e + '</li>'; });
665-
html += '</ul></td>';
666-
html += '<td class="p-3 w-[23%]"><ul class="list-disc pl-4 space-y-1">';
667-
stage.deliverables.forEach(d => { html += '<li>' + d + '</li>'; });
668-
html += '</ul></td>';
669-
html += '</tr>';
670+
html += '</ul></div>';
671+
html += '</div></div>';
670672
});
671-
html += '</tbody></table></div>';
673+
html += '</div>';
672674
html += '<div class="mt-6 text-xs text-[#4A5568] flex flex-wrap gap-4">';
673675
html += '<span class="flex items-center gap-1"><i data-lucide="handshake" class="h-3 w-3 stroke-[#0070F3]"></i> Band 1 rewards full-cycle ownership</span>';
674676
html += '<span class="flex items-center gap-1"><i data-lucide="users-round" class="h-3 w-3 stroke-[#0070F3]"></i> Band 2 is co-sell</span>';

0 commit comments

Comments
 (0)