diff --git a/src/ui/components/TotalVolumeCard.tsx b/src/ui/components/TotalVolumeCard.tsx index 8e4aaaa..88b21f5 100644 --- a/src/ui/components/TotalVolumeCard.tsx +++ b/src/ui/components/TotalVolumeCard.tsx @@ -13,7 +13,7 @@ export function TotalVolumeCard(): React.ReactElement { ); if (isLoading) { - return
; + return
; } const percentage = totalGoal > 0 ? Math.min((totalVolume / totalGoal) * 100, 100) : 0; @@ -27,23 +27,32 @@ export function TotalVolumeCard(): React.ReactElement { }; return ( -
-

Total Weekly Volume

- -
- {volumeDisplay} - sets +
+
+
+

+ Total Weekly Volume +

+
+ {volumeDisplay} + + sets + +
+
+
+

Target {totalGoal}

+

sets/week

+
{/* Progress Bar */} -
+
- -

Target: {totalGoal} sets/week

); } diff --git a/src/ui/pages/Dashboard.tsx b/src/ui/pages/Dashboard.tsx index 2d5342f..2f77c42 100644 --- a/src/ui/pages/Dashboard.tsx +++ b/src/ui/pages/Dashboard.tsx @@ -77,6 +77,9 @@ export function Dashboard(): React.ReactElement {

Workout Overview

+ {/* Total Weekly Volume */} + + {/* Weekly Activity Chart */} @@ -95,8 +98,6 @@ export function Dashboard(): React.ReactElement { )}
- {/* Total Volume */} -
); }