From 838d12ebd57dc303baa1e3485d0c0080e2132553 Mon Sep 17 00:00:00 2001 From: Rica2021 Date: Sun, 30 Jun 2024 14:10:50 -0400 Subject: [PATCH] capitalize --- assets/data/exercises.json | 2 +- src/components/ExerciseListItem.jsx | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/data/exercises.json b/assets/data/exercises.json index 7619483..ffca5ed 100644 --- a/assets/data/exercises.json +++ b/assets/data/exercises.json @@ -35,7 +35,7 @@ "name": "EZ-Bar Curl", "type": "strength", "muscle": "biceps", - "equipment": "e-z_curl_bar", + "equipment": "ez curl bar", "difficulty": "intermediate", "instructions": "Stand up straight while holding an EZ curl bar at the wide outer handle. The palms of your hands should be facing forward and slightly tilted inward due to the shape of the bar. Keep your elbows close to your torso. This will be your starting position. Now, while keeping your upper arms stationary, exhale and curl the weights forward while contracting the biceps. Focus on only moving your forearms. Continue to raise the weight until your biceps are fully contracted and the bar is at shoulder level. Hold the top contracted position for a moment and squeeze the biceps. Then inhale and slowly lower the bar back to the starting position. Repeat for the recommended amount of repetitions. Variations: You can also perform this movement using an E-Z attachment hooked to a low pulley. This variation seems to really provide a good contraction at the top of the movement. You may also use the closer grip for variety purposes." }, diff --git a/src/components/ExerciseListItem.jsx b/src/components/ExerciseListItem.jsx index a60526e..99691bb 100644 --- a/src/components/ExerciseListItem.jsx +++ b/src/components/ExerciseListItem.jsx @@ -5,14 +5,13 @@ export default function ExerciseListItem({ item }) { {item.name} - {item.muscle.toUpperCase()} | {item.equipment.toUpperCase()} + {item.muscle} | {item.equipment} ); } const styles = StyleSheet.create({ - exerciseContainer: { backgroundColor: "#fff", borderRadius: 10, @@ -28,4 +27,9 @@ const styles = StyleSheet.create({ exerciseSubtitle: { color: "dimgray", }, + + subVal: { + textTransform: 'capitalize', + } + });