Skip to content

Commit

Permalink
Change link back to login
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Apr 19, 2024
1 parent 5724783 commit b4e00e5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
19 changes: 14 additions & 5 deletions src/app/(tabs)/story/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ function StoryScreen() {
style={styles.authorImage}
source={{ uri: story.author_image ? story.author_image : '' }}
/>
<Text style={[globalStyles.subHeading1Bold, { textDecorationLine: 'underline' }]}>
<Text
style={[
globalStyles.subHeading1Bold,
{ textDecorationLine: 'underline' },
]}
>
By {story.author_name}
</Text>
</View>
Expand Down Expand Up @@ -174,7 +179,12 @@ function StoryScreen() {
style={styles.authorImage}
source={{ uri: story.author_image ? story.author_image : '' }}
/>
<Text style={[globalStyles.subHeading1Bold, { textDecorationLine: 'underline' }]}>
<Text
style={[
globalStyles.subHeading1Bold,
{ textDecorationLine: 'underline' },
]}
>
By {story.author_name}
</Text>
</View>
Expand All @@ -189,9 +199,8 @@ function StoryScreen() {
<Text style={globalStyles.bodyBoldUnderline}>Back To Top</Text>
</Button>
</ScrollView>
)
}
</SafeAreaView >
)}
</SafeAreaView>
);
}

Expand Down
4 changes: 3 additions & 1 deletion src/app/auth/onboarding/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ function OnboardingScreen() {
<View style={[styles.info, styles.warning]}>
<Icon type="material" name="info-outline" color="#797979" />
<Text style={[globalStyles.subtext, styles.subtext]}>
You can only input your birthday once. Please make sure the date is correct before saving as you will not be able to change your birthday in the future.
You can only input your birthday once. Please make sure the date
is correct before saving as you will not be able to change your
birthday in the future.
</Text>
</View>
)}
Expand Down
6 changes: 3 additions & 3 deletions src/app/auth/signup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,14 @@ function SignUpScreen() {
placeholder="First Name"
label="First Name"
placeholderTextColor={colors.darkGrey}
onChange={text => setFirstName(text.replaceAll(/[^a-zA-Z]/g, ""))}
onChange={text => setFirstName(text.replaceAll(/[^a-zA-Z]/g, ''))}
value={firstName}
/>
<UserStringInput
placeholder="Last Name"
label="Last Name"
placeholderTextColor={colors.darkGrey}
onChange={text => setLastName(text.replaceAll(/[^a-zA-Z]/g, ""))}
onChange={text => setLastName(text.replaceAll(/[^a-zA-Z]/g, ''))}
value={lastName}
/>
<UserStringInput
Expand Down Expand Up @@ -264,7 +264,7 @@ function SignUpScreen() {
</View>
<View style={styles.redirectText}>
<Text style={globalStyles.body1}>Already have an account?</Text>
<Link style={globalStyles.bodyBoldUnderline} href="/auth/signup">
<Link style={globalStyles.bodyBoldUnderline} href="/auth/login">
Log In
</Link>
</View>
Expand Down

0 comments on commit b4e00e5

Please sign in to comment.