瀏覽代碼

fixed bug in tabata.

Tomi Cvetic 4 年之前
父節點
當前提交
27ce1496b5
共有 1 個文件被更改,包括 232 次插入1 次删除
  1. 232 1
      frontend/initial-data.ts

+ 232 - 1
frontend/initial-data.ts

@@ -73,7 +73,7 @@ const data: { trainings: ITraining[]; polls: any } = {
           id: "block1",
           sequence: 0,
           title: "Tabata",
-          repetitions: 2,
+          repetitions: 1,
           rest: 60,
           video: "/media/tabata.mp4",
           format: {
@@ -281,7 +281,238 @@ const data: { trainings: ITraining[]; polls: any } = {
             {
               id: "block4",
               duration: 20,
+              description:
+                "Try to move the shoulders away from the floor. More than I did in the video 🙊",
+              exercises: [
+                {
+                  id: "exercise1",
+                  name: "Cross V-up",
+                  repetitions: 1,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+              ],
+            },
+          ],
+        },
+        {
+          id: "block1",
+          sequence: 0,
+          title: "Tabata",
+          repetitions: 1,
+          rest: 60,
+          video: "/media/tabata.mp4",
+          format: {
+            id: "format0",
+            name: "Sequence",
+            description: "Sequence of exercises",
+          },
+          blocks: [
+            {
+              id: "block4",
+              duration: 10,
+              exercises: [
+                {
+                  id: "exercise1",
+                  name: "Prepare",
+                  repetitions: 1,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+              ],
+            },
+            {
+              id: "block4",
+              duration: 20,
+              description:
+                "It's only 20 seconds! Try to stay dynamic on the beat.",
               rest: 10,
+              exercises: [
+                {
+                  id: "exercise1",
+                  name: "Power lunge",
+                  repetitions: 4,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+                {
+                  id: "exercise2",
+                  name: "Squat jump",
+                  repetitions: 2,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+              ],
+            },
+            {
+              id: "block4",
+              duration: 20,
+              description:
+                "Catch yourself and control the downward move, then explode back up again.",
+              rest: 10,
+              exercises: [
+                {
+                  id: "exercise1",
+                  name: "Plyo pushup",
+                  repetitions: 1,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+              ],
+            },
+            {
+              id: "block4",
+              duration: 20,
+              rest: 10,
+              exercises: [
+                {
+                  id: "exercise1",
+                  name: "Ice skater",
+                  repetitions: 1,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+              ],
+            },
+            {
+              id: "block4",
+              duration: 20,
+              description:
+                "The higher you can keep your pelvis, the harder it gets.",
+              rest: 10,
+              exercises: [
+                {
+                  id: "exercise1",
+                  name: "Kick up",
+                  repetitions: 1,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+              ],
+            },
+            {
+              id: "block4",
+              duration: 20,
+              description:
+                "You have plenty of time for the squat jump. Go for height this time!",
+              rest: 10,
+              exercises: [
+                {
+                  id: "exercise1",
+                  name: "Lateral jump squat",
+                  repetitions: 2,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+                {
+                  id: "exercise1",
+                  name: "Tuck jump burpee",
+                  repetitions: 1,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+              ],
+            },
+            {
+              id: "block4",
+              duration: 20,
+              rest: 10,
+              description:
+                "Focus on keeping your hips up. Don't forget to change the side in the second round!",
+              exercises: [
+                {
+                  id: "exercise1",
+                  name: "Side plank with leg lift and kick forward",
+                  repetitions: 1,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+              ],
+            },
+            {
+              id: "block4",
+              duration: 20,
+              rest: 10,
+              description: "Go faster than the beat if you can.",
+              exercises: [
+                {
+                  id: "exercise1",
+                  name: "X-Man",
+                  repetitions: 1,
+                  description: "",
+                  videos: [],
+                  pictures: [],
+                  targets: ["Thighs", "Glutes"],
+                  baseExercise: {
+                    id: "baseExercise1",
+                    name: "Squat",
+                  },
+                },
+              ],
+            },
+            {
+              id: "block4",
+              duration: 20,
               description:
                 "Try to move the shoulders away from the floor. More than I did in the video 🙊",
               exercises: [