Open suitedaces opened 6 months ago
@devapeai /code make sure the positive numbers are green and number percentages are red
🔍 Starting the search for relevant code...
Searched for keywords related to dashboard, revenue, subscription, sales, percentage change, and color.
+19% from last month
+20.1% from last month
To address the issue, we'll modify the text color based on the percentage change. This involves:
File | Changes |
---|---|
app/(dashboard)/dashboard/page.tsx | Modify the Card components to include conditional styling for percentage change text. |
🚀 Pull Request created successfully! Check it out here: PR link.
👀 Review and merge when ready. Feel free to reach out if there are any issues or further modifications needed. Happy coding! 🎉
In our dashboard, under revenue, subscription, sales, etc: where you see <+number%> last month, i want the number to be green if it's a positive % change, and red if it's a negative percentage change