|
|
@ -5,7 +5,7 @@ import {Workout} from "@/model/Workout";
|
|
|
|
|
|
|
|
|
|
|
|
export default function WorkoutCardComponent() {
|
|
|
|
export default function WorkoutCardComponent() {
|
|
|
|
|
|
|
|
|
|
|
|
const exercise = new Workout("Faire caca par Terre", 25,"8 Series Workout", 412, "assets/images/Sigma-2.jpg","Intense" );
|
|
|
|
const exercise = new Workout("Développé couché", 25,"8 Series Workout", 412, "assets/images/Sigma-2.jpg","Intense" );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -16,12 +16,11 @@ export default function WorkoutCardComponent() {
|
|
|
|
<ImageBackground
|
|
|
|
<ImageBackground
|
|
|
|
source={require("assets/images/Sigma-2.jpg")}
|
|
|
|
source={require("assets/images/Sigma-2.jpg")}
|
|
|
|
className="w-full h-full"
|
|
|
|
className="w-full h-full"
|
|
|
|
resizeMode="cover"
|
|
|
|
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<View className="flex-row justify-between items-center p-4">
|
|
|
|
<View className="flex-row justify-between items-center p-4">
|
|
|
|
<View className="flex-row space-x-4">
|
|
|
|
<View className="flex-row space-x-4">
|
|
|
|
<View className="flex-row items-center">
|
|
|
|
<View className="flex-row items-center">
|
|
|
|
<Text className="text-white text-sm ml-1">{exercise.duration} min</Text>
|
|
|
|
<Text className="text-white text-sm ml-1">{exercise.duration} min</Text>@
|
|
|
|
</View>
|
|
|
|
</View>
|
|
|
|
<View className="justify-center ml-0.5">
|
|
|
|
<View className="justify-center ml-0.5">
|
|
|
|
<MaterialCommunityIcons name="square-rounded" size={8}color="white" />
|
|
|
|
<MaterialCommunityIcons name="square-rounded" size={8}color="white" />
|
|
|
|