Skip to content

Commit d9c2505

Browse files
committed
refactor: Update TypeScript version and remove neck exercises
Downgrades TypeScript to a stable version (5.8.2) and removes the 'HEAD & NECK' exercises from the warm-up component. The deployment workflow for GitHub Pages has also been removed.
1 parent 9d7b485 commit d9c2505

3 files changed

Lines changed: 12 additions & 95 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"devDependencies": {
2323
"@types/node": "^22.14.0",
24-
"typescript": "^5.9",
24+
"typescript": "~5.8.2",
2525
"vite": "^6.2.0"
2626
}
27-
}
27+
}

src/warm-up.component.ts

Lines changed: 10 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -232,52 +232,17 @@ export class WarmUpComponent {
232232
},
233233
// HEAD & NECK
234234
{
235-
name: 'Neck Rolls',
235+
name: 'Head & Neck Series',
236236
category: 'HEAD & NECK',
237-
description: 'Gently releases tension in the neck and upper shoulders, improving cervical flexibility.',
238-
imageUrl: 'https://www.spotebi.com/wp-content/uploads/2015/03/neck-rolls-exercise-illustration.jpg',
237+
description: 'A complete sequence to release tension, improve flexibility, and correct posture in the neck and upper shoulders.',
238+
imageUrl: 'https://github.com/albindavidc/Arogya-Resources/blob/main/public/women/warm-up/f-head.png?raw=true',
239+
imageUrlFemale: 'https://github.com/albindavidc/Arogya-Resources/blob/main/public/women/warm-up/f-head.png?raw=true',
240+
imageUrlMale: 'https://github.com/albindavidc/Arogya-Resources/blob/main/public/men/warm-up/m-head.png?raw=true',
239241
steps: [
240-
'Sit or stand tall, relaxing your shoulders.',
241-
'Gently drop your chin to your chest.',
242-
'Slowly roll your right ear toward your right shoulder.',
243-
'Continue the half-circle by dropping your chin back to center and over to the left.',
244-
'Repeat 3-5 times. Avoid full circles if you have neck sensitivity.'
245-
]
246-
},
247-
{
248-
name: 'Neck Side Stretches',
249-
category: 'HEAD & NECK',
250-
description: 'Lateral flexion of the cervical spine, lengthening the scalenes and upper trapezius.',
251-
imageUrl: 'https://i.ytimg.com/vi/2nO0-9a-u2o/maxresdefault.jpg',
252-
steps: [
253-
'Sit tall. Gently tilt your right ear towards your right shoulder.',
254-
'You can place your right hand on your head to gently deepen the stretch.',
255-
'Keep your left shoulder relaxed and down.',
256-
'Hold for 15-30 seconds, then repeat on the other side.'
257-
]
258-
},
259-
{
260-
name: 'Chin Tucks',
261-
category: 'HEAD & NECK',
262-
description: 'Engages deep cervical flexors, correcting forward head posture.',
263-
imageUrl: 'https://www.verywellhealth.com/thmb/pSSXyIe20ATE4j37p_8c07e0b-8=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/Verywell-01-2696368-ChinTuck-5994a42b03f4020010de04f3.gif',
264-
steps: [
265-
'Sit or stand tall, looking straight ahead.',
266-
'Gently draw your head straight back, as if making a double chin.',
267-
'Keep your chin level, not tilting it up or down.',
268-
'Hold for 5 seconds, then relax. Repeat 5-10 times.'
269-
]
270-
},
271-
{
272-
name: 'Neck Flexion and Extension',
273-
category: 'HEAD & NECK',
274-
description: 'Forward and backward movements warming the anterior and posterior cervical muscles.',
275-
imageUrl: 'https://www.health.harvard.edu/media/content/images/neck-stretch-flexion-extension-M.jpg',
276-
steps: [
277-
'Sit tall with a straight spine.',
278-
'Gently drop your chin towards your chest (flexion). Hold for a breath.',
279-
'Slowly lift your head and tilt it back to look at the ceiling (extension). Hold for a breath.',
280-
'Repeat the movement slowly 5 times.'
242+
'NECK ROLLS (HALF-CIRCLES): Gently drop chin to chest. Slowly roll right ear to right shoulder, then back to center and over to the left. Repeat 3-5 times.',
243+
'SIDE STRETCHES: Tilt right ear to right shoulder, keeping the left shoulder down. Hold for 15-30 seconds, then switch sides.',
244+
'FLEXION & EXTENSION: Gently drop your chin to your chest, then slowly tilt your head back to look at the ceiling. Repeat 5 times.',
245+
'CHIN TUCKS: Keeping your gaze forward, gently draw your head straight back to create a double chin. Hold for 5 seconds and repeat 5-10 times.'
281246
]
282247
},
283248
// SHOULDERS & UPPER BACK
@@ -719,4 +684,4 @@ export class WarmUpComponent {
719684
]
720685
}
721686
];
722-
}
687+
}

0 commit comments

Comments
 (0)