Skip to content

Commit 7125625

Browse files
committed
fixed folder location for home pics
1 parent 5c81140 commit 7125625

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

KonditionExpo/app/home.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const HomeScreen = ({ navigation }) => {
1515
const workoutProgressData = [20, 40, 30, 60, 90, 80, 70];
1616
const workoutDays = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
1717
const latestWorkouts = [
18-
{ id: '1', type: 'Fullbody Workout', calories: 180, duration: '20 minutes', icon: require('./assets/fullbody.png') },
19-
{ id: '2', type: 'Lowerbody Workout', calories: 200, duration: '30 minutes', icon: require('./assets/lowerbody.png') },
18+
{ id: '1', type: 'Fullbody Workout', calories: 180, duration: '20 minutes', icon: require('./assets/images/fullbody.png') },
19+
{ id: '2', type: 'Lowerbody Workout', calories: 200, duration: '30 minutes', icon: require('./assets/images/lowerbody.png') },
2020
// ... more workouts
2121
];
2222

@@ -28,7 +28,7 @@ const HomeScreen = ({ navigation }) => {
2828
<Text style={styles.welcomeText}>Welcome Back,</Text>
2929
<Text style={styles.userName}>Andy Vo</Text>
3030
<TouchableOpacity style={styles.notificationBtn} onPress={() => navigation.navigate('Notifications')}>
31-
<Image source={require('./assets/bell.png')} style={styles.bellIcon} />
31+
<Image source={require('./assets/images/bell.png')} style={styles.bellIcon} />
3232
</TouchableOpacity>
3333
</View>
3434

@@ -147,7 +147,7 @@ const HomeScreen = ({ navigation }) => {
147147
<Text style={styles.workoutType}>{w.type}</Text>
148148
<Text style={styles.workoutMeta}>{w.calories} Calories Burn | {w.duration}</Text>
149149
</View>
150-
<Image source={require('./assets/arrow-right.png')} style={styles.arrowIcon} />
150+
<Image source={require('./assets/images/arrow-right.png')} style={styles.arrowIcon} />
151151
</TouchableOpacity>
152152
))}
153153
</View>
@@ -156,19 +156,19 @@ const HomeScreen = ({ navigation }) => {
156156
{/* Bottom Navigation */}
157157
<View style={styles.bottomNav}>
158158
<TouchableOpacity onPress={() => navigation.navigate('Home')}>
159-
<Image source={require('./assets/home-active.png')} style={styles.navIcon} />
159+
<Image source={require('./assets/images/home-active.png')} style={styles.navIcon} />
160160
</TouchableOpacity>
161161
<TouchableOpacity onPress={() => navigation.navigate('Progress')}>
162-
<Image source={require('./assets/chart.png')} style={styles.navIcon} />
162+
<Image source={require('./assets/images/chart.png')} style={styles.navIcon} />
163163
</TouchableOpacity>
164164
<TouchableOpacity onPress={() => navigation.navigate('Search')} style={styles.centerButton}>
165-
<Image source={require('./assets/search.png')} style={styles.searchIcon} />
165+
<Image source={require('./assets/images/search.png')} style={styles.searchIcon} />
166166
</TouchableOpacity>
167167
<TouchableOpacity onPress={() => navigation.navigate('Camera')}>
168-
<Image source={require('./assets/camera.png')} style={styles.navIcon} />
168+
<Image source={require('./assets/images/camera.png')} style={styles.navIcon} />
169169
</TouchableOpacity>
170170
<TouchableOpacity onPress={() => navigation.navigate('Profile')}>
171-
<Image source={require('./assets/user.png')} style={styles.navIcon} />
171+
<Image source={require('./assets/images/user.png')} style={styles.navIcon} />
172172
</TouchableOpacity>
173173
</View>
174174
</SafeAreaView>

0 commit comments

Comments
 (0)