AFKKK3 commited on
Commit
3f83b3e
·
verified ·
1 Parent(s): 976a09f

i want it like a app and make it not an academy website, no i want it like student community to share there projects and etc

Browse files
Files changed (2) hide show
  1. README.md +9 -5
  2. index.html +320 -18
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Codehive Connect
3
- emoji: 📊
4
- colorFrom: purple
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
  ---
2
+ title: CodeHive Connect 🚀
3
+ colorFrom: red
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
index.html CHANGED
@@ -1,19 +1,321 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>CodeHive Connect | Student Projects Community</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ primary: '#3B82F6',
17
+ secondary: '#10B981',
18
+ }
19
+ }
20
+ }
21
+ }
22
+ </script>
23
+ <style>
24
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
25
+ body {
26
+ font-family: 'Poppins', sans-serif;
27
+ }
28
+ .class-card:hover {
29
+ transform: translateY(-5px);
30
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
31
+ }
32
+ .floating-btn {
33
+ animation: float 3s ease-in-out infinite;
34
+ }
35
+ @keyframes float {
36
+ 0%, 100% { transform: translateY(0); }
37
+ 50% { transform: translateY(-10px); }
38
+ }
39
+ </style>
40
+ </head>
41
+ <body class="bg-gray-50">
42
+ <!-- Navigation -->
43
+ <nav class="bg-white shadow-lg">
44
+ <div class="max-w-6xl mx-auto px-4">
45
+ <div class="flex justify-between items-center py-4">
46
+ <div class="flex items-center space-x-4">
47
+ <i data-feather="share-2" class="text-primary h-8 w-8"></i>
48
+ <span class="font-semibold text-gray-900 text-xl">CodeHive Connect</span>
49
+ </div>
50
+ <div class="hidden md:flex items-center space-x-8">
51
+ <a href="#" class="text-gray-900 hover:text-primary transition">Home</a>
52
+ <a href="#" class="text-gray-900 hover:text-primary transition">Projects</a>
53
+ <a href="#" class="text-gray-900 hover:text-primary transition">Explore</a>
54
+ <a href="#" class="text-gray-900 hover:text-primary transition">Profile</a>
55
+ <a href="#" class="bg-primary text-white px-4 py-2 rounded-full hover:bg-primary-dark transition">Upload Project</a>
56
+ </div>
57
+ <div class="md:hidden">
58
+ <button class="outline-none">
59
+ <i data-feather="menu" class="h-6 w-6"></i>
60
+ </button>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </nav>
65
+
66
+ <!-- Hero Section -->
67
+ <div class="relative bg-gradient-to-r from-primary to-secondary py-20">
68
+ <div class="absolute inset-0 opacity-20"></div>
69
+ <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 relative">
70
+ <div class="text-center">
71
+ <h1 class="text-4xl md:text-5xl font-bold text-white mb-4">Share & Discover Student Projects</h1>
72
+ <p class="text-xl text-white opacity-90 max-w-2xl mx-auto">A vibrant community where students showcase their work and get inspired!</p>
73
+ <div class="mt-8">
74
+ <button class="bg-white text-primary hover:bg-gray-100 font-semibold py-3 px-6 rounded-full shadow-lg transition duration-300 transform hover:scale-105 mr-4">
75
+ Browse Projects
76
+ </button>
77
+ <button class="bg-transparent border-2 border-white text-white hover:bg-white hover:text-primary font-semibold py-3 px-6 rounded-full shadow-lg transition duration-300 transform hover:scale-105">
78
+ Share Yours
79
+ </button>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ <!-- Featured Projects Section -->
85
+ <section class="py-16 bg-gray-50">
86
+ <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
87
+ <h2 class="text-3xl font-bold text-center text-gray-900 mb-12">Featured Student Projects</h2>
88
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
89
+ <!-- Project 1 -->
90
+ <div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
91
+ <img src="http://static.photos/technology/640x360/1" alt="Project screenshot" class="w-full h-48 object-cover">
92
+ <div class="p-6">
93
+ <div class="flex items-center mb-4">
94
+ <img src="http://static.photos/people/200x200/1" alt="Student" class="h-10 w-10 rounded-full mr-3">
95
+ <div>
96
+ <h4 class="font-semibold">Alex Johnson</h4>
97
+ <p class="text-sm text-gray-500">Computer Science</p>
98
+ </div>
99
+ </div>
100
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Interactive Weather App</h3>
101
+ <p class="text-gray-600 mb-4">A real-time weather application using React and OpenWeather API.</p>
102
+ <div class="flex flex-wrap gap-2 mb-4">
103
+ <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-primary bg-opacity-10 text-primary">
104
+ React
105
+ </span>
106
+ <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-secondary bg-opacity-10 text-secondary">
107
+ API
108
+ </span>
109
+ </div>
110
+ <div class="flex items-center justify-between">
111
+ <div class="flex items-center text-gray-500">
112
+ <i data-feather="heart" class="h-4 w-4 mr-1"></i>
113
+ <span class="text-sm">142</span>
114
+ </div>
115
+ <button class="text-primary hover:text-primary-dark font-medium flex items-center">
116
+ View Details <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
117
+ </button>
118
+ </div>
119
+ </div>
120
+ </div>
121
+
122
+ <!-- Project 2 -->
123
+ <div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
124
+ <img src="http://static.photos/education/640x360/2" alt="Project screenshot" class="w-full h-48 object-cover">
125
+ <div class="p-6">
126
+ <div class="flex items-center mb-4">
127
+ <img src="http://static.photos/people/200x200/2" alt="Student" class="h-10 w-10 rounded-full mr-3">
128
+ <div>
129
+ <h4 class="font-semibold">Maria Garcia</h4>
130
+ <p class="text-sm text-gray-500">Design</p>
131
+ </div>
132
+ </div>
133
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Eco-Friendly UI Kit</h3>
134
+ <p class="text-gray-600 mb-4">Sustainable design system for eco-conscious brands.</p>
135
+ <div class="flex flex-wrap gap-2 mb-4">
136
+ <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-purple-500 bg-opacity-10 text-purple-500">
137
+ Figma
138
+ </span>
139
+ <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-green-500 bg-opacity-10 text-green-500">
140
+ Sustainability
141
+ </span>
142
+ </div>
143
+ <div class="flex items-center justify-between">
144
+ <div class="flex items-center text-gray-500">
145
+ <i data-feather="heart" class="h-4 w-4 mr-1"></i>
146
+ <span class="text-sm">89</span>
147
+ </div>
148
+ <button class="text-primary hover:text-primary-dark font-medium flex items-center">
149
+ View Details <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
150
+ </button>
151
+ </div>
152
+ </div>
153
+ </div>
154
+
155
+ <!-- Project 3 -->
156
+ <div class="bg-white rounded-xl shadow-md overflow-hidden project-card transition duration-300">
157
+ <img src="http://static.photos/science/640x360/3" alt="Project screenshot" class="w-full h-48 object-cover">
158
+ <div class="p-6">
159
+ <div class="flex items-center mb-4">
160
+ <img src="http://static.photos/people/200x200/3" alt="Student" class="h-10 w-10 rounded-full mr-3">
161
+ <div>
162
+ <h4 class="font-semibold">Sam Wilson</h4>
163
+ <p class="text-sm text-gray-500">Engineering</p>
164
+ </div>
165
+ </div>
166
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Smart Irrigation System</h3>
167
+ <p class="text-gray-600 mb-4">IoT-based solution for efficient water management in agriculture.</p>
168
+ <div class="flex flex-wrap gap-2 mb-4">
169
+ <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-blue-500 bg-opacity-10 text-blue-500">
170
+ IoT
171
+ </span>
172
+ <span class="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-orange-500 bg-opacity-10 text-orange-500">
173
+ Arduino
174
+ </span>
175
+ </div>
176
+ <div class="flex items-center justify-between">
177
+ <div class="flex items-center text-gray-500">
178
+ <i data-feather="heart" class="h-4 w-4 mr-1"></i>
179
+ <span class="text-sm">203</span>
180
+ </div>
181
+ <button class="text-primary hover:text-primary-dark font-medium flex items-center">
182
+ View Details <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
183
+ </button>
184
+ </div>
185
+ </div>
186
+ </div>
187
+ </div>
188
+ <div class="text-center mt-12">
189
+ <button class="bg-primary hover:bg-primary-dark text-white font-semibold py-3 px-6 rounded-full shadow-lg transition duration-300 transform hover:scale-105">
190
+ View All Projects
191
+ </button>
192
+ </div>
193
+ </div>
194
+ </section>
195
+ <!-- How It Works Section -->
196
+ <section class="py-16 bg-white">
197
+ <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
198
+ <h2 class="text-3xl font-bold text-center text-gray-900 mb-12">How CodeHive Works</h2>
199
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
200
+ <div class="text-center p-6 rounded-lg hover:bg-gray-50 transition">
201
+ <div class="flex items-center justify-center h-16 w-16 rounded-full bg-primary bg-opacity-10 text-primary mx-auto mb-4">
202
+ <i data-feather="upload" class="h-8 w-8"></i>
203
+ </div>
204
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Share Your Work</h3>
205
+ <p class="text-gray-600">Upload your projects with details about your process and technologies used.</p>
206
+ </div>
207
+ <div class="text-center p-6 rounded-lg hover:bg-gray-50 transition">
208
+ <div class="flex items-center justify-center h-16 w-16 rounded-full bg-secondary bg-opacity-10 text-secondary mx-auto mb-4">
209
+ <i data-feather="eye" class="h-8 w-8"></i>
210
+ </div>
211
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Get Discovered</h3>
212
+ <p class="text-gray-600">Showcase your skills to peers, educators, and potential employers.</p>
213
+ </div>
214
+ <div class="text-center p-6 rounded-lg hover:bg-gray-50 transition">
215
+ <div class="flex items-center justify-center h-16 w-16 rounded-full bg-purple-500 bg-opacity-10 text-purple-500 mx-auto mb-4">
216
+ <i data-feather="message-square" class="h-8 w-8"></i>
217
+ </div>
218
+ <h3 class="text-xl font-bold text-gray-900 mb-2">Receive Feedback</h3>
219
+ <p class="text-gray-600">Get constructive comments and collaborate with other students.</p>
220
+ </div>
221
+ </div>
222
+ </div>
223
+ </section>
224
+
225
+ <!-- CTA Section -->
226
+ <section class="py-16 bg-gradient-to-r from-primary to-secondary">
227
+ <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
228
+ <h2 class="text-3xl font-bold text-white mb-4">Ready to Start Coding?</h2>
229
+ <p class="text-xl text-white opacity-90 mb-8 max-w-2xl mx-auto">Join our community of young innovators and start your programming journey today.</p>
230
+ <div class="flex justify-center space-x-4">
231
+ <button class="bg-white text-primary hover:bg-gray-100 font-semibold py-3 px-6 rounded-full shadow-lg transition duration-300 transform hover:scale-105">
232
+ Join Now
233
+ </button>
234
+ <button class="bg-transparent border-2 border-white text-white hover:bg-white hover:text-primary font-semibold py-3 px-6 rounded-full shadow-lg transition duration-300 transform hover:scale-105">
235
+ Learn More
236
+ </button>
237
+ </div>
238
+ </div>
239
+ </section>
240
+
241
+ <!-- Footer -->
242
+ <footer class="bg-gray-900 text-white py-12">
243
+ <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
244
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
245
+ <div>
246
+ <div class="flex items-center space-x-2 mb-4">
247
+ <i data-feather="share-2" class="text-primary h-8 w-8"></i>
248
+ <span class="font-semibold text-xl">CodeHive Connect</span>
249
+ </div>
250
+ <p class="text-gray-400">A platform for students to showcase projects, share knowledge, and grow together.</p>
251
+ </div>
252
+ <div>
253
+ <h4 class="text-lg font-semibold mb-4">Categories</h4>
254
+ <ul class="space-y-2">
255
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Web Development</a></li>
256
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Design</a></li>
257
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Engineering</a></li>
258
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Science</a></li>
259
+ </ul>
260
+ </div>
261
+ <div>
262
+ <h4 class="text-lg font-semibold mb-4">Resources</h4>
263
+ <ul class="space-y-2">
264
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Popular Projects</a></li>
265
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Recent Uploads</a></li>
266
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Student Spotlights</a></li>
267
+ </ul>
268
+ </div>
269
+ <div>
270
+ <h4 class="text-lg font-semibold mb-4">Connect</h4>
271
+ <div class="flex space-x-4">
272
+ <a href="#" class="text-gray-400 hover:text-white transition">
273
+ <i data-feather="twitter" class="h-6 w-6"></i>
274
+ </a>
275
+ <a href="#" class="text-gray-400 hover:text-white transition">
276
+ <i data-feather="instagram" class="h-6 w-6"></i>
277
+ </a>
278
+ <a href="#" class="text-gray-400 hover:text-white transition">
279
+ <i data-feather="github" class="h-6 w-6"></i>
280
+ </a>
281
+ <a href="#" class="text-gray-400 hover:text-white transition">
282
+ <i data-feather="youtube" class="h-6 w-6"></i>
283
+ </a>
284
+ </div>
285
+ </div>
286
+ </div>
287
+ <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-400">
288
+ <p>&copy; 2023 CodeHive Connect. All rights reserved.</p>
289
+ </div>
290
+ </div>
291
+ </footer>
292
+
293
+ <script>
294
+ feather.replace();
295
+
296
+ // Animation for class cards on scroll
297
+ document.addEventListener('DOMContentLoaded', function() {
298
+ // Animation for project cards on scroll
299
+ const projectCards = document.querySelectorAll('.project-card');
300
+
301
+ const observer = new IntersectionObserver((entries) => {
302
+ entries.forEach(entry => {
303
+ if (entry.isIntersecting) {
304
+ entry.target.style.opacity = '1';
305
+ entry.target.style.transform = 'translateY(0)';
306
+ }
307
+ });
308
+ }, { threshold: 0.1 });
309
+
310
+ projectCards.forEach((card, index) => {
311
+ card.style.opacity = '0';
312
+ card.style.transform = 'translateY(20px)';
313
+ card.style.transition = `opacity 0.5s ease ${index * 0.1}s, transform 0.5s ease ${index * 0.1}s`;
314
+ observer.observe(card);
315
+ });
316
+
317
+ // Mobile menu toggle would go here
318
+ });
319
+ </script>
320
+ </body>
321
  </html>