Juno360219 commited on
Commit
83a116f
·
verified ·
1 Parent(s): c6ee3e4

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +303 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Chain
3
- emoji: 🔥
4
- colorFrom: purple
5
- colorTo: yellow
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: chain
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,303 @@
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>ImpactChain | Blockchain Social Impact Platform</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
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background-color: #f8fafc;
15
+ }
16
+
17
+ .gradient-bg {
18
+ background: linear-gradient(135deg, #4f46e5 0%, #10b981 100%);
19
+ }
20
+
21
+ .impact-card:hover {
22
+ transform: translateY(-5px);
23
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
24
+ }
25
+
26
+ .token-animation {
27
+ animation: float 3s ease-in-out infinite;
28
+ }
29
+
30
+ @keyframes float {
31
+ 0% { transform: translateY(0px); }
32
+ 50% { transform: translateY(-10px); }
33
+ 100% { transform: translateY(0px); }
34
+ }
35
+
36
+ .progress-bar {
37
+ height: 6px;
38
+ border-radius: 3px;
39
+ background-color: #e5e7eb;
40
+ }
41
+
42
+ .progress-fill {
43
+ height: 100%;
44
+ border-radius: 3px;
45
+ background: linear-gradient(90deg, #4f46e5 0%, #10b981 100%);
46
+ }
47
+ </style>
48
+ </head>
49
+ <body>
50
+ <!-- Navigation -->
51
+ <nav class="bg-white shadow-sm">
52
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
53
+ <div class="flex justify-between h-16">
54
+ <div class="flex items-center">
55
+ <div class="flex-shrink-0 flex items-center">
56
+ <i class="fas fa-link text-indigo-600 text-2xl mr-2"></i>
57
+ <span class="text-xl font-bold text-gray-900">ImpactChain</span>
58
+ </div>
59
+ <div class="hidden sm:ml-6 sm:flex sm:space-x-8">
60
+ <a href="#" class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Discover</a>
61
+ <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Invest</a>
62
+ <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Rewards</a>
63
+ <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Impact</a>
64
+ </div>
65
+ </div>
66
+ <div class="hidden sm:ml-6 sm:flex sm:items-center">
67
+ <button class="bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
68
+ <i class="fas fa-bell"></i>
69
+ </button>
70
+ <div class="ml-3 relative">
71
+ <div>
72
+ <button type="button" class="bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" id="user-menu-button" aria-expanded="false" aria-haspopup="true">
73
+ <span class="sr-only">Open user menu</span>
74
+ <div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center">
75
+ <i class="fas fa-user text-indigo-600"></i>
76
+ </div>
77
+ </button>
78
+ </div>
79
+ </div>
80
+ <button class="ml-4 inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
81
+ Connect Wallet
82
+ </button>
83
+ </div>
84
+ <div class="-mr-2 flex items-center sm:hidden">
85
+ <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500">
86
+ <i class="fas fa-bars"></i>
87
+ </button>
88
+ </div>
89
+ </div>
90
+ </div>
91
+ </nav>
92
+
93
+ <!-- Hero Section -->
94
+ <div class="gradient-bg text-white">
95
+ <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
96
+ <div class="text-center">
97
+ <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl">
98
+ Invest in Change, Earn Rewards
99
+ </h1>
100
+ <p class="mt-6 max-w-lg mx-auto text-xl">
101
+ The blockchain platform connecting impact investors with social enterprises while rewarding your positive impact.
102
+ </p>
103
+ <div class="mt-10 flex justify-center space-x-4">
104
+ <a href="#" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-indigo-600 bg-white hover:bg-gray-50">
105
+ Explore Projects
106
+ </a>
107
+ <a href="#" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-indigo-800 bg-opacity-80 hover:bg-opacity-100">
108
+ How It Works
109
+ </a>
110
+ </div>
111
+ </div>
112
+ </div>
113
+ </div>
114
+
115
+ <!-- Stats Section -->
116
+ <div class="bg-white py-12">
117
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
118
+ <div class="lg:text-center">
119
+ <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">ImpactChain in Numbers</h2>
120
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
121
+ Creating measurable change
122
+ </p>
123
+ </div>
124
+ <div class="mt-10">
125
+ <div class="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4">
126
+ <div class="bg-white overflow-hidden shadow rounded-lg">
127
+ <div class="px-4 py-5 sm:p-6">
128
+ <div class="flex items-center">
129
+ <div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
130
+ <i class="fas fa-project-diagram text-white text-xl"></i>
131
+ </div>
132
+ <div class="ml-5 w-0 flex-1">
133
+ <dt class="text-sm font-medium text-gray-500 truncate">Active Projects</dt>
134
+ <dd class="flex items-baseline">
135
+ <div class="text-2xl font-semibold text-gray-900">142</div>
136
+ <div class="ml-2 flex items-baseline text-sm font-semibold text-green-600">
137
+ <i class="fas fa-arrow-up"></i>
138
+ <span class="sr-only">Increased by</span>
139
+ 12% from last month
140
+ </div>
141
+ </dd>
142
+ </div>
143
+ </div>
144
+ </div>
145
+ </div>
146
+ <div class="bg-white overflow-hidden shadow rounded-lg">
147
+ <div class="px-4 py-5 sm:p-6">
148
+ <div class="flex items-center">
149
+ <div class="flex-shrink-0 bg-green-500 rounded-md p-3">
150
+ <i class="fas fa-hand-holding-usd text-white text-xl"></i>
151
+ </div>
152
+ <div class="ml-5 w-0 flex-1">
153
+ <dt class="text-sm font-medium text-gray-500 truncate">Funds Deployed</dt>
154
+ <dd class="flex items-baseline">
155
+ <div class="text-2xl font-semibold text-gray-900">$4.2M</div>
156
+ <div class="ml-2 flex items-baseline text-sm font-semibold text-green-600">
157
+ <i class="fas fa-arrow-up"></i>
158
+ <span class="sr-only">Increased by</span>
159
+ 24% from last quarter
160
+ </div>
161
+ </dd>
162
+ </div>
163
+ </div>
164
+ </div>
165
+ </div>
166
+ <div class="bg-white overflow-hidden shadow rounded-lg">
167
+ <div class="px-4 py-5 sm:p-6">
168
+ <div class="flex items-center">
169
+ <div class="flex-shrink-0 bg-purple-500 rounded-md p-3">
170
+ <i class="fas fa-users text-white text-xl"></i>
171
+ </div>
172
+ <div class="ml-5 w-0 flex-1">
173
+ <dt class="text-sm font-medium text-gray-500 truncate">Community Members</dt>
174
+ <dd class="flex items-baseline">
175
+ <div class="text-2xl font-semibold text-gray-900">8,742</div>
176
+ <div class="ml-2 flex items-baseline text-sm font-semibold text-green-600">
177
+ <i class="fas fa-arrow-up"></i>
178
+ <span class="sr-only">Increased by</span>
179
+ 37% from last year
180
+ </div>
181
+ </dd>
182
+ </div>
183
+ </div>
184
+ </div>
185
+ </div>
186
+ <div class="bg-white overflow-hidden shadow rounded-lg">
187
+ <div class="px-4 py-5 sm:p-6">
188
+ <div class="flex items-center">
189
+ <div class="flex-shrink-0 bg-yellow-500 rounded-md p-3">
190
+ <i class="fas fa-coins text-white text-xl"></i>
191
+ </div>
192
+ <div class="ml-5 w-0 flex-1">
193
+ <dt class="text-sm font-medium text-gray-500 truncate">Impact Tokens Earned</dt>
194
+ <dd class="flex items-baseline">
195
+ <div class="text-2xl font-semibold text-gray-900">2.8M</div>
196
+ <div class="ml-2 flex items-baseline text-sm font-semibold text-green-600">
197
+ <i class="fas fa-arrow-up"></i>
198
+ <span class="sr-only">Increased by</span>
199
+ 56% from last year
200
+ </div>
201
+ </dd>
202
+ </div>
203
+ </div>
204
+ </div>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ </div>
209
+ </div>
210
+
211
+ <!-- Featured Projects -->
212
+ <div class="bg-gray-50 py-16">
213
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
214
+ <div class="lg:text-center">
215
+ <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Investment Opportunities</h2>
216
+ <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
217
+ Featured Social Impact Projects
218
+ </p>
219
+ <p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
220
+ Browse vetted social enterprises seeking funding and support
221
+ </p>
222
+ </div>
223
+
224
+ <div class="mt-10 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
225
+ <!-- Project Card 1 -->
226
+ <div class="bg-white rounded-lg shadow overflow-hidden impact-card transition duration-300 ease-in-out">
227
+ <div class="relative pb-48 overflow-hidden">
228
+ <img class="absolute inset-0 h-full w-full object-cover" src="https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Solar project">
229
+ <div class="absolute top-4 right-4 bg-green-500 text-white text-xs font-bold px-2 py-1 rounded-full">
230
+ SDG 7: Clean Energy
231
+ </div>
232
+ </div>
233
+ <div class="p-6">
234
+ <div class="flex items-center">
235
+ <div class="flex-shrink-0">
236
+ <img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1519242220831-09410926fbff?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&q=80" alt="Company logo">
237
+ </div>
238
+ <div class="ml-4">
239
+ <h3 class="font-bold text-gray-900">SolarForAll</h3>
240
+ <p class="text-sm text-gray-500">Nairobi, Kenya</p>
241
+ </div>
242
+ </div>
243
+ <h4 class="mt-4 font-semibold text-lg">Off-grid Solar Solutions</h4>
244
+ <p class="mt-2 text-gray-600">Providing affordable solar home systems to rural communities without access to electricity.</p>
245
+
246
+ <div class="mt-6">
247
+ <div class="flex justify-between text-sm text-gray-500">
248
+ <span>$125,000 raised</span>
249
+ <span>85% of goal</span>
250
+ </div>
251
+ <div class="mt-1 progress-bar">
252
+ <div class="progress-fill" style="width: 85%"></div>
253
+ </div>
254
+ </div>
255
+
256
+ <div class="mt-6 flex justify-between items-center">
257
+ <div>
258
+ <span class="text-sm font-medium text-gray-500">Impact Tokens:</span>
259
+ <span class="ml-1 text-sm font-semibold text-indigo-600">1,250 per $100</span>
260
+ </div>
261
+ <button class="px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
262
+ Invest Now
263
+ </button>
264
+ </div>
265
+ </div>
266
+ </div>
267
+
268
+ <!-- Project Card 2 -->
269
+ <div class="bg-white rounded-lg shadow overflow-hidden impact-card transition duration-300 ease-in-out">
270
+ <div class="relative pb-48 overflow-hidden">
271
+ <img class="absolute inset-0 h-full w-full object-cover" src="https://images.unsplash.com/photo-1529310399831-ed472b81d589?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="Education project">
272
+ <div class="absolute top-4 right-4 bg-blue-500 text-white text-xs font-bold px-2 py-1 rounded-full">
273
+ SDG 4: Quality Education
274
+ </div>
275
+ </div>
276
+ <div class="p-6">
277
+ <div class="flex items-center">
278
+ <div class="flex-shrink-0">
279
+ <img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&q=80" alt="Company logo">
280
+ </div>
281
+ <div class="ml-4">
282
+ <h3 class="font-bold text-gray-900">EduTech Africa</h3>
283
+ <p class="text-sm text-gray-500">Lagos, Nigeria</p>
284
+ </div>
285
+ </div>
286
+ <h4 class="mt-4 font-semibold text-lg">Digital Learning Platforms</h4>
287
+ <p class="mt-2 text-gray-600">Developing localized digital education content and hardware for underserved schools across Africa.</p>
288
+
289
+ <div class="mt-6">
290
+ <div class="flex justify-between text-sm text-gray-500">
291
+ <span>$89,500 raised</span>
292
+ <span>62% of goal</span>
293
+ </div>
294
+ <div class="mt-1 progress-bar">
295
+ <div class="progress-fill" style="width: 62%"></div>
296
+ </div>
297
+ </div>
298
+
299
+ <div class="mt-6 flex justify-between items-center">
300
+ <div>
301
+ <span class="text-sm font-medium text-gray-500">Impact Tokens:</span>
302
+ <span class="ml-1 text
303
+ </html>