diff --git a/src/components/formInput/formInput.js b/src/components/formInput/formInput.js
new file mode 100644
index 000000000..ff63f4b2b
--- /dev/null
+++ b/src/components/formInput/formInput.js
@@ -0,0 +1,12 @@
+import React from "react";
+import { View, TextInput } from "react-native";
+
+import styles from "../../styles/formInput.styles";
+
+const FormInput = props => (
+
+
+
+);
+
+export default FormInput;
diff --git a/src/components/index.js b/src/components/index.js
new file mode 100644
index 000000000..9fcf3bedf
--- /dev/null
+++ b/src/components/index.js
@@ -0,0 +1,8 @@
+import Logo from "./logo/logo";
+import Comment from "./comment/comment";
+import PostCard from "./post-card/postCard";
+import Reply from "./reply/reply";
+import Search from "./search/search";
+import FormInput from "./formInput/formInput";
+
+export { Logo, Comment, PostCard, Reply, Search, FormInput };
diff --git a/src/components/logo/logo.js b/src/components/logo/logo.js
new file mode 100644
index 000000000..22162e698
--- /dev/null
+++ b/src/components/logo/logo.js
@@ -0,0 +1,17 @@
+import React from "react";
+import { View, Image } from "react-native";
+
+import LOGO from "../../assets/esteem.jpg";
+import styles from "../../styles/logo.styles";
+
+const Logo = props => (
+
+
+
+);
+
+export default Logo;
diff --git a/src/navigation.js b/src/navigation.js
index 61fb6f50d..421fdbf6e 100755
--- a/src/navigation.js
+++ b/src/navigation.js
@@ -316,6 +316,7 @@ export const goToNoAuthScreens = () =>
id: "LoginScreen",
children: [
{
+ // TODO before commit navigation.eSteem.Login
component: {
name: "navigation.eSteem.Login",
},
diff --git a/src/screens/index.js b/src/screens/index.js
index b883dfc3e..81e0bdb84 100755
--- a/src/screens/index.js
+++ b/src/screens/index.js
@@ -1,5 +1,6 @@
import { Navigation } from "react-native-navigation";
+// SCREENS
import Splash from "./splash/splashContainer";
import SideMenu from "./sideMenuScreen";
import Home from "./home/home";
@@ -14,6 +15,9 @@ import Editor from "./editor/editor";
import Discover from "./discover/discover";
import Settings from "./settings/settings";
import Notifications from "./notifications/notification";
+import PinCode from "./pinCode/pinCodeContainer";
+
+// COMPONENTS
import PostCard from "../components/post-card/postCard";
import Search from "../components/search/search";
@@ -40,6 +44,7 @@ function registerScreens() {
Navigation.registerComponent("navigation.eSteem.Author", () => Author);
Navigation.registerComponent("navigation.eSteem.PostCard", () => PostCard);
Navigation.registerComponent("navigation.eSteem.Search", () => Search);
+ Navigation.registerComponent("navigation.eSteem.PinCode", () => PinCode);
}
module.exports = {
diff --git a/src/screens/login/login.js b/src/screens/login/login.js
index b806777a0..ff1c52394 100644
--- a/src/screens/login/login.js
+++ b/src/screens/login/login.js
@@ -43,6 +43,7 @@ class LoginPage extends Component {
Login(username, password)
.then(result => {
+ console.log("============", result);
if (result === true) {
RNRestart.Restart();
}
diff --git a/src/screens/pinCode/pinCodeContainer.js b/src/screens/pinCode/pinCodeContainer.js
new file mode 100644
index 000000000..9e80e1498
--- /dev/null
+++ b/src/screens/pinCode/pinCodeContainer.js
@@ -0,0 +1,16 @@
+import React from "react";
+import { Text, View } from "react-native";
+
+import PinCodeScreen from "./pinCodeScreen";
+
+class PinCodeContainer extends React.Component {
+ constructor(props) {
+ super(props);
+ }
+
+ render() {
+ return ;
+ }
+}
+
+export default PinCodeContainer;
diff --git a/src/screens/pinCode/pinCodeScreen.js b/src/screens/pinCode/pinCodeScreen.js
new file mode 100644
index 000000000..3c270d748
--- /dev/null
+++ b/src/screens/pinCode/pinCodeScreen.js
@@ -0,0 +1,55 @@
+import React from "react";
+import { Text, TouchableOpacity } from "react-native";
+import { Container, Content, Icon, Item, Input } from "native-base";
+
+import { Logo, FormInput } from "../../components";
+
+import styles from "../../styles/pinCode.styles";
+
+class PinCodeScreen extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ showPassword: false,
+ };
+ }
+ render() {
+ return (
+
+
+
+ Enter Pin Code
+ -
+
+
+ this.setState({
+ showPassword: !this.state.showPassword,
+ })
+ }
+ >
+
+
+
+
+
+ Oh, I forgot it…
+
+
+
+
+ );
+ }
+}
+
+export default PinCodeScreen;
diff --git a/src/styles/formInput.styles.js b/src/styles/formInput.styles.js
new file mode 100644
index 000000000..1a07a8abd
--- /dev/null
+++ b/src/styles/formInput.styles.js
@@ -0,0 +1,18 @@
+import { createStyle } from "react-native-theming";
+import { Dimensions } from "react-native";
+
+const deviceWidth = Dimensions.get("window").width;
+
+export default createStyle({
+ container: {
+ flex: 1,
+ alignItems: "center",
+ justifyContent: "center",
+ },
+ input: {
+ backgroundColor: "#f5f5f5",
+ borderRadius: 5,
+ padding: 15,
+ minWidth: deviceWidth / 2,
+ },
+});
diff --git a/src/styles/logo.styles.js b/src/styles/logo.styles.js
new file mode 100644
index 000000000..7a59abb4a
--- /dev/null
+++ b/src/styles/logo.styles.js
@@ -0,0 +1,18 @@
+import { createStyle } from "react-native-theming";
+import { Dimensions } from "react-native";
+
+const deviceWidth = Dimensions.get("window").width;
+const deviceHeight = Dimensions.get("window").height;
+
+export default createStyle({
+ container: {
+ flex: 1,
+ alignItems: "center",
+ justifyContent: "center",
+ },
+ logo: {
+ width: deviceWidth / 3,
+ height: deviceHeight / 6,
+ backgroundColor: "transparent",
+ },
+});
diff --git a/src/styles/pinCode.styles.js b/src/styles/pinCode.styles.js
new file mode 100644
index 000000000..7fe4f5d45
--- /dev/null
+++ b/src/styles/pinCode.styles.js
@@ -0,0 +1,41 @@
+import { createStyle } from "react-native-theming";
+import { Dimensions } from "react-native";
+
+const deviceHeight = Dimensions.get("window").height;
+const deviceWidth = Dimensions.get("window").width;
+
+export default createStyle({
+ container: {
+ flex: 1,
+ alignItems: "center",
+ justifyContent: "center",
+ },
+ title: {
+ color: "#357ce6",
+ fontSize: 20,
+ fontWeight: "bold",
+ marginTop: 25,
+ alignSelf: "center",
+ marginBottom: 25,
+ },
+ logo: {
+ marginTop: deviceHeight / 8,
+ },
+ forgotButtonText: {
+ color: "#788187",
+ fontSize: 14,
+ marginTop: 25,
+ alignSelf: "center",
+ marginBottom: 25,
+ },
+ input: {
+ backgroundColor: "#f5f5f5",
+ borderColor: "#fff",
+ borderRadius: 5,
+ paddingLeft: 15,
+ minWidth: deviceWidth / 2,
+ },
+ icon: {
+ color: "#357ce6",
+ },
+});