Spaces:
Running
I understand that Phase 1 (Strategy) should be treated as project-level settings that are configured once during project creation and can be edited later in settings, while the other phases (2-5) apply to individual URLs within the project.
Browse filesHere's the modified approach:
Modified Structure:
Phase 1 (Strategy) → Project-level configuration (one-time setup)
Phases 2-5 → URL-level workflows (applied to each URL)
Key Changes Needed:
1. Move Phase 1 to Project Settings
Remove Phase 1 from the main workflow navigation
Integrate Phase 1 components into project settings
Make it clear this is one-time project configuration
2. Update Navigation
Remove Phase 1 from workflow phase tabs
Keep Phase 1 accessible via project settings or initial setup wizard
3. URL-Centric Workflow
Phases 2-5 should be clearly associated with specific URLs
Progress tracking per URL across phases 2-5
Implementation Plan:
html
<!-- Updated Workflow Navigation (remove Phase 1) -->
<div class="workflow-phases">
<div class="phase-tab active" data-phase="overview">Overview</div>
<div class="phase-tab" data-phase="phase2">Phase 2: Creation</div>
<div class="phase-tab" data-phase="phase3">Phase 3: Technical</div>
<div class="phase-tab" data-phase="phase4">Phase 4: Amplification</div>
<div class="phase-tab" data-phase="phase5">Phase 5: Measurement</div>
</div>
<!-- Updated Sidebar (optional - can keep Phase 1 but redirect to settings) -->
<div class="nav-section">
<div class="nav-title">Workflow</div>
<a href="#" class="nav-item" data-phase="project-setup">
<span class="nav-icon">⚙️</span>
<span class="nav-text">Project Setup</span>
</a>
<a href="#" class="nav-item" data-phase="phase2">
<span class="nav-icon">✍️</span>
<span class="nav-text">Phase 2: Creation</span>
</a>
<!-- ... rest of phases -->
</div>
Enhanced URL Management:
html
<!-- Enhanced URL items showing phase progress -->
<div class="url-item">
<div class="url-info">
<div class="url-status active"></div>
<div class="url-path">/technical-seo-checklist</div>
<div class="url-phase-progress">
<div class="phase-progress-bar">
<div class="phase-dot complete" data-phase="2" title="Creation Complete"></div>
<div class="phase-dot complete" data-phase="3" title="Technical Complete"></div>
<div class="phase-dot current" data-phase="4" title="Amplification In Progress"></div>
<div class="phase-dot" data-phase="5" title="Measurement Not Started"></div>
</div>
</div>
</div>
<div class="url-metrics">
<div class="url-metric">
<div class="metric-value">4.2K</div>
<div class="metric-label">Traffic</div>
</div>
<!-- ... other metrics -->
</div>
</div>
Project Setup Section (New):
html
<!-- Project Setup Phase -->
<div class="phase-content" id="project-setup">
<div class="dashboard-grid">
<div class="card grid-span-12">
<div class="card-header">
<h2 class="card-title">Project Strategy & Setup</h2>
<div class="card-actions">
<button class="btn text-sm">Save Changes</button>
</div>
</div>
<div class="settings-grid">
<!-- Move Phase 1 components here -->
<div class="settings-section">
<h3 class="settings-title">Business & Market Research</h3>
<!-- SWOT Analysis, Competitor Analysis, UVP -->
</div>
<div class="settings-section">
<h3 class="settings-title">Target Audience</h3>
<!-- Buyer Personas -->
</div>
<div class="settings-section">
<h3 class="settings-title">Content Strategy</h3>
<!-- Core Topics, Content Clusters, Buyer's Journey -->
</div>
</div>
</div>
</div>
</div>
JavaScript Updates:
javascript
// Update navigation to handle project setup
function showPhase(phaseId) {
// Hide all phase contents
phaseContents.forEach(content => {
content.classList.remove('active');
});
// Show selected phase
const targetPhase = document.getElementById(phaseId);
if (targetPhase) {
targetPhase.classList.add('active');
}
// Update active states
phaseTabs.forEach(tab => {
tab.classList.remove('active');
});
navItems.forEach(item => {
item.classList.remove('active');
});
// Handle project setup separately
if (phaseId === 'project-setup') {
const navItem = document.querySelector(`.nav-item[data-phase="${phaseId}"]`);
if (navItem) navItem.classList.add('active');
} else {
// Regular phase handling
const tab = document.querySelector(`.phase-tab[data-phase="${phaseId}"]`);
if (tab) tab.classList.add('active');
const navItem = document.querySelector(`.nav-item[data-phase="${phaseId}"]`);
if (navItem) navItem.classList.add('active');
}
}
This structure ensures:
Phase 1 = One-time project configuration
Phases 2-5 = Repeatable workflow for each URL
Clear separation between project-level and URL-level activities
Better progress tracking per URL across the workflow phases
- index.html +159 -50
|
@@ -1246,32 +1246,30 @@
|
|
| 1246 |
<span class="nav-text">All Projects</span>
|
| 1247 |
</a>
|
| 1248 |
</div>
|
| 1249 |
-
|
| 1250 |
-
|
| 1251 |
-
|
| 1252 |
-
|
| 1253 |
-
|
| 1254 |
-
<
|
| 1255 |
-
|
| 1256 |
-
|
| 1257 |
-
|
| 1258 |
-
<
|
| 1259 |
-
|
| 1260 |
-
|
| 1261 |
-
|
| 1262 |
-
<
|
| 1263 |
-
|
| 1264 |
-
|
| 1265 |
-
|
| 1266 |
-
<
|
| 1267 |
-
|
| 1268 |
-
|
| 1269 |
-
|
| 1270 |
-
<
|
| 1271 |
-
</
|
| 1272 |
-
|
| 1273 |
-
|
| 1274 |
-
<div class="nav-section">
|
| 1275 |
<div class="nav-title">Organization</div>
|
| 1276 |
<a href="#" class="nav-item" data-phase="team">
|
| 1277 |
<span class="nav-icon">👥</span>
|
|
@@ -1360,8 +1358,16 @@
|
|
| 1360 |
<div class="url-info">
|
| 1361 |
<div class="url-status active"></div>
|
| 1362 |
<div class="url-path">/technical-seo-checklist</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1363 |
</div>
|
| 1364 |
-
|
| 1365 |
<div class="url-metric">
|
| 1366 |
<div class="metric-value">4.2K</div>
|
| 1367 |
<div class="metric-label">Traffic</div>
|
|
@@ -1419,18 +1425,15 @@
|
|
| 1419 |
</div>
|
| 1420 |
</div>
|
| 1421 |
</div>
|
| 1422 |
-
|
| 1423 |
<!-- Workflow Phase Navigation -->
|
| 1424 |
<div class="workflow-phases">
|
| 1425 |
<div class="phase-tab active" data-phase="overview">Overview</div>
|
| 1426 |
-
<div class="phase-tab" data-phase="
|
| 1427 |
-
<div class="phase-tab" data-phase="
|
| 1428 |
-
<div class="phase-tab" data-phase="
|
| 1429 |
-
<div class="phase-tab" data-phase="
|
| 1430 |
-
<div class="phase-tab" data-phase="phase5">Phase 5: Measurement</div>
|
| 1431 |
</div>
|
| 1432 |
-
|
| 1433 |
-
<!-- Overview Phase -->
|
| 1434 |
<div class="phase-content active" id="overview">
|
| 1435 |
<!-- Welcome Banner -->
|
| 1436 |
<div class="welcome-banner">
|
|
@@ -1571,10 +1574,64 @@
|
|
| 1571 |
</div>
|
| 1572 |
</div>
|
| 1573 |
</div>
|
| 1574 |
-
|
| 1575 |
-
|
| 1576 |
-
|
| 1577 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1578 |
<!-- Step 1: Market & Business Research -->
|
| 1579 |
<div class="card grid-span-6">
|
| 1580 |
<div class="card-header">
|
|
@@ -2783,7 +2840,52 @@
|
|
| 2783 |
|
| 2784 |
<script>
|
| 2785 |
document.addEventListener('DOMContentLoaded', function() {
|
| 2786 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2787 |
|
| 2788 |
// Theme toggle functionality
|
| 2789 |
const themeToggle = document.getElementById('themeToggle');
|
|
@@ -2814,7 +2916,6 @@
|
|
| 2814 |
const phaseTabs = document.querySelectorAll('.phase-tab');
|
| 2815 |
const navItems = document.querySelectorAll('.nav-item[data-phase]');
|
| 2816 |
const phaseContents = document.querySelectorAll('.phase-content');
|
| 2817 |
-
|
| 2818 |
function showPhase(phaseId) {
|
| 2819 |
// Hide all phase contents
|
| 2820 |
phaseContents.forEach(content => {
|
|
@@ -2822,7 +2923,10 @@
|
|
| 2822 |
});
|
| 2823 |
|
| 2824 |
// Show selected phase
|
| 2825 |
-
document.getElementById(phaseId)
|
|
|
|
|
|
|
|
|
|
| 2826 |
|
| 2827 |
// Update active states
|
| 2828 |
phaseTabs.forEach(tab => {
|
|
@@ -2832,15 +2936,20 @@
|
|
| 2832 |
item.classList.remove('active');
|
| 2833 |
});
|
| 2834 |
|
| 2835 |
-
//
|
| 2836 |
-
|
| 2837 |
-
|
| 2838 |
-
|
| 2839 |
-
|
| 2840 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2841 |
}
|
| 2842 |
-
|
| 2843 |
-
// Add event listeners to phase tabs
|
| 2844 |
phaseTabs.forEach(tab => {
|
| 2845 |
tab.addEventListener('click', () => {
|
| 2846 |
const phaseId = tab.getAttribute('data-phase');
|
|
|
|
| 1246 |
<span class="nav-text">All Projects</span>
|
| 1247 |
</a>
|
| 1248 |
</div>
|
| 1249 |
+
<div class="nav-section">
|
| 1250 |
+
<div class="nav-title">Workflow</div>
|
| 1251 |
+
<a href="#" class="nav-item" data-phase="project-setup">
|
| 1252 |
+
<span class="nav-icon">⚙️</span>
|
| 1253 |
+
<span class="nav-text">Project Setup</span>
|
| 1254 |
+
</a>
|
| 1255 |
+
<a href="#" class="nav-item" data-phase="phase2">
|
| 1256 |
+
<span class="nav-icon">✍️</span>
|
| 1257 |
+
<span class="nav-text">Phase 1: Creation</span>
|
| 1258 |
+
</a>
|
| 1259 |
+
<a href="#" class="nav-item" data-phase="phase3">
|
| 1260 |
+
<span class="nav-icon">⚙️</span>
|
| 1261 |
+
<span class="nav-text">Phase 2: Technical</span>
|
| 1262 |
+
</a>
|
| 1263 |
+
<a href="#" class="nav-item" data-phase="phase4">
|
| 1264 |
+
<span class="nav-icon">📢</span>
|
| 1265 |
+
<span class="nav-text">Phase 3: Amplification</span>
|
| 1266 |
+
</a>
|
| 1267 |
+
<a href="#" class="nav-item" data-phase="phase5">
|
| 1268 |
+
<span class="nav-icon">📈</span>
|
| 1269 |
+
<span class="nav-text">Phase 4: Measurement</span>
|
| 1270 |
+
</a>
|
| 1271 |
+
</div>
|
| 1272 |
+
<div class="nav-section">
|
|
|
|
|
|
|
| 1273 |
<div class="nav-title">Organization</div>
|
| 1274 |
<a href="#" class="nav-item" data-phase="team">
|
| 1275 |
<span class="nav-icon">👥</span>
|
|
|
|
| 1358 |
<div class="url-info">
|
| 1359 |
<div class="url-status active"></div>
|
| 1360 |
<div class="url-path">/technical-seo-checklist</div>
|
| 1361 |
+
<div class="url-phase-progress">
|
| 1362 |
+
<div class="phase-progress-bar">
|
| 1363 |
+
<div class="phase-dot complete" data-phase="2" title="Creation Complete"></div>
|
| 1364 |
+
<div class="phase-dot complete" data-phase="3" title="Technical Complete"></div>
|
| 1365 |
+
<div class="phase-dot current" data-phase="4" title="Amplification In Progress"></div>
|
| 1366 |
+
<div class="phase-dot" data-phase="5" title="Measurement Not Started"></div>
|
| 1367 |
+
</div>
|
| 1368 |
+
</div>
|
| 1369 |
</div>
|
| 1370 |
+
<div class="url-metrics">
|
| 1371 |
<div class="url-metric">
|
| 1372 |
<div class="metric-value">4.2K</div>
|
| 1373 |
<div class="metric-label">Traffic</div>
|
|
|
|
| 1425 |
</div>
|
| 1426 |
</div>
|
| 1427 |
</div>
|
|
|
|
| 1428 |
<!-- Workflow Phase Navigation -->
|
| 1429 |
<div class="workflow-phases">
|
| 1430 |
<div class="phase-tab active" data-phase="overview">Overview</div>
|
| 1431 |
+
<div class="phase-tab" data-phase="phase2">Phase 1: Creation</div>
|
| 1432 |
+
<div class="phase-tab" data-phase="phase3">Phase 2: Technical</div>
|
| 1433 |
+
<div class="phase-tab" data-phase="phase4">Phase 3: Amplification</div>
|
| 1434 |
+
<div class="phase-tab" data-phase="phase5">Phase 4: Measurement</div>
|
|
|
|
| 1435 |
</div>
|
| 1436 |
+
<!-- Overview Phase -->
|
|
|
|
| 1437 |
<div class="phase-content active" id="overview">
|
| 1438 |
<!-- Welcome Banner -->
|
| 1439 |
<div class="welcome-banner">
|
|
|
|
| 1574 |
</div>
|
| 1575 |
</div>
|
| 1576 |
</div>
|
| 1577 |
+
<!-- Project Setup Phase -->
|
| 1578 |
+
<div class="phase-content" id="project-setup">
|
| 1579 |
+
<div class="dashboard-grid">
|
| 1580 |
+
<div class="card grid-span-12">
|
| 1581 |
+
<div class="card-header">
|
| 1582 |
+
<h2 class="card-title">Project Strategy & Setup</h2>
|
| 1583 |
+
<div class="card-actions">
|
| 1584 |
+
<button class="btn text-sm">Save Changes</button>
|
| 1585 |
+
</div>
|
| 1586 |
+
</div>
|
| 1587 |
+
<div class="settings-grid">
|
| 1588 |
+
<div class="settings-section">
|
| 1589 |
+
<h3 class="settings-title">Business & Market Research</h3>
|
| 1590 |
+
<!-- Moved from Phase 1 -->
|
| 1591 |
+
<div class="step-card">
|
| 1592 |
+
<div class="step-header">
|
| 1593 |
+
<div class="step-title">SWOT Analysis</div>
|
| 1594 |
+
</div>
|
| 1595 |
+
<textarea class="setting-textarea" placeholder="Enter SWOT analysis..."></textarea>
|
| 1596 |
+
</div>
|
| 1597 |
+
<div class="step-card">
|
| 1598 |
+
<div class="step-header">
|
| 1599 |
+
<div class="step-title">Competitor Analysis</div>
|
| 1600 |
+
</div>
|
| 1601 |
+
<textarea class="setting-textarea" placeholder="Enter competitor analysis..."></textarea>
|
| 1602 |
+
</div>
|
| 1603 |
+
</div>
|
| 1604 |
+
<div class="settings-section">
|
| 1605 |
+
<h3 class="settings-title">Target Audience</h3>
|
| 1606 |
+
<!-- Moved from Phase 1 -->
|
| 1607 |
+
<div class="persona-grid">
|
| 1608 |
+
<div class="persona-card">
|
| 1609 |
+
<div class="persona-avatar">TM</div>
|
| 1610 |
+
<div class="persona-name">Taylor Morgan</div>
|
| 1611 |
+
<div class="persona-role">Marketing Manager</div>
|
| 1612 |
+
<div class="setting-group">
|
| 1613 |
+
<textarea class="setting-textarea" placeholder="Persona details..."></textarea>
|
| 1614 |
+
</div>
|
| 1615 |
+
</div>
|
| 1616 |
+
</div>
|
| 1617 |
+
</div>
|
| 1618 |
+
<div class="settings-section">
|
| 1619 |
+
<h3 class="settings-title">Content Strategy</h3>
|
| 1620 |
+
<!-- Moved from Phase 1 -->
|
| 1621 |
+
<div class="setting-group">
|
| 1622 |
+
<label class="setting-label">Core Topics</label>
|
| 1623 |
+
<textarea class="setting-textarea" placeholder="Enter core topics..."></textarea>
|
| 1624 |
+
</div>
|
| 1625 |
+
<div class="setting-group">
|
| 1626 |
+
<label class="setting-label">Content Clusters</label>
|
| 1627 |
+
<textarea class="setting-textarea" placeholder="Enter content clusters..."></textarea>
|
| 1628 |
+
</div>
|
| 1629 |
+
</div>
|
| 1630 |
+
</div>
|
| 1631 |
+
</div>
|
| 1632 |
+
</div>
|
| 1633 |
+
</div>
|
| 1634 |
+
<div class="dashboard-grid">
|
| 1635 |
<!-- Step 1: Market & Business Research -->
|
| 1636 |
<div class="card grid-span-6">
|
| 1637 |
<div class="card-header">
|
|
|
|
| 2840 |
|
| 2841 |
<script>
|
| 2842 |
document.addEventListener('DOMContentLoaded', function() {
|
| 2843 |
+
// Add phase progress bar styles
|
| 2844 |
+
const style = document.createElement('style');
|
| 2845 |
+
style.textContent = `
|
| 2846 |
+
.url-phase-progress {
|
| 2847 |
+
margin-left: 16px;
|
| 2848 |
+
}
|
| 2849 |
+
.phase-progress-bar {
|
| 2850 |
+
display: flex;
|
| 2851 |
+
gap: 8px;
|
| 2852 |
+
margin-top: 4px;
|
| 2853 |
+
}
|
| 2854 |
+
.phase-dot {
|
| 2855 |
+
width: 12px;
|
| 2856 |
+
height: 12px;
|
| 2857 |
+
border-radius: 50%;
|
| 2858 |
+
background: var(--muted);
|
| 2859 |
+
position: relative;
|
| 2860 |
+
}
|
| 2861 |
+
.phase-dot.complete {
|
| 2862 |
+
background: var(--success);
|
| 2863 |
+
}
|
| 2864 |
+
.phase-dot.current {
|
| 2865 |
+
background: var(--brand);
|
| 2866 |
+
animation: pulse 1.5s infinite;
|
| 2867 |
+
}
|
| 2868 |
+
@keyframes pulse {
|
| 2869 |
+
0% { opacity: 1; }
|
| 2870 |
+
50% { opacity: 0.5; }
|
| 2871 |
+
100% { opacity: 1; }
|
| 2872 |
+
}
|
| 2873 |
+
.phase-dot:hover:after {
|
| 2874 |
+
content: attr(title);
|
| 2875 |
+
position: absolute;
|
| 2876 |
+
bottom: 100%;
|
| 2877 |
+
left: 50%;
|
| 2878 |
+
transform: translateX(-50%);
|
| 2879 |
+
background: var(--card);
|
| 2880 |
+
padding: 4px 8px;
|
| 2881 |
+
border-radius: 4px;
|
| 2882 |
+
border: 1px solid var(--border);
|
| 2883 |
+
font-size: 12px;
|
| 2884 |
+
white-space: nowrap;
|
| 2885 |
+
}
|
| 2886 |
+
`;
|
| 2887 |
+
document.head.appendChild(style);
|
| 2888 |
+
const root = document.documentElement;
|
| 2889 |
|
| 2890 |
// Theme toggle functionality
|
| 2891 |
const themeToggle = document.getElementById('themeToggle');
|
|
|
|
| 2916 |
const phaseTabs = document.querySelectorAll('.phase-tab');
|
| 2917 |
const navItems = document.querySelectorAll('.nav-item[data-phase]');
|
| 2918 |
const phaseContents = document.querySelectorAll('.phase-content');
|
|
|
|
| 2919 |
function showPhase(phaseId) {
|
| 2920 |
// Hide all phase contents
|
| 2921 |
phaseContents.forEach(content => {
|
|
|
|
| 2923 |
});
|
| 2924 |
|
| 2925 |
// Show selected phase
|
| 2926 |
+
const targetPhase = document.getElementById(phaseId);
|
| 2927 |
+
if (targetPhase) {
|
| 2928 |
+
targetPhase.classList.add('active');
|
| 2929 |
+
}
|
| 2930 |
|
| 2931 |
// Update active states
|
| 2932 |
phaseTabs.forEach(tab => {
|
|
|
|
| 2936 |
item.classList.remove('active');
|
| 2937 |
});
|
| 2938 |
|
| 2939 |
+
// Handle project setup separately
|
| 2940 |
+
if (phaseId === 'project-setup') {
|
| 2941 |
+
const navItem = document.querySelector(`.nav-item[data-phase="${phaseId}"]`);
|
| 2942 |
+
if (navItem) navItem.classList.add('active');
|
| 2943 |
+
} else {
|
| 2944 |
+
// Regular phase handling
|
| 2945 |
+
const tab = document.querySelector(`.phase-tab[data-phase="${phaseId}"]`);
|
| 2946 |
+
if (tab) tab.classList.add('active');
|
| 2947 |
+
|
| 2948 |
+
const navItem = document.querySelector(`.nav-item[data-phase="${phaseId}"]`);
|
| 2949 |
+
if (navItem) navItem.classList.add('active');
|
| 2950 |
+
}
|
| 2951 |
}
|
| 2952 |
+
// Add event listeners to phase tabs
|
|
|
|
| 2953 |
phaseTabs.forEach(tab => {
|
| 2954 |
tab.addEventListener('click', () => {
|
| 2955 |
const phaseId = tab.getAttribute('data-phase');
|