Skip to content

Commit

Permalink
capitalize
Browse files Browse the repository at this point in the history
  • Loading branch information
Rica2021 committed Jun 30, 2024
1 parent 659d3b1 commit 838d12e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/data/exercises.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
},
Expand Down
8 changes: 6 additions & 2 deletions src/components/ExerciseListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ export default function ExerciseListItem({ item }) {
<View style={styles.exerciseContainer}>
<Text style={styles.exerciseName}>{item.name}</Text>
<Text style={styles.exerciseSubtitle}>
{item.muscle.toUpperCase()} | {item.equipment.toUpperCase()}
<Text style={styles.subVal} >{item.muscle}</Text> | <Text style={styles.subVal} >{item.equipment}</Text>
</Text>
</View>
);
}

const styles = StyleSheet.create({

exerciseContainer: {
backgroundColor: "#fff",
borderRadius: 10,
Expand All @@ -28,4 +27,9 @@ const styles = StyleSheet.create({
exerciseSubtitle: {
color: "dimgray",
},

subVal: {
textTransform: 'capitalize',
}

});

0 comments on commit 838d12e

Please sign in to comment.