LukasBe commited on
Commit
fd5fd1d
·
verified ·
1 Parent(s): ba660ae

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +658 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Civicchain
3
- emoji:
4
- colorFrom: green
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: civicchain
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: gray
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,658 @@
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>Decentralized Digital Governance 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%, #7c3aed 100%);
19
+ }
20
+
21
+ .card-hover: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
+ .nav-link:hover {
27
+ background-color: rgba(255, 255, 255, 0.1);
28
+ }
29
+
30
+ .progress-ring__circle {
31
+ transition: stroke-dashoffset 0.35s;
32
+ transform: rotate(-90deg);
33
+ transform-origin: 50% 50%;
34
+ }
35
+
36
+ .animate-pulse {
37
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
38
+ }
39
+
40
+ @keyframes pulse {
41
+ 0%, 100% {
42
+ opacity: 1;
43
+ }
44
+ 50% {
45
+ opacity: 0.5;
46
+ }
47
+ }
48
+ </style>
49
+ </head>
50
+ <body>
51
+ <!-- Navigation -->
52
+ <nav class="gradient-bg text-white shadow-lg">
53
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
54
+ <div class="flex justify-between h-16">
55
+ <div class="flex items-center">
56
+ <div class="flex-shrink-0 flex items-center">
57
+ <i class="fas fa-vote-yea text-2xl mr-2"></i>
58
+ <span class="text-xl font-bold">CivicChain</span>
59
+ </div>
60
+ <div class="hidden sm:ml-6 sm:flex sm:space-x-8">
61
+ <a href="#" class="nav-link border-indigo-500 text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a>
62
+ <a href="#" class="nav-link border-transparent text-white hover:border-gray-300 px-3 py-2 rounded-md text-sm font-medium">Voting</a>
63
+ <a href="#" class="nav-link border-transparent text-white hover:border-gray-300 px-3 py-2 rounded-md text-sm font-medium">Projects</a>
64
+ <a href="#" class="nav-link border-transparent text-white hover:border-gray-300 px-3 py-2 rounded-md text-sm font-medium">Community</a>
65
+ <a href="#" class="nav-link border-transparent text-white hover:border-gray-300 px-3 py-2 rounded-md text-sm font-medium">Rewards</a>
66
+ </div>
67
+ </div>
68
+ <div class="hidden sm:ml-6 sm:flex sm:items-center">
69
+ <div class="relative">
70
+ <button id="walletBtn" class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
71
+ <i class="fas fa-wallet mr-2"></i>
72
+ <span>Connect Wallet</span>
73
+ </button>
74
+ <div id="walletDropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-10">
75
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Metamask</a>
76
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">WalletConnect</a>
77
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Coinbase Wallet</a>
78
+ </div>
79
+ </div>
80
+ <div class="ml-3 relative">
81
+ <div>
82
+ <button id="userMenuBtn" class="flex text-sm rounded-full focus:outline-none">
83
+ <img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
84
+ </button>
85
+ </div>
86
+ <div id="userMenuDropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-10">
87
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
88
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
89
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a>
90
+ </div>
91
+ </div>
92
+ </div>
93
+ <div class="-mr-2 flex items-center sm:hidden">
94
+ <button id="mobileMenuBtn" class="inline-flex items-center justify-center p-2 rounded-md text-white hover:text-white hover:bg-indigo-700 focus:outline-none">
95
+ <span class="sr-only">Open main menu</span>
96
+ <i class="fas fa-bars"></i>
97
+ </button>
98
+ </div>
99
+ </div>
100
+ </div>
101
+
102
+ <!-- Mobile menu -->
103
+ <div id="mobileMenu" class="hidden sm:hidden">
104
+ <div class="pt-2 pb-3 space-y-1">
105
+ <a href="#" class="bg-indigo-50 border-indigo-500 text-indigo-700 block px-3 py-2 rounded-md text-base font-medium">Dashboard</a>
106
+ <a href="#" class="border-transparent text-white hover:bg-indigo-500 hover:border-gray-300 block px-3 py-2 rounded-md text-base font-medium">Voting</a>
107
+ <a href="#" class="border-transparent text-white hover:bg-indigo-500 hover:border-gray-300 block px-3 py-2 rounded-md text-base font-medium">Projects</a>
108
+ <a href="#" class="border-transparent text-white hover:bg-indigo-500 hover:border-gray-300 block px-3 py-2 rounded-md text-base font-medium">Community</a>
109
+ <a href="#" class="border-transparent text-white hover:bg-indigo-500 hover:border-gray-300 block px-3 py-2 rounded-md text-base font-medium">Rewards</a>
110
+ </div>
111
+ <div class="pt-4 pb-3 border-t border-indigo-800">
112
+ <div class="flex items-center px-5">
113
+ <div class="flex-shrink-0">
114
+ <img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
115
+ </div>
116
+ <div class="ml-3">
117
+ <div class="text-base font-medium text-white">Tom Cook</div>
118
+ <div class="text-sm font-medium text-indigo-200">tom@example.com</div>
119
+ </div>
120
+ </div>
121
+ <div class="mt-3 px-2 space-y-1">
122
+ <a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-white hover:text-white hover:bg-indigo-500">Your Profile</a>
123
+ <a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-white hover:text-white hover:bg-indigo-500">Settings</a>
124
+ <a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-white hover:text-white hover:bg-indigo-500">Sign out</a>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </nav>
129
+
130
+ <!-- Main Content -->
131
+ <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
132
+ <!-- Welcome Banner -->
133
+ <div class="gradient-bg rounded-xl shadow-lg p-6 mb-8 text-white">
134
+ <div class="flex flex-col md:flex-row justify-between items-start md:items-center">
135
+ <div>
136
+ <h1 class="text-2xl md:text-3xl font-bold mb-2">Welcome to CivicChain Governance</h1>
137
+ <p class="text-indigo-100 max-w-2xl">Participate in decentralized governance, vote on community projects, and help shape the future of your city.</p>
138
+ </div>
139
+ <button class="mt-4 md:mt-0 bg-white text-indigo-600 hover:bg-gray-100 px-6 py-2 rounded-lg font-medium flex items-center">
140
+ <i class="fas fa-plus mr-2"></i> New Proposal
141
+ </button>
142
+ </div>
143
+ </div>
144
+
145
+ <!-- Stats Cards -->
146
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
147
+ <div class="bg-white rounded-xl shadow-md p-6 card-hover transition duration-300">
148
+ <div class="flex items-center">
149
+ <div class="p-3 rounded-full bg-indigo-100 text-indigo-600 mr-4">
150
+ <i class="fas fa-vote-yea text-xl"></i>
151
+ </div>
152
+ <div>
153
+ <p class="text-gray-500 text-sm">Active Votes</p>
154
+ <h3 class="text-2xl font-bold">12</h3>
155
+ </div>
156
+ </div>
157
+ </div>
158
+ <div class="bg-white rounded-xl shadow-md p-6 card-hover transition duration-300">
159
+ <div class="flex items-center">
160
+ <div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
161
+ <i class="fas fa-project-diagram text-xl"></i>
162
+ </div>
163
+ <div>
164
+ <p class="text-gray-500 text-sm">Funded Projects</p>
165
+ <h3 class="text-2xl font-bold">24</h3>
166
+ </div>
167
+ </div>
168
+ </div>
169
+ <div class="bg-white rounded-xl shadow-md p-6 card-hover transition duration-300">
170
+ <div class="flex items-center">
171
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
172
+ <i class="fas fa-users text-xl"></i>
173
+ </div>
174
+ <div>
175
+ <p class="text-gray-500 text-sm">Community Members</p>
176
+ <h3 class="text-2xl font-bold">1,842</h3>
177
+ </div>
178
+ </div>
179
+ </div>
180
+ <div class="bg-white rounded-xl shadow-md p-6 card-hover transition duration-300">
181
+ <div class="flex items-center">
182
+ <div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4">
183
+ <i class="fas fa-coins text-xl"></i>
184
+ </div>
185
+ <div>
186
+ <p class="text-gray-500 text-sm">Your Civic Tokens</p>
187
+ <h3 class="text-2xl font-bold">1,250</h3>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+
193
+ <!-- Main Content Grid -->
194
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
195
+ <!-- Left Column -->
196
+ <div class="lg:col-span-2 space-y-6">
197
+ <!-- Active Proposals -->
198
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
199
+ <div class="px-6 py-4 border-b border-gray-200">
200
+ <h2 class="text-lg font-semibold text-gray-800">Active Proposals</h2>
201
+ </div>
202
+ <div class="divide-y divide-gray-200">
203
+ <!-- Proposal 1 -->
204
+ <div class="p-6 hover:bg-gray-50 transition duration-150">
205
+ <div class="flex justify-between items-start">
206
+ <div>
207
+ <h3 class="text-lg font-medium text-gray-900">New Public Park in Downtown</h3>
208
+ <p class="mt-1 text-sm text-gray-500">Proposed by Sarah Johnson • 3 days ago</p>
209
+ </div>
210
+ <span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-green-100 text-green-800">
211
+ Active
212
+ </span>
213
+ </div>
214
+ <p class="mt-2 text-gray-600">Proposal to convert the vacant lot on 5th Avenue into a public park with playground equipment and green spaces.</p>
215
+ <div class="mt-4 flex items-center justify-between">
216
+ <div class="flex items-center">
217
+ <div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden mr-3">
218
+ <div class="h-full bg-green-500" style="width: 68%"></div>
219
+ </div>
220
+ <span class="text-sm text-gray-500">68% Yes</span>
221
+ </div>
222
+ <button class="text-sm font-medium text-indigo-600 hover:text-indigo-500">
223
+ Vote Now <i class="fas fa-chevron-right ml-1"></i>
224
+ </button>
225
+ </div>
226
+ </div>
227
+
228
+ <!-- Proposal 2 -->
229
+ <div class="p-6 hover:bg-gray-50 transition duration-150">
230
+ <div class="flex justify-between items-start">
231
+ <div>
232
+ <h3 class="text-lg font-medium text-gray-900">Bike Lane Expansion Project</h3>
233
+ <p class="mt-1 text-sm text-gray-500">Proposed by City Planning Dept • 1 week ago</p>
234
+ </div>
235
+ <span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-green-100 text-green-800">
236
+ Active
237
+ </span>
238
+ </div>
239
+ <p class="mt-2 text-gray-600">Expansion of bike lanes along Main Street to connect with existing trails and improve cyclist safety.</p>
240
+ <div class="mt-4 flex items-center justify-between">
241
+ <div class="flex items-center">
242
+ <div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden mr-3">
243
+ <div class="h-full bg-green-500" style="width: 42%"></div>
244
+ </div>
245
+ <span class="text-sm text-gray-500">42% Yes</span>
246
+ </div>
247
+ <button class="text-sm font-medium text-indigo-600 hover:text-indigo-500">
248
+ Vote Now <i class="fas fa-chevron-right ml-1"></i>
249
+ </button>
250
+ </div>
251
+ </div>
252
+
253
+ <!-- Proposal 3 -->
254
+ <div class="p-6 hover:bg-gray-50 transition duration-150">
255
+ <div class="flex justify-between items-start">
256
+ <div>
257
+ <h3 class="text-lg font-medium text-gray-900">Community Solar Initiative</h3>
258
+ <p class="mt-1 text-sm text-gray-500">Proposed by Green Energy Collective • 2 weeks ago</p>
259
+ </div>
260
+ <span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-yellow-100 text-yellow-800">
261
+ Ending Soon
262
+ </span>
263
+ </div>
264
+ <p class="mt-2 text-gray-600">Installation of solar panels on municipal buildings to reduce energy costs and carbon footprint.</p>
265
+ <div class="mt-4 flex items-center justify-between">
266
+ <div class="flex items-center">
267
+ <div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden mr-3">
268
+ <div class="h-full bg-green-500" style="width: 85%"></div>
269
+ </div>
270
+ <span class="text-sm text-gray-500">85% Yes</span>
271
+ </div>
272
+ <button class="text-sm font-medium text-indigo-600 hover:text-indigo-500">
273
+ Vote Now <i class="fas fa-chevron-right ml-1"></i>
274
+ </button>
275
+ </div>
276
+ </div>
277
+ </div>
278
+ <div class="px-6 py-4 border-t border-gray-200 text-center">
279
+ <a href="#" class="text-sm font-medium text-indigo-600 hover:text-indigo-500">
280
+ View all proposals <i class="fas fa-arrow-right ml-1"></i>
281
+ </a>
282
+ </div>
283
+ </div>
284
+
285
+ <!-- Funded Projects -->
286
+ <div class="bg-white rounded-xl shadow-md overflow-hidden mt-8">
287
+ <div class="px-6 py-4 border-b border-gray-200">
288
+ <h2 class="text-lg font-semibold text-gray-800">Recently Funded Projects</h2>
289
+ </div>
290
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 p-6">
291
+ <!-- Project 1 -->
292
+ <div class="border border-gray-200 rounded-lg overflow-hidden hover:shadow-md transition duration-300">
293
+ <div class="h-40 bg-indigo-100 flex items-center justify-center">
294
+ <i class="fas fa-tree text-4xl text-indigo-500"></i>
295
+ </div>
296
+ <div class="p-4">
297
+ <h3 class="font-medium text-gray-900">Downtown Tree Planting</h3>
298
+ <p class="mt-1 text-sm text-gray-500">Completed: May 2023</p>
299
+ <div class="mt-3 flex justify-between items-center">
300
+ <span class="text-sm font-medium text-green-600">$25,000 allocated</span>
301
+ <button class="text-xs text-indigo-600 hover:text-indigo-500">
302
+ View Details <i class="fas fa-external-link-alt ml-1"></i>
303
+ </button>
304
+ </div>
305
+ </div>
306
+ </div>
307
+
308
+ <!-- Project 2 -->
309
+ <div class="border border-gray-200 rounded-lg overflow-hidden hover:shadow-md transition duration-300">
310
+ <div class="h-40 bg-blue-100 flex items-center justify-center">
311
+ <i class="fas fa-book text-4xl text-blue-500"></i>
312
+ </div>
313
+ <div class="p-4">
314
+ <h3 class="font-medium text-gray-900">Library Tech Upgrade</h3>
315
+ <p class="mt-1 text-sm text-gray-500">In Progress</p>
316
+ <div class="mt-3 flex justify-between items-center">
317
+ <span class="text-sm font-medium text-green-600">$42,500 allocated</span>
318
+ <button class="text-xs text-indigo-600 hover:text-indigo-500">
319
+ View Details <i class="fas fa-external-link-alt ml-1"></i>
320
+ </button>
321
+ </div>
322
+ </div>
323
+ </div>
324
+ </div>
325
+ <div class="px-6 py-4 border-t border-gray-200 text-center">
326
+ <a href="#" class="text-sm font-medium text-indigo-600 hover:text-indigo-500">
327
+ View all projects <i class="fas fa-arrow-right ml-1"></i>
328
+ </a>
329
+ </div>
330
+ </div>
331
+ </div>
332
+
333
+ <!-- Right Column -->
334
+ <div class="space-y-6">
335
+ <!-- Identity Verification -->
336
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
337
+ <div class="px-6 py-4 border-b border-gray-200">
338
+ <h2 class="text-lg font-semibold text-gray-800">Your Civic Identity</h2>
339
+ </div>
340
+ <div class="p-6">
341
+ <div class="flex items-center mb-4">
342
+ <div class="relative">
343
+ <img class="h-16 w-16 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
344
+ <span class="absolute bottom-0 right-0 block h-4 w-4 rounded-full bg-green-400 ring-2 ring-white"></span>
345
+ </div>
346
+ <div class="ml-4">
347
+ <h3 class="text-lg font-medium text-gray-900">Tom Cook</h3>
348
+ <p class="text-sm text-gray-500">Verified Citizen</p>
349
+ </div>
350
+ </div>
351
+
352
+ <div class="space-y-3">
353
+ <div class="flex items-center justify-between">
354
+ <span class="text-sm font-medium text-gray-500">Identity Status</span>
355
+ <span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-green-100 text-green-800">
356
+ Verified
357
+ </span>
358
+ </div>
359
+ <div class="flex items-center justify-between">
360
+ <span class="text-sm font-medium text-gray-500">Voting Power</span>
361
+ <span class="text-sm font-medium text-gray-900">1.0x</span>
362
+ </div>
363
+ <div class="flex items-center justify-between">
364
+ <span class="text-sm font-medium text-gray-500">Reputation Score</span>
365
+ <span class="text-sm font-medium text-gray-900">87/100</span>
366
+ </div>
367
+ </div>
368
+
369
+ <button class="mt-6 w-full bg-indigo-600 hover:bg-indigo-700 text-white py-2 px-4 rounded-lg text-sm font-medium">
370
+ Manage Identity
371
+ </button>
372
+ </div>
373
+ </div>
374
+
375
+ <!-- Upcoming Events -->
376
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
377
+ <div class="px-6 py-4 border-b border-gray-200">
378
+ <h2 class="text-lg font-semibold text-gray-800">Upcoming Events</h2>
379
+ </div>
380
+ <div class="divide-y divide-gray-200">
381
+ <!-- Event 1 -->
382
+ <div class="p-4 hover:bg-gray-50 transition duration-150">
383
+ <div class="flex">
384
+ <div class="flex-shrink-0 mr-4">
385
+ <div class="flex items-center justify-center h-12 w-12 rounded-lg bg-indigo-100 text-indigo-600">
386
+ <i class="fas fa-calendar-day"></i>
387
+ </div>
388
+ </div>
389
+ <div>
390
+ <h3 class="text-sm font-medium text-gray-900">Town Hall Meeting</h3>
391
+ <p class="mt-1 text-sm text-gray-500">June 15, 2023 • 6:00 PM</p>
392
+ <p class="mt-1 text-xs text-gray-500">City Hall Auditorium</p>
393
+ </div>
394
+ </div>
395
+ </div>
396
+
397
+ <!-- Event 2 -->
398
+ <div class="p-4 hover:bg-gray-50 transition duration-150">
399
+ <div class="flex">
400
+ <div class="flex-shrink-0 mr-4">
401
+ <div class="flex items-center justify-center h-12 w-12 rounded-lg bg-purple-100 text-purple-600">
402
+ <i class="fas fa-hands-helping"></i>
403
+ </div>
404
+ </div>
405
+ <div>
406
+ <h3 class="text-sm font-medium text-gray-900">Community Cleanup</h3>
407
+ <p class="mt-1 text-sm text-gray-500">June 22, 2023 • 9:00 AM</p>
408
+ <p class="mt-1 text-xs text-gray-500">Riverside Park</p>
409
+ </div>
410
+ </div>
411
+ </div>
412
+
413
+ <!-- Event 3 -->
414
+ <div class="p-4 hover:bg-gray-50 transition duration-150">
415
+ <div class="flex">
416
+ <div class="flex-shrink-0 mr-4">
417
+ <div class="flex items-center justify-center h-12 w-12 rounded-lg bg-green-100 text-green-600">
418
+ <i class="fas fa-chalkboard-teacher"></i>
419
+ </div>
420
+ </div>
421
+ <div>
422
+ <h3 class="text-sm font-medium text-gray-900">Governance Workshop</h3>
423
+ <p class="mt-1 text-sm text-gray-500">July 5, 2023 • 5:30 PM</p>
424
+ <p class="mt-1 text-xs text-gray-500">Online (Zoom)</p>
425
+ </div>
426
+ </div>
427
+ </div>
428
+ </div>
429
+ <div class="px-6 py-4 border-t border-gray-200 text-center">
430
+ <a href="#" class="text-sm font-medium text-indigo-600 hover:text-indigo-500">
431
+ View all events <i class="fas fa-arrow-right ml-1"></i>
432
+ </a>
433
+ </div>
434
+ </div>
435
+
436
+ <!-- Recent Activity -->
437
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
438
+ <div class="px-6 py-4 border-b border-gray-200">
439
+ <h2 class="text-lg font-semibold text-gray-800">Your Recent Activity</h2>
440
+ </div>
441
+ <div class="divide-y divide-gray-200">
442
+ <!-- Activity 1 -->
443
+ <div class="p-4 hover:bg-gray-50 transition duration-150">
444
+ <div class="flex">
445
+ <div class="flex-shrink-0 mr-4">
446
+ <div class="flex items-center justify-center h-10 w-10 rounded-full bg-blue-100 text-blue-600">
447
+ <i class="fas fa-vote-yea"></i>
448
+ </div>
449
+ </div>
450
+ <div>
451
+ <p class="text-sm text-gray-900">You voted <span class="font-medium">Yes</span> on "Downtown Park Renovation"</p>
452
+ <p class="mt-1 text-xs text-gray-500">2 days ago</p>
453
+ </div>
454
+ </div>
455
+ </div>
456
+
457
+ <!-- Activity 2 -->
458
+ <div class="p-4 hover:bg-gray-50 transition duration-150">
459
+ <div class="flex">
460
+ <div class="flex-shrink-0 mr-4">
461
+ <div class="flex items-center justify-center h-10 w-10 rounded-full bg-green-100 text-green-600">
462
+ <i class="fas fa-coins"></i>
463
+ </div>
464
+ </div>
465
+ <div>
466
+ <p class="text-sm text-gray-900">You earned <span class="font-medium">25 Civic Tokens</span> for participation</p>
467
+ <p class="mt-1 text-xs text-gray-500">1 week ago</p>
468
+ </div>
469
+ </div>
470
+ </div>
471
+
472
+ <!-- Activity 3 -->
473
+ <div class="p-4 hover:bg-gray-50 transition duration-150">
474
+ <div class="flex">
475
+ <div class="flex-shrink-0 mr-4">
476
+ <div class="flex items-center justify-center h-10 w-10 rounded-full bg-purple-100 text-purple-600">
477
+ <i class="fas fa-comment"></i>
478
+ </div>
479
+ </div>
480
+ <div>
481
+ <p class="text-sm text-gray-900">You commented on "Bike Lane Expansion" proposal</p>
482
+ <p class="mt-1 text-xs text-gray-500">2 weeks ago</p>
483
+ </div>
484
+ </div>
485
+ </div>
486
+ </div>
487
+ <div class="px-6 py-4 border-t border-gray-200 text-center">
488
+ <a href="#" class="text-sm font-medium text-indigo-600 hover:text-indigo-500">
489
+ View all activity <i class="fas fa-arrow-right ml-1"></i>
490
+ </a>
491
+ </div>
492
+ </div>
493
+ </div>
494
+ </div>
495
+ </main>
496
+
497
+ <!-- Footer -->
498
+ <footer class="bg-gray-50 mt-12">
499
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
500
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
501
+ <div>
502
+ <h3 class="text-lg font-semibold text-gray-900 mb-4">CivicChain</h3>
503
+ <p class="text-sm text-gray-500">Empowering communities through decentralized governance and civic participation.</p>
504
+ <div class="mt-4 flex space-x-4">
505
+ <a href="#" class="text-gray-500 hover:text-gray-700">
506
+ <i class="fab fa-twitter"></i>
507
+ </a>
508
+ <a href="#" class="text-gray-500 hover:text-gray-700">
509
+ <i class="fab fa-discord"></i>
510
+ </a>
511
+ <a href="#" class="text-gray-500 hover:text-gray-700">
512
+ <i class="fab fa-github"></i>
513
+ </a>
514
+ </div>
515
+ </div>
516
+ <div>
517
+ <h3 class="text-lg font-semibold text-gray-900 mb-4">Governance</h3>
518
+ <ul class="space-y-2">
519
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Proposals</a></li>
520
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Voting</a></li>
521
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Funding</a></li>
522
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Governance Models</a></li>
523
+ </ul>
524
+ </div>
525
+ <div>
526
+ <h3 class="text-lg font-semibold text-gray-900 mb-4">Resources</h3>
527
+ <ul class="space-y-2">
528
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Documentation</a></li>
529
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Tutorials</a></li>
530
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">FAQ</a></li>
531
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Whitepaper</a></li>
532
+ </ul>
533
+ </div>
534
+ <div>
535
+ <h3 class="text-lg font-semibold text-gray-900 mb-4">Legal</h3>
536
+ <ul class="space-y-2">
537
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Privacy Policy</a></li>
538
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Terms of Service</a></li>
539
+ <li><a href="#" class="text-sm text-gray-500 hover:text-gray-700">Cookie Policy</a></li>
540
+ </ul>
541
+ </div>
542
+ </div>
543
+ <div class="mt-8 pt-8 border-t border-gray-200 text-sm text-gray-500 text-center">
544
+ <p>© 2023 CivicChain. All rights reserved.</p>
545
+ </div>
546
+ </div>
547
+ </footer>
548
+
549
+ <!-- Wallet Connection Modal -->
550
+ <div id="walletModal" class="hidden fixed inset-0 overflow-y-auto z-50">
551
+ <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
552
+ <div class="fixed inset-0 transition-opacity" aria-hidden="true">
553
+ <div class="absolute inset-0 bg-gray-500 opacity-75"></div>
554
+ </div>
555
+ <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">&#8203;</span>
556
+ <div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full">
557
+ <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
558
+ <div class="sm:flex sm:items-start">
559
+ <div class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-indigo-100 sm:mx-0 sm:h-10 sm:w-10">
560
+ <i class="fas fa-wallet text-indigo-600"></i>
561
+ </div>
562
+ <div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
563
+ <h3 class="text-lg leading-6 font-medium text-gray-900">Connect Wallet</h3>
564
+ <div class="mt-2">
565
+ <p class="text-sm text-gray-500">Choose your preferred wallet to connect to CivicChain.</p>
566
+ </div>
567
+ </div>
568
+ </div>
569
+ </div>
570
+ <div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-col">
571
+ <button type="button" class="w-full inline-flex justify-center items-center rounded-md border border-gray-300 shadow-sm px-4 py-3 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:text-sm mb-3">
572
+ <img src="https://upload.wikimedia.org/wikipedia/commons/3/36/MetaMask_Fox.svg" class="h-6 w-6 mr-3" alt="Metamask">
573
+ MetaMask
574
+ </button>
575
+ <button type="button" class="w-full inline-flex justify-center items-center rounded-md border border-gray-300 shadow-sm px-4 py-3 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:text-sm mb-3">
576
+ <img src="https://altcoinsbox.com/wp-content/uploads/2023/01/wallet-connect-logo.png" class="h-6 w-6 mr-3" alt="WalletConnect">
577
+ WalletConnect
578
+ </button>
579
+ <button type="button" class="w-full inline-flex justify-center items-center rounded-md border border-gray-300 shadow-sm px-4 py-3 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:text-sm">
580
+ <img src="https://altcoinsbox.com/wp-content/uploads/2023/01/coinbase-wallet-logo.png" class="h-6 w-6 mr-3" alt="Coinbase Wallet">
581
+ Coinbase Wallet
582
+ </button>
583
+ </div>
584
+ <div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
585
+ <button type="button" id="closeWalletModal" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
586
+ Cancel
587
+ </button>
588
+ </div>
589
+ </div>
590
+ </div>
591
+ </div>
592
+
593
+ <script>
594
+ // Mobile menu toggle
595
+ const mobileMenuBtn = document.getElementById('mobileMenuBtn');
596
+ const mobileMenu = document.getElementById('mobileMenu');
597
+
598
+ mobileMenuBtn.addEventListener('click', () => {
599
+ mobileMenu.classList.toggle('hidden');
600
+ });
601
+
602
+ // Wallet dropdown toggle
603
+ const walletBtn = document.getElementById('walletBtn');
604
+ const walletDropdown = document.getElementById('walletDropdown');
605
+
606
+ walletBtn.addEventListener('click', () => {
607
+ walletDropdown.classList.toggle('hidden');
608
+ });
609
+
610
+ // User menu dropdown toggle
611
+ const userMenuBtn = document.getElementById('userMenuBtn');
612
+ const userMenuDropdown = document.getElementById('userMenuDropdown');
613
+
614
+ userMenuBtn.addEventListener('click', () => {
615
+ userMenuDropdown.classList.toggle('hidden');
616
+ });
617
+
618
+ // Close dropdowns when clicking outside
619
+ document.addEventListener('click', (event) => {
620
+ if (!walletBtn.contains(event.target) && !walletDropdown.contains(event.target)) {
621
+ walletDropdown.classList.add('hidden');
622
+ }
623
+
624
+ if (!userMenuBtn.contains(event.target) && !userMenuDropdown.contains(event.target)) {
625
+ userMenuDropdown.classList.add('hidden');
626
+ }
627
+ });
628
+
629
+ // Wallet modal
630
+ const walletModal = document.getElementById('walletModal');
631
+ const closeWalletModal = document.getElementById('closeWalletModal');
632
+
633
+ walletBtn.addEventListener('click', () => {
634
+ walletModal.classList.remove('hidden');
635
+ });
636
+
637
+ closeWalletModal.addEventListener('click', () => {
638
+ walletModal.classList.add('hidden');
639
+ });
640
+
641
+ // Close modal when clicking outside
642
+ walletModal.addEventListener('click', (e) => {
643
+ if (e.target === walletModal) {
644
+ walletModal.classList.add('hidden');
645
+ }
646
+ });
647
+
648
+ // Simulate loading for demo purposes
649
+ document.addEventListener('DOMContentLoaded', () => {
650
+ setTimeout(() => {
651
+ document.querySelectorAll('.animate-pulse').forEach(el => {
652
+ el.classList.remove('animate-pulse');
653
+ });
654
+ }, 2000);
655
+ });
656
+ </script>
657
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=LukasBe/civicchain" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
658
+ </html>