+ Latest: {new Date(latest.measured_at).toLocaleDateString()}
+ {velocity && (
+
+ ({velocity.weight}kg/mo {velocity.direction === "up" ? "↑" : "↓"})
+
+ )}
+
+ {latest.weight_kg && (
+
+
Weight
+
{latest.weight_kg} kg
+ {weightPercentile && (
+
+ {weightPercentile} percentile
+ {savedGoals.weightKg && (
+
+ → {((latest.weight_kg / savedGoals.weightKg) * 100).toFixed(0)}% of goal
+
+ )}
+
+ )}
+
+ )}
+ {latest.height_cm && (
+
+
Height
+
{latest.height_cm} cm
+ {heightPercentile && (
+
+ {heightPercentile} percentile
+ {savedGoals.heightCm && (
+
+ → {((latest.height_cm / savedGoals.heightCm) * 100).toFixed(0)}% of goal
+
+ )}
+
+ )}
+
+ )}
+ {latest.head_circumference_cm && (
+
+
Head
+
{latest.head_circumference_cm} cm
+ {headPercentile && (
+
+ {headPercentile} percentile
+
+ )}
+
+ )}
+