-
Notifications
You must be signed in to change notification settings - Fork 70
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
Feat/fund details page #97
Conversation
@JoelVR17 great work, one observation only |
<ProgressBar progress={34} /> | ||
<div className="flex justify-center my-2"> | ||
<p className="text-center mx-2">200 / 300 </p> | ||
<Image src={icon || ""} alt="icon" width={24} height={24} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use the ASCII value of the star emoji so we do not have to load any image, could you take a look at this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is this one for HTML display: 🌟
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is this one for HTML display: 🌟
Of course, I could add that.
@adrianvrj the change has been realized. If you need another thing, please let me know |
[feat] Add fund details page | Issue #94
Description
Create a new page which route will be: /app/fund/{fundid}, this page should be the fund details page. Please note that there are two different scenarios for this page depending on the funding state; please handle both scenarios.
Changes
Add fund details page
File:
frontend/gostarkme-web/app/fund/[fundId]/page.tsx
Description: Created a new fund details page that dynamically displays content based on the
fundId
. Implemented a layout with a bounded container and a divider for visual separation.Create Fund component
File:
frontend/gostarkme-web/components/modules/Fund/Fund.tsx
Description: Added a
Fund
component that conditionally renders theFundDonate
orFundVote
components based on the selected type.Add ProgressBar component
File:
frontend/gostarkme-web/components/ui/ProgressBar.tsx
Description: Implemented a
ProgressBar
component to visually indicate the funding progress.Create Donate component
File:
frontend/gostarkme-web/components/modules/Fund/FundDonate.tsx
Description: Developed a
FundDonate
component to handle donation input and display the progress of the funding goal.Create Vote component
File:
frontend/gostarkme-web/components/modules/Fund/FundVote.tsx
Description: Created a
FundVote
component that allows users to cast their votes for a fund.Add Divider component
File:
frontend/gostarkme-web/components/ui/Divider.tsx
Description: Introduced a simple
Divider
component for aesthetic separation in the layout.Create Bounded layout
File:
frontend/gostarkme-web/components/ui/Bounded.tsx
Description: Created a
Bounded
layout component to encapsulate the header, main content, and footer for consistent styling.Notes
Evidence