Skip to content

Commit 9ad73e2

Browse files
committed
Update dashboard and sidebar terminology from "Workout Plan" to "Training Plan" and "Home" to "Plans", including related text and icons.
1 parent 43d317d commit 9ad73e2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

frontend/src/app/(app)/dashboard.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default function PlansScreen() {
6565
<View className="flex-row justify-between items-center">
6666
<View className="flex-1">
6767
<H3 className="mb-1">{item.name}</H3>
68-
<Small>Workout Plan • {new Date().toLocaleDateString()}</Small>
68+
<Small>Training Plan • {new Date().toLocaleDateString()}</Small>
6969
</View>
7070
<Button
7171
label="View"
@@ -83,7 +83,7 @@ export default function PlansScreen() {
8383
<View className="px-6 pt-16 pb-8 bg-white dark:bg-neutral-900 border-b border-neutral-100 dark:border-neutral-800">
8484
<View className="flex-row justify-between items-end">
8585
<View>
86-
<Small className="uppercase tracking-widest mb-1 text-brand-500 font-bold">Dashboard</Small>
86+
<Small className="uppercase tracking-widest mb-1 text-brand-500 font-bold">Training</Small>
8787
<H1>Your Plans</H1>
8888
</View>
8989
<Button
@@ -104,10 +104,10 @@ export default function PlansScreen() {
104104
) : plans.length === 0 ? (
105105
<View className="flex-1 items-center justify-center py-20">
106106
<View className="w-20 h-20 bg-neutral-100 dark:bg-neutral-800 rounded-3xl items-center justify-center mb-6">
107-
<Ionicons name="clipboard-outline" size={40} color="#a1a1aa" />
107+
<Ionicons name="compass-outline" size={40} color="#a1a1aa" />
108108
</View>
109109
<H2 className="mb-2">No plans yet</H2>
110-
<P className="text-center mb-8">Start by creating your first training plan to track your workouts.</P>
110+
<P className="text-center mb-8">Start a new training plan such as "Resistance Training" or "Calisthenics" to track your long-term progress.</P>
111111
<Button
112112
label="Create Plan"
113113
onPress={() => setModalVisible(true)}
@@ -133,12 +133,12 @@ export default function PlansScreen() {
133133
>
134134
<View className="flex-1 bg-black/50 items-center justify-center px-6">
135135
<Card variant="elevated" className="w-full max-w-sm p-6">
136-
<H2 className="mb-4">Create New Plan</H2>
137-
<P className="mb-6">Give your training plan a name like "Push & Pull" or "Leg Day".</P>
136+
<H2 className="mb-4">New Plan</H2>
137+
<P className="mb-6">Define your long-term training goal, such as "Calisthenics Master" or "Powerlifting Prep".</P>
138138

139139
<Input
140140
label="Plan Name"
141-
placeholder="Enter plan name"
141+
placeholder="e.g. Resistance Training"
142142
value={newPlanName}
143143
onChangeText={setNewPlanName}
144144
autoFocus

frontend/src/components/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default function Sidebar({ sidebarVisible, width }) {
9292
</View>
9393

9494
<ScrollView className="flex-1 -mx-2 px-2">
95-
<NavLink href="/dashboard" iconName="home-outline" label="Home" />
95+
<NavLink href="/dashboard" iconName="navigate-outline" label="Plans" />
9696
<NavLink href="/logs" iconName="add-circle-outline" label="Log Workout" />
9797
<NavLink href="/history" iconName="time-outline" label="History" />
9898
<NavLink href="/exercises" iconName="barbell-outline" label="Exercises" />

0 commit comments

Comments
 (0)