File size: 8,720 Bytes
ea012db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WorkflowWizard Pro - Dashboard</title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: {
                            50: '#fef2f2',
                            100: '#fee2e2',
                            200: '#fecaca',
                            300: '#fca5a5',
                            400: '#f87171',
                            500: '#ef4444',
                            600: '#dc2626',
                            700: '#b91c1c',
                            800: '#991b1b',
                            900: '#7f1d1d',
                        }
                    }
                }
            }
        }
    </script>
    <link rel="stylesheet" href="style.css">
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="components/navbar.js"></script>
    <script src="components/sidebar.js"></script>
    <script src="components/project-card.js"></script>
    <script src="components/task-item.js"></script>
</head>
<body class="bg-gray-50 min-h-screen">
    <custom-navbar></custom-navbar>
    
    <div class="flex">
        <custom-sidebar active-page="dashboard"></custom-sidebar>
        
        <main class="flex-1 p-6 md:p-8 ml-0 md:ml-64 mt-16">
            <!-- Dashboard Header -->
            <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8">
                <div>
                    <h1 class="text-3xl font-bold text-gray-900">Welcome back, Alex! 👋</h1>
                    <p class="text-gray-600 mt-2">Manage your projects and tasks efficiently</p>
                </div>
                <button class="mt-4 md:mt-0 bg-primary-600 hover:bg-primary-700 text-white px-6 py-3 rounded-lg flex items-center gap-2 transition-colors duration-200 shadow-sm">
                    <i data-feather="plus"></i>
                    Create New Project
                </button>
            </div>

            <!-- Stats Overview -->
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
                <div class="bg-white rounded-xl p-6 shadow-sm border border-gray-100">
                    <div class="flex items-center justify-between">
                        <div>
                            <p class="text-gray-500 text-sm">Active Projects</p>
                            <h3 class="text-2xl font-bold text-gray-900 mt-2">12</h3>
                        </div>
                        <div class="bg-primary-50 p-3 rounded-full">
                            <i data-feather="folder" class="text-primary-600 w-6 h-6"></i>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-sm border border-gray-100">
                    <div class="flex items-center justify-between">
                        <div>
                            <p class="text-gray-500 text-sm">Tasks Due</p>
                            <h3 class="text-2xl font-bold text-gray-900 mt-2">8</h3>
                        </div>
                        <div class="bg-blue-50 p-3 rounded-full">
                            <i data-feather="calendar" class="text-blue-600 w-6 h-6"></i>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-sm border border-gray-100">
                    <div class="flex items-center justify-between">
                        <div>
                            <p class="text-gray-500 text-sm">Completed</p>
                            <h3 class="text-2xl font-bold text-gray-900 mt-2">47</h3>
                        </div>
                        <div class="bg-green-50 p-3 rounded-full">
                            <i data-feather="check-circle" class="text-green-600 w-6 h-6"></i>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-sm border border-gray-100">
                    <div class="flex items-center justify-between">
                        <div>
                            <p class="text-gray-500 text-sm">Team Members</p>
                            <h3 class="text-2xl font-bold text-gray-900 mt-2">6</h3>
                        </div>
                        <div class="bg-purple-50 p-3 rounded-full">
                            <i data-feather="users" class="text-purple-600 w-6 h-6"></i>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Recent Projects -->
            <div class="mb-8">
                <div class="flex justify-between items-center mb-6">
                    <h2 class="text-xl font-semibold text-gray-900">Recent Projects</h2>
                    <a href="projects.html" class="text-primary-600 hover:text-primary-700 font-medium flex items-center gap-1">
                        View all
                        <i data-feather="chevron-right" class="w-4 h-4"></i>
                    </a>
                </div>
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                    <custom-project-card 
                        title="Website Redesign"
                        progress="75"
                        due-date="2024-01-15"
                        members="4"
                        tasks="12"
                        color="primary">
                    </custom-project-card>
                    
                    <custom-project-card 
                        title="Mobile App Launch"
                        progress="30"
                        due-date="2024-02-20"
                        members="6"
                        tasks="24"
                        color="blue">
                    </custom-project-card>
                    
                    <custom-project-card 
                        title="Q4 Marketing Campaign"
                        progress="90"
                        due-date="2024-01-10"
                        members="3"
                        tasks="8"
                        color="green">
                    </custom-project-card>
                </div>
            </div>

            <!-- Upcoming Tasks -->
            <div class="bg-white rounded-xl shadow-sm border border-gray-100 p-6">
                <div class="flex justify-between items-center mb-6">
                    <h2 class="text-xl font-semibold text-gray-900">Upcoming Tasks</h2>
                    <a href="tasks.html" class="text-primary-600 hover:text-primary-700 font-medium flex items-center gap-1">
                        View all tasks
                        <i data-feather="chevron-right" class="w-4 h-4"></i>
                    </a>
                </div>
                <div class="space-y-4">
                    <custom-task-item
                        title="Review homepage mockups"
                        project="Website Redesign"
                        due-date="2024-01-08"
                        priority="high"
                        assignee="alex"
                        completed="false">
                    </custom-task-item>
                    
                    <custom-task-item
                        title="Prepare launch presentation"
                        project="Mobile App Launch"
                        due-date="2024-01-09"
                        priority="medium"
                        assignee="sarah"
                        completed="false">
                    </custom-task-item>
                    
                    <custom-task-item
                        title="Finalize budget report"
                        project="Q4 Marketing Campaign"
                        due-date="2024-01-07"
                        priority="low"
                        assignee="mike"
                        completed="false">
                    </custom-task-item>
                </div>
            </div>
        </main>
    </div>

    <script src="script.js"></script>
    <script>
        feather.replace();
    </script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>