Skip to content

Commit 075c31f

Browse files
committed
refactor: standardize video filenames and update landing page video paths to use base URL environment variable
1 parent 7c9f575 commit 075c31f

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

File renamed without changes.

src/pages/Landing.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,23 @@ const TEAM = [
4444
const FEATURES = [
4545
{
4646
title: 'Seamless Connection',
47-
video: '/videos/Connecting doctor and patients.mp4'
47+
video: 'videos/Connecting_doctor_and_patients.mp4'
4848
},
4949
{
5050
title: 'Precision Medication',
51-
video: '/videos/Assigning medication.mp4'
51+
video: 'videos/Assigning_medication.mp4'
5252
},
5353
{
5454
title: 'Intuitive Diary',
55-
video: '/videos/Diary.mp4'
55+
video: 'videos/Diary.mp4'
5656
},
5757
{
5858
title: 'Smart Appointments',
59-
video: '/videos/Appointments.mp4'
59+
video: 'videos/Appointments.mp4'
6060
},
6161
{
6262
title: 'Custom Health Forms',
63-
video: '/videos/Creating a health form.mp4'
63+
video: 'videos/Creating_a_health_form.mp4'
6464
},
6565
];
6666

@@ -441,7 +441,7 @@ export default function Landing() {
441441
}}
442442
>
443443
<video
444-
src={feature.video}
444+
src={`${import.meta.env.BASE_URL}${feature.video}`}
445445
autoPlay
446446
loop
447447
muted

0 commit comments

Comments
 (0)