File size: 11,299 Bytes
602fea8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dashboard - Kode1</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <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>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        body {
            font-family: 'Inter', sans-serif;
            background-color: #0f172a;
        }
    </style>
</head>
<body class="bg-slate-900 text-slate-100">
    <!-- Navigation -->
    <nav class="bg-slate-800 border-b border-slate-700 px-6 py-3 flex items-center justify-between">
        <div class="flex items-center space-x-2">
            <div class="w-8 h-8 rounded-lg bg-indigo-600 flex items-center justify-center">
                <i data-feather="code" class="text-white"></i>
            </div>
            <span class="text-xl font-bold">Kode1</span>
        </div>
        
        <div class="flex items-center space-x-4">
            <button class="flex items-center space-x-1 bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-lg transition">
                <i data-feather="plus"></i>
                <span>New Project</span>
            </button>
            <button class="flex items-center space-x-1 bg-slate-700 hover:bg-slate-600 px-4 py-2 rounded-lg transition">
                <i data-feather="share-2"></i>
                <span>Share</span>
            </button>
            <div class="w-8 h-8 rounded-full bg-slate-600 flex items-center justify-center">
                <i data-feather="user"></i>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <div class="container mx-auto px-6 py-8">
        <div class="flex justify-between items-center mb-8">
            <h1 class="text-3xl font-bold">Dashboard</h1>
            <button class="flex items-center space-x-1 bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-lg transition">
                <i data-feather="plus"></i>
                <span>Create Project</span>
            </button>
        </div>

        <!-- Stats Cards -->
        <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
            <div class="bg-slate-800 rounded-xl p-6 border border-slate-700">
                <div class="flex items-center">
                    <div class="p-3 rounded-lg bg-indigo-500/10 mr-4">
                        <i data-feather="folder" class="text-indigo-400"></i>
                    </div>
                    <div>
                        <p class="text-slate-400">Projects</p>
                        <p class="text-2xl font-bold">12</p>
                    </div>
                </div>
            </div>
            
            <div class="bg-slate-800 rounded-xl p-6 border border-slate-700">
                <div class="flex items-center">
                    <div class="p-3 rounded-lg bg-green-500/10 mr-4">
                        <i data-feather="users" class="text-green-400"></i>
                    </div>
                    <div>
                        <p class="text-slate-400">Collaborators</p>
                        <p class="text-2xl font-bold">24</p>
                    </div>
                </div>
            </div>
            
            <div class="bg-slate-800 rounded-xl p-6 border border-slate-700">
                <div class="flex items-center">
                    <div class="p-3 rounded-lg bg-amber-500/10 mr-4">
                        <i data-feather="clock" class="text-amber-400"></i>
                    </div>
                    <div>
                        <p class="text-slate-400">Hours Coded</p>
                        <p class="text-2xl font-bold">142</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- Recent Projects -->
        <div class="mb-8">
            <div class="flex justify-between items-center mb-4">
                <h2 class="text-xl font-bold">Recent Projects</h2>
                <a href="#" class="text-indigo-400 hover:text-indigo-300">View All</a>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                <!-- Project Card 1 -->
                <div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden hover:border-indigo-500 transition">
                    <div class="h-32 bg-gradient-to-r from-indigo-500 to-purple-600"></div>
                    <div class="p-5">
                        <div class="flex justify-between items-start">
                            <h3 class="font-bold text-lg">E-commerce Dashboard</h3>
                            <span class="text-xs bg-slate-700 px-2 py-1 rounded">React</span>
                        </div>
                        <p class="text-slate-400 text-sm mt-2">Full-featured dashboard with analytics and reporting</p>
                        <div class="flex items-center mt-4">
                            <div class="flex -space-x-2">
                                <img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/1" alt="Collaborator">
                                <img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/2" alt="Collaborator">
                                <img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/3" alt="Collaborator">
                            </div>
                            <span class="text-xs text-slate-400 ml-2">3 collaborators</span>
                        </div>
                    </div>
                </div>
                
                <!-- Project Card 2 -->
                <div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden hover:border-indigo-500 transition">
                    <div class="h-32 bg-gradient-to-r from-amber-500 to-orange-600"></div>
                    <div class="p-5">
                        <div class="flex justify-between items-start">
                            <h3 class="font-bold text-lg">API Gateway</h3>
                            <span class="text-xs bg-slate-700 px-2 py-1 rounded">Node.js</span>
                        </div>
                        <p class="text-slate-400 text-sm mt-2">Secure API gateway with rate limiting and auth</p>
                        <div class="flex items-center mt-4">
                            <div class="flex -space-x-2">
                                <img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/4" alt="Collaborator">
                                <img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/5" alt="Collaborator">
                            </div>
                            <span class="text-xs text-slate-400 ml-2">2 collaborators</span>
                        </div>
                    </div>
                </div>
                
                <!-- Project Card 3 -->
                <div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden hover:border-indigo-500 transition">
                    <div class="h-32 bg-gradient-to-r from-emerald-500 to-teal-600"></div>
                    <div class="p-5">
                        <div class="flex justify-between items-start">
                            <h3 class="font-bold text-lg">Mobile App</h3>
                            <span class="text-xs bg-slate-700 px-2 py-1 rounded">React Native</span>
                        </div>
                        <p class="text-slate-400 text-sm mt-2">Cross-platform mobile application</p>
                        <div class="flex items-center mt-4">
                            <div class="flex -space-x-2">
                                <img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/6" alt="Collaborator">
                                <img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/7" alt="Collaborator">
                                <img class="w-6 h-6 rounded-full border-2 border-slate-800" src="http://static.photos/people/200x200/8" alt="Collaborator">
                            </div>
                            <span class="text-xs text-slate-400 ml-2">4 collaborators</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Activity Feed -->
        <div>
            <h2 class="text-xl font-bold mb-4">Recent Activity</h2>
            <div class="bg-slate-800 rounded-xl border border-slate-700 overflow-hidden">
                <div class="divide-y divide-slate-700">
                    <div class="p-4 flex items-start">
                        <div class="w-8 h-8 rounded-full bg-indigo-500 flex items-center justify-center mr-3 flex-shrink-0">
                            <i data-feather="git-commit" class="text-white text-sm"></i>
                        </div>
                        <div>
                            <p class="font-medium">Alex Morgan pushed to <span class="text-indigo-400">main</span></p>
                            <p class="text-slate-400 text-sm">Added new authentication flow</p>
                            <p class="text-slate-500 text-xs mt-1">2 hours ago</p>
                        </div>
                    </div>
                    
                    <div class="p-4 flex items-start">
                        <div class="w-8 h-8 rounded-full bg-green-500 flex items-center justify-center mr-3 flex-shrink-0">
                            <i data-feather="user-plus" class="text-white text-sm"></i>
                        </div>
                        <div>
                            <p class="font-medium">Taylor Kim joined project <span class="text-indigo-400">E-commerce Dashboard</span></p>
                            <p class="text-slate-400 text-sm">Added as frontend developer</p>
                            <p class="text-slate-500 text-xs mt-1">5 hours ago</p>
                        </div>
                    </div>
                    
                    <div class="p-4 flex items-start">
                        <div class="w-8 h-8 rounded-full bg-amber-500 flex items-center justify-center mr-3 flex-shrink-0">
                            <i data-feather="message-square" class="text-white text-sm"></i>
                        </div>
                        <div>
                            <p class="font-medium">Jordan Smith commented on <span class="text-indigo-400">API Gateway</span></p>
                            <p class="text-slate-400 text-sm">"We should consider adding rate limiting"</p>
                            <p class="text-slate-500 text-xs mt-1">Yesterday</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        feather.replace();
    </script>
</body>
</html>