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.
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.
Notes: This page currently displays static content for the fund based on its ID, which will be populated dynamically in future iterations.
[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
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
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
frontend/gostarkme-web/components/ui/ProgressBar.tsx
Description: Implemented a
ProgressBar
component to visually indicate the funding progress.Create Donate component
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
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
frontend/gostarkme-web/components/ui/Divider.tsx
Description: Introduced a simple
Divider
component for aesthetic separation in the layout.Create Bounded layout
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