File size: 16,371 Bytes
06469d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dashboard - CodeCollab Pro</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-50">
    <custom-navbar></custom-navbar>
    
    <main class="pt-20 min-h-screen">
        <!-- Dashboard Header -->
        <section class="bg-gradient-to-r from-indigo-600 to-purple-600 text-white py-8">
            <div class="container mx-auto px-6">
                <div class="flex justify-between items-center">
                    <div>
                        <h1 class="text-3xl font-bold mb-2">Welcome back, Developer!</h1>
                        <p class="text-indigo-100">Here's what's happening with your projects today.</p>
                    </div>
                    <button class="bg-white text-indigo-600 px-6 py-2 rounded-lg font-semibold hover:bg-gray-100 transition flex items-center">
                        <i data-feather="plus" class="mr-2 w-5 h-5"></i>
                        New Project
                    </button>
                </div>
            </div>
        </section>

        <!-- Stats Cards -->
        <section class="container mx-auto px-6 -mt-6">
            <div class="grid md:grid-cols-4 gap-6">
                <div class="bg-white rounded-xl shadow-lg p-6">
                    <div class="flex items-center justify-between mb-4">
                        <div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center">
                            <i data-feather="folder" class="text-blue-600"></i>
                        </div>
                        <span class="text-green-500 text-sm font-semibold">+12%</span>
                    </div>
                    <h3 class="text-2xl font-bold text-gray-800">24</h3>
                    <p class="text-gray-600">Total Projects</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-lg p-6">
                    <div class="flex items-center justify-between mb-4">
                        <div class="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center">
                            <i data-feather="code" class="text-green-600"></i>
                        </div>
                        <span class="text-green-500 text-sm font-semibold">+28%</span>
                    </div>
                    <h3 class="text-2xl font-bold text-gray-800">1,247</h3>
                    <p class="text-gray-600">Code Commits</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-lg p-6">
                    <div class="flex items-center justify-between mb-4">
                        <div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center">
                            <i data-feather="users" class="text-purple-600"></i>
                        </div>
                        <span class="text-green-500 text-sm font-semibold">+5</span>
                    </div>
                    <h3 class="text-2xl font-bold text-gray-800">18</h3>
                    <p class="text-gray-600">Collaborators</p>
                </div>
                
                <div class="bg-white rounded-xl shadow-lg p-6">
                    <div class="flex items-center justify-between mb-4">
                        <div class="w-12 h-12 bg-yellow-100 rounded-lg flex items-center justify-center">
                            <i data-feather="clock" class="text-yellow-600"></i>
                        </div>
                        <span class="text-red-500 text-sm font-semibold">-3%</span>
                    </div>
                    <h3 class="text-2xl font-bold text-gray-800">142h</h3>
                    <p class="text-gray-600">Coding Time</p>
                </div>
            </div>
        </section>

        <!-- Recent Projects -->
        <section class="container mx-auto px-6 py-8">
            <div class="bg-white rounded-xl shadow-lg p-6">
                <div class="flex justify-between items-center mb-6">
                    <h2 class="text-xl font-bold text-gray-800">Recent Projects</h2>
                    <a href="#" class="text-indigo-600 hover:text-indigo-700 font-semibold">View All</a>
                </div>
                
                <div class="overflow-x-auto">
                    <table class="w-full">
                        <thead>
                            <tr class="border-b border-gray-200">
                                <th class="text-left py-3 px-4 font-semibold text-gray-700">Project Name</th>
                                <th class="text-left py-3 px-4 font-semibold text-gray-700">Language</th>
                                <th class="text-left py-3 px-4 font-semibold text-gray-700">Last Updated</th>
                                <th class="text-left py-3 px-4 font-semibold text-gray-700">Collaborators</th>
                                <th class="text-left py-3 px-4 font-semibold text-gray-700">Actions</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="border-b border-gray-100 hover:bg-gray-50">
                                <td class="py-3 px-4">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 bg-indigo-100 rounded-lg flex items-center justify-center mr-3">
                                            <i data-feather="globe" class="text-indigo-600 w-5 h-5"></i>
                                        </div>
                                        <div>
                                            <div class="font-semibold text-gray-800">E-Commerce Platform</div>
                                            <div class="text-sm text-gray-500">React Node.js Full Stack</div>
                                        </div>
                                    </div>
                                </td>
                                <td class="py-3 px-4">
                                    <span class="bg-blue-100 text-blue-700 px-2 py-1 rounded-full text-sm">JavaScript</span>
                                </td>
                                <td class="py-3 px-4 text-gray-600">2 hours ago</td>
                                <td class="py-3 px-4">
                                    <div class="flex -space-x-2">
                                        <div class="w-8 h-8 bg-indigo-500 rounded-full flex items-center justify-center text-xs font-bold text-white border-2 border-white">A</div>
                                        <div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center text-xs font-bold text-white border-2 border-white">B</div>
                                        <div class="w-8 h-8 bg-purple-500 rounded-full flex items-center justify-center text-xs font-bold text-white border-2 border-white">+2</div>
                                    </div>
                                </td>
                                <td class="py-3 px-4">
                                    <button class="text-indigo-600 hover:text-indigo-700 font-semibold">Open β†’</button>
                                </td>
                            </tr>
                            
                            <tr class="border-b border-gray-100 hover:bg-gray-50">
                                <td class="py-3 px-4">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 bg-green-100 rounded-lg flex items-center justify-center mr-3">
                                            <i data-feather="database" class="text-green-600 w-5 h-5"></i>
                                        </div>
                                        <div>
                                            <div class="font-semibold text-gray-800">Data Analytics Dashboard</div>
                                            <div class="text-sm text-gray-500">Python Data Visualization</div>
                                        </div>
                                    </div>
                                </td>
                                <td class="py-3 px-4">
                                    <span class="bg-green-100 text-green-700 px-2 py-1 rounded-full text-sm">Python</span>
                                </td>
                                <td class="py-3 px-4 text-gray-600">5 hours ago</td>
                                <td class="py-3 px-4">
                                    <div class="flex -space-x-2">
                                        <div class="w-8 h-8 bg-indigo-500 rounded-full flex items-center justify-center text-xs font-bold text-white border-2 border-white">A</div>
                                    </div>
                                </td>
                                <td class="py-3 px-4">
                                    <button class="text-indigo-600 hover:text-indigo-700 font-semibold">Open β†’</button>
                                </td>
                            </tr>
                            
                            <tr class="border-b border-gray-100 hover:bg-gray-50">
                                <td class="py-3 px-4">
                                    <div class="flex items-center">
                                        <div class="w-10 h-10 bg-yellow-100 rounded-lg flex items-center justify-center mr-3">
                                            <i data-feather="smartphone" class="text-yellow-600 w-5 h-5"></i>
                                        </div>
                                        <div>
                                            <div class="font-semibold text-gray-800">Mobile App UI</div>
                                            <div class="text-sm text-gray-500">React Native Design System</div>
                                        </div>
                                    </div>
                                </td>
                                <td class="py-3 px-4">
                                    <span class="bg-yellow-100 text-yellow-700 px-2 py-1 rounded-full text-sm">TypeScript</span>
                                </td>
                                <td class="py-3 px-4 text-gray-600">1 day ago</td>
                                <td class="py-3 px-4">
                                    <div class="flex -space-x-2">
                                        <div class="w-8 h-8 bg-indigo-500 rounded-full flex items-center justify-center text-xs font-bold text-white border-2 border-white">A</div>
                                        <div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center text-xs font-bold text-white border-2 border-white">B</div>
                                    </div>
                                </td>
                                <td class="py-3 px-4">
                                    <button class="text-indigo-600 hover:text-indigo-700 font-semibold">Open β†’</button>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </section>

        <!-- Activity Feed -->
        <section class="container mx-auto px-6 py-8">
            <div class="grid md:grid-cols-2 gap-8">
                <div class="bg-white rounded-xl shadow-lg p-6">
                    <h2 class="text-xl font-bold text-gray-800 mb-4">Recent Activity</h2>
                    <div class="space-y-4">
                        <div class="flex items-start space-x-3">
                            <div class="w-10 h-10 bg-indigo-100 rounded-full flex items-center justify-center flex-shrink-0">
                                <i data-feather="git-commit" class="text-indigo-600 w-5 h-5"></i>
                            </div>
                            <div class="flex-1">
                                <p class="text-gray-800"><span class="font-semibold">Alice</span> committed changes to <span class="font-semibold">E-Commerce Platform</span></p>
                                <p class="text-sm text-gray-500">15 minutes ago</p>
                            </div>
                        </div>
                        
                        <div class="flex items-start space-x-3">
                            <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center flex-shrink-0">
                                <i data-feather="message-circle" class="text-green-600 w-5 h-5"></i>
                            </div>
                            <div class="flex-1">
                                <p class="text-gray-800"><span class="font-semibold">Bob</span> commented on your code</p>
                                <p class="text-sm text-gray-500">1 hour ago</p>
                            </div>
                        </div>
                        
                        <div class="flex items-start space-x-3">
                            <div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center flex-shrink-0">
                                <i data-feather="user-plus" class="text-purple-600 w-5 h-5"></i>
                            </div>
                            <div class="flex-1">
                                <p class="text-gray-800"><span class="font-semibold">Charlie</span> joined <span class="font-semibold">Mobile App UI</span> project</p>
                                <p class="text-sm text-gray-500">3 hours ago</p>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl shadow-lg p-6">
                    <h2 class="text-xl font-bold text-gray-800 mb-4">Quick Actions</h2>
                    <div class="grid grid-cols-2 gap-4">
                        <button class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition text-left">
                            <i data-feather="file-plus" class="text-indigo-600 mb-2"></i>
                            <div class="font-semibold text-gray-800">New File</div>
                            <div class="text-sm text-gray-500">Create a new file</div>
                        </button>
                        
                        <button class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition text-left">
                            <i data-feather="folder-plus" class="text-indigo-600 mb-2"></i>
                            <div class="font-semibold text-gray-800">New Project</div>
                            <div class="text-sm text-gray-500">Start a new project</div>
                        </button>
                        
                        <button class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition text-left">
                            <i data-feather="upload" class="text-indigo-600 mb-2"></i>
                            <div class="font-semibold text-gray-800">Import</div>
                            <div class="text-sm text-gray-500">Import from GitHub</div>
                        </button>
                        
                        <button class="p-4 border border-gray-200 rounded-lg hover:bg-gray-50 transition text-left">
                            <i data-feather="share-2" class="text-indigo-600 mb-2"></i>
                            <div class="font-semibold text-gray-800">Share</div>
                            <div class="text-sm text-gray-500">Share workspace</div>
                        </button>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <custom-footer></custom-footer>
    
    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script>feather.replace();</script>
</body>
</html>