File size: 17,166 Bytes
4b80903
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Projects | DevHive ๐Ÿ</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        body {
            font-family: 'Poppins', sans-serif;
        }
        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
    </style>
</head>
<body class="bg-gray-50">
    <nav class="bg-white shadow-lg">
        <div class="max-w-6xl mx-auto px-4">
            <div class="flex justify-between items-center py-4">
                <div class="flex items-center space-x-4">
                    <i data-feather="code" class="text-primary h-8 w-8"></i>
                    <span class="font-semibold text-gray-900 text-xl">DevHive ๐Ÿ</span>
                </div>
                <div class="hidden md:flex items-center space-x-8">
                    <a href="index.html" class="text-gray-900 hover:text-primary transition">Home</a>
                    <a href="projects.html" class="text-primary font-medium">Projects</a>
                    <a href="#" class="text-gray-900 hover:text-primary transition">Members</a>
                    <a href="#" class="text-gray-900 hover:text-primary transition">Chat</a>
                </div>
                <div class="md:hidden">
                    <button class="outline-none">
                        <i data-feather="menu" class="h-6 w-6"></i>
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <main class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
        <div class="flex justify-between items-center mb-8">
            <h1 class="text-3xl font-bold text-gray-900">Community Projects</h1>
            <button class="bg-primary hover:bg-primary-dark text-white font-medium py-2 px-4 rounded-lg transition flex items-center">
                <i data-feather="plus" class="mr-2 h-4 w-4"></i> Add Project
            </button>
        </div>

        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
            <!-- Project Card 1 -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
                <img src="http://static.photos/technology/640x360/1" alt="Project Screenshot" class="w-full h-48 object-cover">
                <div class="p-6">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="text-xl font-bold text-gray-900">E-Commerce Platform</h3>
                        <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">
                            Web
                        </span>
                    </div>
                    <p class="text-gray-600 mb-4">A full-stack e-commerce solution with React and Node.js</p>
                    <div class="flex items-center text-sm text-gray-500 mb-4">
                        <img src="http://static.photos/people/200x200/1" alt="User" class="w-6 h-6 rounded-full mr-2">
                        <span>Alex Johnson</span>
                    </div>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="eye" class="mr-1 h-4 w-4"></i> 142
                            </span>
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="message-square" class="mr-1 h-4 w-4"></i> 23
                            </span>
                        </div>
                        <a href="#" class="text-primary hover:text-primary-dark font-medium flex items-center">
                            View <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                        </a>
                    </div>
                </div>
            </div>

            <!-- Project Card 2 -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
                <img src="http://static.photos/technology/640x360/2" alt="Project Screenshot" class="w-full h-48 object-cover">
                <div class="p-6">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="text-xl font-bold text-gray-900">Fitness Tracker App</h3>
                        <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
                            Mobile
                        </span>
                    </div>
                    <p class="text-gray-600 mb-4">iOS/Android app for tracking workouts and nutrition</p>
                    <div class="flex items-center text-sm text-gray-500 mb-4">
                        <img src="http://static.photos/people/200x200/2" alt="User" class="w-6 h-6 rounded-full mr-2">
                        <span>Sarah Williams</span>
                    </div>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="eye" class="mr-1 h-4 w-4"></i> 89
                            </span>
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="message-square" class="mr-1 h-4 w-4"></i> 15
                            </span>
                        </div>
                        <a href="#" class="text-primary hover:text-primary-dark font-medium flex items-center">
                            View <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                        </a>
                    </div>
                </div>
            </div>

            <!-- Project Card 3 -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
                <img src="http://static.photos/technology/640x360/3" alt="Project Screenshot" class="w-full h-48 object-cover">
                <div class="p-6">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="text-xl font-bold text-gray-900">Space Adventure Game</h3>
                        <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-purple-100 text-purple-800">
                            Game
                        </span>
                    </div>
                    <p class="text-gray-600 mb-4">2D platformer game built with Unity</p>
                    <div class="flex items-center text-sm text-gray-500 mb-4">
                        <img src="http://static.photos/people/200x200/3" alt="User" class="w-6 h-6 rounded-full mr-2">
                        <span>Michael Chen</span>
                    </div>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="eye" class="mr-1 h-4 w-4"></i> 210
                            </span>
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="message-square" class="mr-1 h-4 w-4"></i> 42
                            </span>
                        </div>
                        <a href="#" class="text-primary hover:text-primary-dark font-medium flex items-center">
                            View <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                        </a>
                    </div>
                </div>
            </div>

            <!-- Project Card 4 -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
                <img src="http://static.photos/technology/640x360/4" alt="Project Screenshot" class="w-full h-48 object-cover">
                <div class="p-6">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="text-xl font-bold text-gray-900">Recipe Finder</h3>
                        <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">
                            Web
                        </span>
                    </div>
                    <p class="text-gray-600 mb-4">Search recipes by ingredients you have at home</p>
                    <div class="flex items-center text-sm text-gray-500 mb-4">
                        <img src="http://static.photos/people/200x200/4" alt="User" class="w-6 h-6 rounded-full mr-2">
                        <span>Jamie Patel</span>
                    </div>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="eye" class="mr-1 h-4 w-4"></i> 76
                            </span>
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="message-square" class="mr-1 h-4 w-4"></i> 12
                            </span>
                        </div>
                        <a href="#" class="text-primary hover:text-primary-dark font-medium flex items-center">
                            View <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                        </a>
                    </div>
                </div>
            </div>

            <!-- Project Card 5 -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
                <img src="http://static.photos/technology/640x360/5" alt="Project Screenshot" class="w-full h-48 object-cover">
                <div class="p-6">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="text-xl font-bold text-gray-900">Weather Dashboard</h3>
                        <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
                            Mobile
                        </span>
                    </div>
                    <p class="text-gray-600 mb-4">Real-time weather forecasts with beautiful visualizations</p>
                    <div class="flex items-center text-sm text-gray-500 mb-4">
                        <img src="http://static.photos/people/200x200/5" alt="User" class="w-6 h-6 rounded-full mr-2">
                        <span>Taylor Smith</span>
                    </div>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="eye" class="mr-1 h-4 w-4"></i> 134
                            </span>
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="message-square" class="mr-1 h-4 w-4"></i> 18
                            </span>
                        </div>
                        <a href="#" class="text-primary hover:text-primary-dark font-medium flex items-center">
                            View <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                        </a>
                    </div>
                </div>
            </div>

            <!-- Project Card 6 -->
            <div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
                <img src="http://static.photos/technology/640x360/6" alt="Project Screenshot" class="w-full h-48 object-cover">
                <div class="p-6">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="text-xl font-bold text-gray-900">Puzzle Game</h3>
                        <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-purple-100 text-purple-800">
                            Game
                        </span>
                    </div>
                    <p class="text-gray-600 mb-4">Addictive puzzle game with multiple levels</p>
                    <div class="flex items-center text-sm text-gray-500 mb-4">
                        <img src="http://static.photos/people/200x200/6" alt="User" class="w-6 h-6 rounded-full mr-2">
                        <span>Chris Wilson</span>
                    </div>
                    <div class="flex justify-between items-center">
                        <div class="flex space-x-2">
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="eye" class="mr-1 h-4 w-4"></i> 187
                            </span>
                            <span class="inline-flex items-center text-sm">
                                <i data-feather="message-square" class="mr-1 h-4 w-4"></i> 31
                            </span>
                        </div>
                        <a href="#" class="text-primary hover:text-primary-dark font-medium flex items-center">
                            View <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <footer class="bg-gray-900 text-white py-12">
        <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div>
                    <div class="flex items-center space-x-2 mb-4">
                        <i data-feather="code" class="text-primary h-8 w-8"></i>
                        <span class="font-semibold text-xl">DevHive ๐Ÿ</span>
                    </div>
                    <p class="text-gray-400">A buzzing community where developers share projects and grow together.</p>
                </div>
                <div>
                    <h4 class="text-lg font-semibold mb-4">Quick Links</h4>
                    <ul class="space-y-2">
                        <li><a href="index.html" class="text-gray-400 hover:text-white transition">Home</a></li>
                        <li><a href="projects.html" class="text-gray-400 hover:text-white transition">Projects</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Members</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-lg font-semibold mb-4">Connect</h4>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition">
                            <i data-feather="twitter" class="h-6 w-6"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition">
                            <i data-feather="github" class="h-6 w-6"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition">
                            <i data-feather="discord" class="h-6 w-6"></i>
                        </a>
                    </div>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-400">
                <p>&copy; 2023 DevHive Community. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        feather.replace();
        
        // Animation for project cards on scroll
        document.addEventListener('DOMContentLoaded', function() {
            const projectCards = document.querySelectorAll('.project-card');
            
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.style.opacity = '1';
                        entry.target.style.transform = 'translateY(0)';
                    }
                });
            }, { threshold: 0.1 });
            
            projectCards.forEach((card, index) => {
                card.style.opacity = '0';
                card.style.transform = 'translateY(20px)';
                card.style.transition = `opacity 0.5s ease ${index * 0.1}s, transform 0.5s ease ${index * 0.1}s`;
                observer.observe(card);
            });
        });
    </script>
</body>
</html>