aazzrrooddeell commited on
Commit
e80d949
·
verified ·
1 Parent(s): f35e1c6

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +250 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Api
3
- emoji: 🏃
4
- colorFrom: purple
5
- colorTo: gray
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: api
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - genesis
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,250 @@
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>IdeaSpark - Share Your Creative Ideas</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #6e8efb, #a777e3);
12
+ }
13
+ .idea-card {
14
+ transition: all 0.3s ease;
15
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
16
+ }
17
+ .idea-card:hover {
18
+ transform: translateY(-5px);
19
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
20
+ }
21
+ .tag {
22
+ transition: all 0.2s ease;
23
+ }
24
+ .tag:hover {
25
+ transform: scale(1.05);
26
+ }
27
+ .floating-btn {
28
+ animation: float 3s ease-in-out infinite;
29
+ }
30
+ @keyframes float {
31
+ 0% { transform: translateY(0px); }
32
+ 50% { transform: translateY(-10px); }
33
+ 100% { transform: translateY(0px); }
34
+ }
35
+ </style>
36
+ </head>
37
+ <body class="bg-gray-50 min-h-screen">
38
+ <!-- Navigation -->
39
+ <nav class="gradient-bg text-white shadow-lg">
40
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
41
+ <div class="flex items-center space-x-2">
42
+ <i class="fas fa-lightbulb text-2xl"></i>
43
+ <h1 class="text-2xl font-bold">IdeaSpark</h1>
44
+ </div>
45
+ <div class="hidden md:flex space-x-6">
46
+ <a href="#" class="hover:text-gray-200 font-medium">Explore</a>
47
+ <a href="#" class="hover:text-gray-200 font-medium">Categories</a>
48
+ <a href="#" class="hover:text-gray-200 font-medium">Top Ideas</a>
49
+ <a href="#" class="hover:text-gray-200 font-medium">About</a>
50
+ </div>
51
+ <div class="flex items-center space-x-4">
52
+ <button class="bg-white text-purple-600 px-4 py-2 rounded-full font-medium hover:bg-gray-100 transition">
53
+ Sign In
54
+ </button>
55
+ <button class="md:hidden text-white">
56
+ <i class="fas fa-bars text-xl"></i>
57
+ </button>
58
+ </div>
59
+ </div>
60
+ </nav>
61
+
62
+ <!-- Hero Section -->
63
+ <section class="gradient-bg text-white py-16">
64
+ <div class="container mx-auto px-4 text-center">
65
+ <h1 class="text-4xl md:text-5xl font-bold mb-6">Share Your Creative Ideas With The World</h1>
66
+ <p class="text-xl mb-8 max-w-2xl mx-auto">Join our community of innovators, thinkers, and creators. Your idea might spark the next big thing!</p>
67
+ <div class="flex flex-col md:flex-row justify-center gap-4">
68
+ <button class="bg-white text-purple-600 px-6 py-3 rounded-full font-bold hover:bg-gray-100 transition">
69
+ Share Your Idea
70
+ </button>
71
+ <button class="bg-transparent border-2 border-white px-6 py-3 rounded-full font-bold hover:bg-white hover:text-purple-600 transition">
72
+ Explore Ideas
73
+ </button>
74
+ </div>
75
+ </div>
76
+ </section>
77
+
78
+ <!-- Main Content -->
79
+ <main class="container mx-auto px-4 py-12">
80
+ <!-- Search and Filter -->
81
+ <div class="mb-12">
82
+ <div class="bg-white rounded-xl shadow-md p-6">
83
+ <div class="flex flex-col md:flex-row gap-4">
84
+ <div class="flex-1 relative">
85
+ <input type="text" placeholder="Search for ideas..." class="w-full pl-12 pr-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500">
86
+ <i class="fas fa-search absolute left-4 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
87
+ </div>
88
+ <select class="border border-gray-300 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500">
89
+ <option>All Categories</option>
90
+ <option>Technology</option>
91
+ <option>Business</option>
92
+ <option>Art & Design</option>
93
+ <option>Education</option>
94
+ <option>Science</option>
95
+ </select>
96
+ <select class="border border-gray-300 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500">
97
+ <option>Sort By: Newest</option>
98
+ <option>Sort By: Most Popular</option>
99
+ <option>Sort By: Trending</option>
100
+ </select>
101
+ </div>
102
+ </div>
103
+ </div>
104
+
105
+ <!-- Idea Grid -->
106
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
107
+ <!-- Idea Card 1 -->
108
+ <div class="idea-card bg-white rounded-xl overflow-hidden shadow-md">
109
+ <div class="p-6">
110
+ <div class="flex justify-between items-start mb-4">
111
+ <div class="flex items-center space-x-2">
112
+ <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center">
113
+ <i class="fas fa-user text-purple-600"></i>
114
+ </div>
115
+ <div>
116
+ <p class="font-medium">Alex Johnson</p>
117
+ <p class="text-gray-500 text-sm">2 days ago</p>
118
+ </div>
119
+ </div>
120
+ <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Technology</span>
121
+ </div>
122
+ <h3 class="text-xl font-bold mb-3">AI-Powered Personal Shopping Assistant</h3>
123
+ <p class="text-gray-600 mb-4">An AI that learns your style preferences and suggests clothing items from multiple retailers that match your taste and budget.</p>
124
+ <div class="flex flex-wrap gap-2 mb-4">
125
+ <span class="tag bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">AI</span>
126
+ <span class="tag bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full">Fashion</span>
127
+ <span class="tag bg-red-100 text-red-800 text-xs px-2 py-1 rounded-full">E-commerce</span>
128
+ </div>
129
+ <div class="flex justify-between items-center">
130
+ <div class="flex space-x-4">
131
+ <button class="flex items-center space-x-1 text-gray-500 hover:text-purple-600">
132
+ <i class="far fa-thumbs-up"></i>
133
+ <span>42</span>
134
+ </button>
135
+ <button class="flex items-center space-x-1 text-gray-500 hover:text-purple-600">
136
+ <i class="far fa-comment"></i>
137
+ <span>8</span>
138
+ </button>
139
+ </div>
140
+ <button class="text-purple-600 font-medium hover:text-purple-800">
141
+ View Details
142
+ </button>
143
+ </div>
144
+ </div>
145
+ </div>
146
+
147
+ <!-- Idea Card 2 -->
148
+ <div class="idea-card bg-white rounded-xl overflow-hidden shadow-md">
149
+ <div class="p-6">
150
+ <div class="flex justify-between items-start mb-4">
151
+ <div class="flex items-center space-x-2">
152
+ <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
153
+ <i class="fas fa-user text-blue-600"></i>
154
+ </div>
155
+ <div>
156
+ <p class="font-medium">Maria Garcia</p>
157
+ <p class="text-gray-500 text-sm">1 week ago</p>
158
+ </div>
159
+ </div>
160
+ <span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full">Sustainability</span>
161
+ </div>
162
+ <h3 class="text-xl font-bold mb-3">Community Composting Network</h3>
163
+ <p class="text-gray-600 mb-4">A neighborhood-based composting system where residents can drop off food scraps and receive compost for their gardens in return.</p>
164
+ <div class="flex flex-wrap gap-2 mb-4">
165
+ <span class="tag bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Eco-friendly</span>
166
+ <span class="tag bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded-full">Community</span>
167
+ <span class="tag bg-teal-100 text-teal-800 text-xs px-2 py-1 rounded-full">Gardening</span>
168
+ </div>
169
+ <div class="flex justify-between items-center">
170
+ <div class="flex space-x-4">
171
+ <button class="flex items-center space-x-1 text-gray-500 hover:text-purple-600">
172
+ <i class="far fa-thumbs-up"></i>
173
+ <span>76</span>
174
+ </button>
175
+ <button class="flex items-center space-x-1 text-gray-500 hover:text-purple-600">
176
+ <i class="far fa-comment"></i>
177
+ <span>14</span>
178
+ </button>
179
+ </div>
180
+ <button class="text-purple-600 font-medium hover:text-purple-800">
181
+ View Details
182
+ </button>
183
+ </div>
184
+ </div>
185
+ </div>
186
+
187
+ <!-- Idea Card 3 -->
188
+ <div class="idea-card bg-white rounded-xl overflow-hidden shadow-md">
189
+ <div class="p-6">
190
+ <div class="flex justify-between items-start mb-4">
191
+ <div class="flex items-center space-x-2">
192
+ <div class="w-10 h-10 rounded-full bg-pink-100 flex items-center justify-center">
193
+ <i class="fas fa-user text-pink-600"></i>
194
+ </div>
195
+ <div>
196
+ <p class="font-medium">Sam Wilson</p>
197
+ <p class="text-gray-500 text-sm">3 days ago</p>
198
+ </div>
199
+ </div>
200
+ <span class="bg-red-100 text-red-800 text-xs px-2 py-1 rounded-full">Education</span>
201
+ </div>
202
+ <h3 class="text-xl font-bold mb-3">Interactive History Learning App</h3>
203
+ <p class="text-gray-600 mb-4">An AR app that brings historical events to life by overlaying interactive scenes and characters in your current location.</p>
204
+ <div class="flex flex-wrap gap-2 mb-4">
205
+ <span class="tag bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded-full">AR</span>
206
+ <span class="tag bg-orange-100 text-orange-800 text-xs px-2 py-1 rounded-full">History</span>
207
+ <span class="tag bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Mobile</span>
208
+ </div>
209
+ <div class="flex justify-between items-center">
210
+ <div class="flex space-x-4">
211
+ <button class="flex items-center space-x-1 text-gray-500 hover:text-purple-600">
212
+ <i class="far fa-thumbs-up"></i>
213
+ <span>53</span>
214
+ </button>
215
+ <button class="flex items-center space-x-1 text-gray-500 hover:text-purple-600">
216
+ <i class="far fa-comment"></i>
217
+ <span>9</span>
218
+ </button>
219
+ </div>
220
+ <button class="text-purple-600 font-medium hover:text-purple-800">
221
+ View Details
222
+ </button>
223
+ </div>
224
+ </div>
225
+ </div>
226
+ </div>
227
+
228
+ <!-- Load More Button -->
229
+ <div class="text-center mt-12">
230
+ <button class="bg-white border-2 border-purple-600 text-purple-600 px-6 py-3 rounded-full font-bold hover:bg-purple-50 transition">
231
+ Load More Ideas
232
+ </button>
233
+ </div>
234
+ </main>
235
+
236
+ <!-- Submit Idea Modal (Hidden by default) -->
237
+ <div id="ideaModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
238
+ <div class="bg-white rounded-xl shadow-xl w-full max-w-2xl max-h-[90vh] overflow-y-auto">
239
+ <div class="p-6">
240
+ <div class="flex justify-between items-center mb-6">
241
+ <h2 class="text-2xl font-bold">Share Your Idea</h2>
242
+ <button id="closeModal" class="text-gray-500 hover:text-gray-700">
243
+ <i class="fas fa-times text-xl"></i>
244
+ </button>
245
+ </div>
246
+ <form id="ideaForm" class="space-y-6">
247
+ <div>
248
+ <label for="ideaTitle" class="block font-medium mb-2">Title</label>
249
+ <input type="text"
250
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ make me a website where people ca