Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #802
This pull request includes various updates to the
AcrePointsCard
component and some theme adjustments. The key changes involve updating the imports, adding new assets, modifying styles, and enhancing the user interface.Changes:
Stack
withImage
in the import statement to include image assets. (dapp/src/pages/DashboardPage/AcrePointsCard.tsx
)acrePointsIllustrationSrc
for the Acre Points illustration. (dapp/src/pages/DashboardPage/AcrePointsCard.tsx
)TextMd
font weight frombold
tomedium
for the "Total Acre points" text. (dapp/src/pages/DashboardPage/AcrePointsCard.tsx
)H4
element to usesemibold
font weight and added an image below the user data skeleton. (dapp/src/pages/DashboardPage/AcrePointsCard.tsx
)Stack
withHStack
for better alignment and updated styles for the countdown and button components. (dapp/src/pages/DashboardPage/AcrePointsCard.tsx
)Note:
Theme colors and button styles is a complex change which might cause unexpected issues.
Should be handled separately. Card component updates should be handled separately as well.
Preview: