ssst-basic-template 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/App.js +4 -25
  2. package/config/styles.js +33 -0
  3. package/package.json +1 -1
package/App.js CHANGED
@@ -1,36 +1,15 @@
1
- import { View, Text, StyleSheet } from "react-native";
1
+ import { View, Text, Image, StatusBar } from "react-native";
2
+ import styles from "./config/styles";
2
3
 
3
4
  export default function App() {
4
5
  return (
5
6
  <View style={styles.container}>
7
+ <StatusBar barStyle="light-content" />
6
8
  <Text style={styles.title}>Sarajevo School of</Text>
7
9
  <Text style={styles.title}>Science and Technology</Text>
10
+ <Image source={require("./assets/splash.png")} style={styles.logo} />
8
11
  <Text style={styles.subtitle}>React Native with Expo</Text>
9
12
  </View>
10
13
  );
11
14
  }
12
15
 
13
- const styles = StyleSheet.create({
14
- container: {
15
- flex: 1,
16
- backgroundColor: "#333",
17
- alignItems: "center",
18
- justifyContent: "center",
19
- },
20
- title: {
21
- fontSize: 24,
22
- color: "white",
23
- fontWeight: "bold",
24
- textAlign: "center"
25
- },
26
- subtitle: {
27
- fontSize: 18,
28
- color: "white",
29
- fontWeight: "bold",
30
- textAlign: "center",
31
- marginTop: 20,
32
- borderTopColor: "white",
33
- borderTopWidth: 1,
34
- paddingTop: 20
35
- },
36
- });
@@ -0,0 +1,33 @@
1
+ import { StyleSheet } from "react-native";
2
+
3
+ const styles = StyleSheet.create({
4
+ container: {
5
+ flex: 1,
6
+ backgroundColor: "#333",
7
+ alignItems: "center",
8
+ justifyContent: "center",
9
+ },
10
+ title: {
11
+ fontSize: 24,
12
+ color: "white",
13
+ fontWeight: "bold",
14
+ textAlign: "center"
15
+ },
16
+ subtitle: {
17
+ fontSize: 18,
18
+ color: "white",
19
+ fontWeight: "bold",
20
+ textAlign: "center",
21
+ marginTop: 20,
22
+ borderTopColor: "white",
23
+ borderTopWidth: 1,
24
+ paddingTop: 20
25
+ },
26
+ logo: {
27
+ width: 200,
28
+ height: 200,
29
+ marginTop: 20
30
+ }
31
+ });
32
+
33
+ export default styles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ssst-basic-template",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "public": true,
5
5
 
6
6
  "scripts": {