Skip to content

Commit

Permalink
fix history
Browse files Browse the repository at this point in the history
  • Loading branch information
cohenaj194 committed Jul 6, 2024
1 parent 4b9a0d9 commit f0495ac
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions app/components/FFXIVResults/item-history/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,26 @@ const Results = ({
<TitleH2 title="Region Wide Pricing and Sales" />
<div className="flex flex-col justify-around mx-3 my-6 md:flex-row">
<div className="flex flex-col max-w-full">
<Differences
diffTitle="Median Price Per Unit Sold"
diffAmount={data.median_ppu}
className="bg-blue-100 text-blue-900 font-semibold dark:bg-blue-600 dark:text-gray-100"
/>
<Differences
diffTitle="Average Price Per Unit Sold"
diffAmount={data.average_ppu}
className="bg-blue-100 text-blue-900 font-semibold dark:bg-blue-600 dark:text-gray-100"
/>
</div>
<div className="flex flex-col max-w-full">
<Differences
diffTitle="Median Price Per Unit Sold"
diffAmount={data.median_ppu}
diffTitle="Average Purchases per day"
diffAmount={data.average_sales_per_day}
className="bg-blue-100 text-blue-900 font-semibold dark:bg-blue-600 dark:text-gray-100"
/>
<Differences
diffTitle="Total Purchases per week"
diffAmount={data.total_purchase_amount}
className="bg-blue-100 text-blue-900 font-semibold dark:bg-blue-600 dark:text-gray-100"
/>
</div>
Expand All @@ -35,11 +47,6 @@ const Results = ({
diffAmount={data.average_quantity_sold_per_day}
className="bg-blue-100 text-blue-900 font-semibold dark:bg-blue-600 dark:text-gray-100"
/>
<Differences
diffTitle="Average Amount Purchases per day"
diffAmount={data.average_sales_per_day}
className="bg-blue-100 text-blue-900 font-semibold dark:bg-blue-600 dark:text-gray-100"
/>
<Differences
diffTitle="Total Quantity Sold per week"
diffAmount={data.total_quantity_sold}
Expand Down

0 comments on commit f0495ac

Please sign in to comment.