-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68a2585
commit 990cc74
Showing
5 changed files
with
28 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ export default function App() { | |
) | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
import React from 'react'; | ||
import { StyleSheet, View, Text } from 'react-native'; | ||
import { globalStyles } from './styles/global'; | ||
|
||
export default function About() { | ||
return ( | ||
<View style={styles.container}> | ||
<View style={globalStyles.container}> | ||
<Text>About Screen</Text> | ||
</View> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
padding: 24, | ||
}, | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,11 @@ | ||
import React from 'react'; | ||
import { StyleSheet, View, Text } from 'react-native'; | ||
import { globalStyles } from '../styles/global'; | ||
|
||
export default function Home() { | ||
return ( | ||
<View style={styles.container}> | ||
<Text style={styles.titleText}>Home Screen</Text> | ||
<View style={globalStyles.container}> | ||
<Text style={globalStyles.titleText}>Home Screen</Text> | ||
</View> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
padding: 24, | ||
}, | ||
titleText: { | ||
fontFamily: 'nunito-bold', | ||
fontSize: 18, | ||
} | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
import React from 'react'; | ||
import { StyleSheet, View, Text } from 'react-native'; | ||
import { globalStyles } from '../styles/global'; | ||
|
||
export default function ReviewDetails() { | ||
return ( | ||
<View style={styles.container}> | ||
<View style={globalStyles.container}> | ||
<Text>ReviewDetails Screen</Text> | ||
</View> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
padding: 24, | ||
}, | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { StyleSheet } from 'react-native'; | ||
|
||
export const globalStyles = StyleSheet.create({ | ||
titleText: { | ||
fontSize: 18, | ||
fontWeight: 'bold', | ||
color: '#333', | ||
}, | ||
paragraph: { | ||
marginVertical: 8, | ||
lineHeight: 20, | ||
}, | ||
container: { | ||
flex: 1, | ||
padding: 20, | ||
}, | ||
}); |