Commit 0490d86
authored
Collins (#330)
* refactor: update project components and API for voting functionality
- Adjust layout and styling in ProjectsPage and ProjectCard components.
- Enhance ProjectSidebar to include crowdfund data and voting logic.
- Implement new API methods for voting, retrieving votes, and removing votes.
- Update types for vote handling in the API.
- Clean up unused code and improve responsiveness across components.
* chore: update project dependencies and enhance project details layout
* feat: added static api for staging
* fix: made few changes
* fix: minor changes
* feat: chaged test data
* fix: minor fixes
* refactor: update project components and improve functionality
* feat: file clean up
* feat: added extra validation
* feat: integrate wallet protection and validation across components1 parent f97e40e commit 0490d86
14 files changed
Lines changed: 792 additions & 98 deletions
File tree
- app
- components
- landing-page
- project/CreateProjectModal
- layout
- modals/fund-project
- project-details/project-sidebar
- providers
- hooks
- lib/api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
229 | 231 | | |
230 | 232 | | |
231 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
232 | 244 | | |
233 | 245 | | |
234 | 246 | | |
| |||
243 | 255 | | |
244 | 256 | | |
245 | 257 | | |
246 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
247 | 263 | | |
248 | 264 | | |
249 | 265 | | |
| |||
366 | 382 | | |
367 | 383 | | |
368 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
369 | 393 | | |
370 | 394 | | |
371 | 395 | | |
| |||
375 | 399 | | |
376 | 400 | | |
377 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
378 | 412 | | |
379 | 413 | | |
380 | 414 | | |
| |||
391 | 425 | | |
392 | 426 | | |
393 | 427 | | |
394 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
395 | 431 | | |
396 | 432 | | |
397 | 433 | | |
| |||
404 | 440 | | |
405 | 441 | | |
406 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
407 | 451 | | |
408 | 452 | | |
409 | 453 | | |
| |||
0 commit comments