Skip to content

Commit 14ad1dd

Browse files
Update index.html
1 parent 83e01b9 commit 14ad1dd

1 file changed

Lines changed: 26 additions & 24 deletions

File tree

index.html

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,9 @@ <h1 class="mt-4 text-3xl font-semibold leading-tight sm:text-4xl">
660660
if (STATE.showPartnerEventsModal) {
661661
html += renderPartnerEventsModal();
662662
}
663-
if (STATE.showCsvModal) html += renderCsvModal();
663+
if (STATE.showCsvModal) {
664+
html += renderCsvModal();
665+
}
664666
document.getElementById('app').innerHTML = html;
665667
lucide.createIcons();
666668
addEventListeners();
@@ -1073,28 +1075,6 @@ <h2 class="text-xl font-medium mb-4">Select Partner Types to Show</h2>
10731075
const isRegistered = STATE.partnerType === 'Registered';
10741076
let html = '<h2 class="text-xl font-medium mb-6 flex items-center gap-3"><i data-lucide="table" class="h-6 w-6 stroke-[#2563eb]"></i>Sales Motion</h2>';
10751077
html += '<div class="mb-6 rounded-xl bg-white p-6 shadow-md">';
1076-
html += '<h3 class="text-lg font-medium mb-4 flex items-center gap-2"><i data-lucide="workflow" class="h-5 w-5 stroke-[#2563eb]"></i>Sales Cycle Stages</h3>';
1077-
html += '<div class="space-y-2">';
1078-
STATE.salesCycle.rows.forEach((row, index) => {
1079-
const active = STATE.salesCycle.activeAccordion === index;
1080-
const stage = STATE.salesCycle.stages[row];
1081-
html += `
1082-
<div class="border border-[#E2E8F0] rounded-xl overflow-hidden">
1083-
<button data-accordion="${index}" class="w-full flex justify-between items-center px-4 py-3 text-left font-medium text-sm bg-gray-50 hover:bg-gray-100 transition-colors">
1084-
<span>${stage.label}</span>
1085-
<i data-lucide="${active ? 'chevron-up' : 'chevron-down'}" class="h-4 w-4"></i>
1086-
</button>
1087-
<div class="${active ? '' : 'hidden'} px-4 py-3 text-sm text-gray-700 space-y-2">
1088-
<p><strong>Description:</strong> ${stage.description}</p>
1089-
<p><strong>Entry Criteria:</strong> ${stage.entryCriteria.join(', ')}</p>
1090-
<p><strong>Exit Criteria:</strong> ${stage.exitCriteria.join(', ')}</p>
1091-
<p><strong>Deliverables:</strong> ${stage.deliverables.join(', ')}</p>
1092-
</div>
1093-
</div>
1094-
`;
1095-
});
1096-
html += '</div></div>';
1097-
html += '<div class="mb-6 rounded-xl bg-white p-6 shadow-md">';
10981078
html += '<h3 class="text-lg font-medium mb-4 flex items-center gap-2"><i data-lucide="layers" class="h-5 w-5 stroke-[#2563eb]"></i>Band Overviews</h3>';
10991079
html += '<div class="grid grid-cols-1 md:grid-cols-3 gap-4">';
11001080
if (isRegistered) {
@@ -1107,7 +1087,7 @@ <h2 class="text-xl font-medium mb-4">Select Partner Types to Show</h2>
11071087
});
11081088
}
11091089
html += '</div></div>';
1110-
html += '<div class="rounded-xl bg-white p-6 shadow-md">';
1090+
html += '<div class="mb-6 rounded-xl bg-white p-6 shadow-md">';
11111091
html += '<h3 class="text-lg font-medium mb-4 flex items-center gap-2"><i data-lucide="users-round" class="h-5 w-5 stroke-[#2563eb]"></i>Ownership by Band</h3>';
11121092
if (isRegistered) {
11131093
STATE.activeBand = 'band3';
@@ -1144,6 +1124,28 @@ <h2 class="text-xl font-medium mb-4">Select Partner Types to Show</h2>
11441124
html += '</div>';
11451125
});
11461126
html += '</div></div>';
1127+
html += '<div class="mb-6 rounded-xl bg-white p-6 shadow-md">';
1128+
html += '<h3 class="text-lg font-medium mb-4 flex items-center gap-2"><i data-lucide="workflow" class="h-5 w-5 stroke-[#2563eb]"></i>Sales Cycle Stages</h3>';
1129+
html += '<div class="space-y-2">';
1130+
STATE.salesCycle.rows.forEach((row, index) => {
1131+
const active = STATE.salesCycle.activeAccordion === index;
1132+
const stage = STATE.salesCycle.stages[row];
1133+
html += `
1134+
<div class="border border-[#E2E8F0] rounded-xl overflow-hidden">
1135+
<button data-accordion="${index}" class="w-full flex justify-between items-center px-4 py-3 text-left font-medium text-sm bg-gray-50 hover:bg-gray-100 transition-colors">
1136+
<span>${stage.label}</span>
1137+
<i data-lucide="${active ? 'chevron-up' : 'chevron-down'}" class="h-4 w-4"></i>
1138+
</button>
1139+
<div class="${active ? '' : 'hidden'} px-4 py-3 text-sm text-gray-700 space-y-2">
1140+
<p><strong>Description:</strong> ${stage.description}</p>
1141+
<p><strong>Entry Criteria:</strong> ${stage.entryCriteria.join(', ')}</p>
1142+
<p><strong>Exit Criteria:</strong> ${stage.exitCriteria.join(', ')}</p>
1143+
<p><strong>Deliverables:</strong> ${stage.deliverables.join(', ')}</p>
1144+
</div>
1145+
</div>
1146+
`;
1147+
});
1148+
html += '</div></div>';
11471149
html += '<div class="mt-6 text-xs text-gray-600 flex flex-wrap gap-4">';
11481150
html += '<span class="flex items-center gap-1"><i data-lucide="handshake" class="h-3 w-3 stroke-[#2563eb]"></i>Band 1 rewards full-cycle ownership</span>';
11491151
html += '<span class="flex items-center gap-1"><i data-lucide="users-round" class="h-3 w-3 stroke-[#2563eb]"></i> Band 2 is co-sell</span>';

0 commit comments

Comments
 (0)