Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Web]: Highlighting campaigns on landing page #980

Open
3 of 8 tasks
ssandino opened this issue Dec 11, 2024 · 0 comments · May be fixed by #981
Open
3 of 8 tasks

[Web]: Highlighting campaigns on landing page #980

ssandino opened this issue Dec 11, 2024 · 0 comments · May be fixed by #981
Assignees
Labels
website Issues concerning Website

Comments

@ssandino
Copy link
Member

Is your feature request related to a problem? Please describe.

Currently, people who hear about Social Income through a private fundraiser (e.g., Ismatu’s) and visit the website without a direct link to the campaign page are left lost. There is currently no way for them to find the campaign.

Problem: This results in donations going to the general program of Social Income instead of contributing toward the campaign’s goal.

Describe the solution/feature

Show a small badge on the landing page that leads to the campaign

Phase 1 (Hardcoded Content)

  • Create a standard badge for a campaign with a goal, including hover effects.
  • Create a loading badge that is shown initially with a small loading animation
  • Ensure the loading badge is only displayed for 2 seconds after the section comes into the user's view (needs 'use client')

Ready to be deployed

Phase 2 (Dynamic Content, New PR)

  • Display all fundraisers that have the featured boolean set to true.
  • If more than 3 fundraisers are featured, display 3 randomly selected fundraisers.
  • Fetch the name of fundraiser, number of contributors, total donations, link and goal set (to calculate the percentage toward the goal) and show it in the badge.
  • Make a new field in campaigns for a profile image (or link to it). Currently the campaing image is saved in assets.

Describe alternatives you've considered

No response

Criteria for Completion

No response

Anything else?

Figma link

Code of Conduct

  • I've read the Code of Conduct and understand my responsibilities as a member of the Social Income community
@ssandino ssandino added the website Issues concerning Website label Dec 11, 2024
@ssandino ssandino self-assigned this Dec 11, 2024
@ssandino ssandino linked a pull request Dec 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website Issues concerning Website
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant