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

fixed padding on ViewCollective mobile page; fixes for Stewards list #49

Merged
merged 6 commits into from
Dec 14, 2023

Conversation

krisbitney
Copy link
Contributor

@krisbitney krisbitney commented Dec 12, 2023

Closes #32
Closes #33
Closes #35
Closes #36
Closes #38

@sirpy sirpy requested a review from L03TJ3 December 12, 2023 11:52
@L03TJ3 L03TJ3 mentioned this pull request Dec 13, 2023
4 tasks
@krisbitney krisbitney changed the title fixed padding on ViewCollective mobile page fixed padding on ViewCollective mobile page; fixes for Stewards list Dec 13, 2023
@krisbitney krisbitney merged commit dccb681 into web3Integrations Dec 14, 2023
1 check passed
@@ -60,27 +56,27 @@ function ViewCollective({
const [isDesktopResolution] = useMediaQuery({
minWidth: 612,
});
// TODO: need actual token price
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this has already been resolved

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@@ -143,7 +139,7 @@ function ViewCollective({
console.log(stopDonationModal);
}}
/>
{renderDonorsButton}
{renderDonorsButton()}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better make it its own component

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is out of scope

rowInfo="Total Paid Out"
rowData={totalPaidOut ?? 0}
currency="G$"
balance={tokenPrice * (totalPaidOut ?? 0)}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

calculations better outside of render

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

/>
<RowItem imageUrl={GreenListIcon} rowInfo="# of Payments Made" rowData={paymentsMade ?? 0} currency="" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though I think this whole component could be dry'ed up
at least these row-items could be done with a map, and storing the props in a object. same goes for the links

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is out of scope

@L03TJ3 L03TJ3 deleted the kris/page-padding branch December 20, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants