From 76954e00b06d189482ce7803a7981fdf1c4563c8 Mon Sep 17 00:00:00 2001 From: Bhanupratap Singh Date: Tue, 7 Jun 2022 23:44:26 +0530 Subject: [PATCH] Visual changes. --- assets/Icons/352561_navigate_next_icon.svg | 1 - assets/Icons/back-svgrepo-com.svg | 39 --------- assets/Icons/bg4.svg | 1 + assets/Icons/bulb-svgrepo-com.svg | 1 - assets/Icons/chevron-right.svg | 1 - assets/Icons/compass-svgrepo-com.svg | 45 ---------- assets/Icons/compassIco.svg | 9 -- assets/Icons/github-svgrepo-com (1).svg | 1 - assets/Icons/home.svg | 42 ---------- assets/Icons/moon.svg | 38 --------- assets/Icons/moonIcon.svg | 1 - assets/Icons/next-svgrepo-com.svg | 43 ---------- assets/Icons/shareButton.svg | 1 - assets/Icons/sunButton.svg | 1 - assets/Icons/telegram-svgrepo-com.svg | 3 - screens/Explore.js | 2 +- screens/InfoPage.js | 97 +++++++++++++--------- screens/LoadingPage.js | 6 +- 18 files changed, 61 insertions(+), 271 deletions(-) delete mode 100644 assets/Icons/352561_navigate_next_icon.svg delete mode 100644 assets/Icons/back-svgrepo-com.svg create mode 100644 assets/Icons/bg4.svg delete mode 100644 assets/Icons/bulb-svgrepo-com.svg delete mode 100644 assets/Icons/chevron-right.svg delete mode 100644 assets/Icons/compass-svgrepo-com.svg delete mode 100644 assets/Icons/compassIco.svg delete mode 100644 assets/Icons/github-svgrepo-com (1).svg delete mode 100644 assets/Icons/home.svg delete mode 100644 assets/Icons/moon.svg delete mode 100644 assets/Icons/moonIcon.svg delete mode 100644 assets/Icons/next-svgrepo-com.svg delete mode 100644 assets/Icons/shareButton.svg delete mode 100644 assets/Icons/sunButton.svg delete mode 100644 assets/Icons/telegram-svgrepo-com.svg diff --git a/assets/Icons/352561_navigate_next_icon.svg b/assets/Icons/352561_navigate_next_icon.svg deleted file mode 100644 index 5e8a20b..0000000 --- a/assets/Icons/352561_navigate_next_icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/Icons/back-svgrepo-com.svg b/assets/Icons/back-svgrepo-com.svg deleted file mode 100644 index eb5c4bf..0000000 --- a/assets/Icons/back-svgrepo-com.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/Icons/bg4.svg b/assets/Icons/bg4.svg new file mode 100644 index 0000000..c7ffb88 --- /dev/null +++ b/assets/Icons/bg4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/Icons/bulb-svgrepo-com.svg b/assets/Icons/bulb-svgrepo-com.svg deleted file mode 100644 index 362646f..0000000 --- a/assets/Icons/bulb-svgrepo-com.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/Icons/chevron-right.svg b/assets/Icons/chevron-right.svg deleted file mode 100644 index e689955..0000000 --- a/assets/Icons/chevron-right.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/Icons/compass-svgrepo-com.svg b/assets/Icons/compass-svgrepo-com.svg deleted file mode 100644 index f88bcb2..0000000 --- a/assets/Icons/compass-svgrepo-com.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/Icons/compassIco.svg b/assets/Icons/compassIco.svg deleted file mode 100644 index 3205cb2..0000000 --- a/assets/Icons/compassIco.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/assets/Icons/github-svgrepo-com (1).svg b/assets/Icons/github-svgrepo-com (1).svg deleted file mode 100644 index f0d8f39..0000000 --- a/assets/Icons/github-svgrepo-com (1).svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/Icons/home.svg b/assets/Icons/home.svg deleted file mode 100644 index 152ab92..0000000 --- a/assets/Icons/home.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/Icons/moon.svg b/assets/Icons/moon.svg deleted file mode 100644 index ae69725..0000000 --- a/assets/Icons/moon.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/Icons/moonIcon.svg b/assets/Icons/moonIcon.svg deleted file mode 100644 index 6107ae1..0000000 --- a/assets/Icons/moonIcon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/Icons/next-svgrepo-com.svg b/assets/Icons/next-svgrepo-com.svg deleted file mode 100644 index c9952de..0000000 --- a/assets/Icons/next-svgrepo-com.svg +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/Icons/shareButton.svg b/assets/Icons/shareButton.svg deleted file mode 100644 index af386ec..0000000 --- a/assets/Icons/shareButton.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/Icons/sunButton.svg b/assets/Icons/sunButton.svg deleted file mode 100644 index cb926d8..0000000 --- a/assets/Icons/sunButton.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/Icons/telegram-svgrepo-com.svg b/assets/Icons/telegram-svgrepo-com.svg deleted file mode 100644 index 1aa1986..0000000 --- a/assets/Icons/telegram-svgrepo-com.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/screens/Explore.js b/screens/Explore.js index 80e952b..911d57a 100644 --- a/screens/Explore.js +++ b/screens/Explore.js @@ -24,7 +24,7 @@ const Explore = ({navigation}) => { const [cryptoPrice, setCryptoPrices] = useState([]); const [imageData, setImageData] = useState([]); const [affirmation, setAffirmation] = useState(''); - const [quote, setQuote] = useState({}); + const [quote, setQuote] = useState({qte: "Loading...", author: ""}); const [jokes, setJokes] = useState([]); const [userName, setUserName] = useState('😀'); diff --git a/screens/InfoPage.js b/screens/InfoPage.js index 19d18a6..8610e9e 100644 --- a/screens/InfoPage.js +++ b/screens/InfoPage.js @@ -8,12 +8,14 @@ import { KeyboardAvoidingView, TouchableOpacity, ToastAndroid, + ImageBackground, } from 'react-native'; import Theme from '../assets/UI/Theme'; import IconRender from '../components/UI/IconRender'; import Icons from '../assets/UI/Icons'; import Card from '../components/UI/Card'; import AsyncStorage from '@react-native-community/async-storage'; +import SunButton from '../assets/Icons/bg4.svg'; const InfoPage = ({navigation}) => { const [text, onChangeText] = React.useState(''); @@ -41,42 +43,52 @@ const InfoPage = ({navigation}) => { return ( - - - - - - Eternity News - - - News and more. - - - {/* */} - - - - - + + + + + + + + Welcome to Eternity News ! + + + Better informed briefly. + + + + + + + + - - {/* */} - + {/* */} + ); }; const styles = StyleSheet.create({ @@ -87,24 +99,27 @@ const styles = StyleSheet.create({ }, img: { // width: '20%' - marginLeft: 10, + marginLeft: 15, }, title: { fontSize: 35, - letterSpacing: 1, - marginLeft: 10, + // letterSpacing: 1, + marginLeft: 20, marginTop: 5, }, slogan: { - marginLeft: 13, + marginLeft: 22, fontSize: 13, + // letterSpacing: 1, }, input: { - width: '80%', + width: '90%', marginLeft: 10, fontSize: 20, paddingHorizontal: 10, - paddingVertical: 20, + // paddingVertical: 20, + marginTop: 20, + paddingBottom: 20, }, btn: { // flex: 2, diff --git a/screens/LoadingPage.js b/screens/LoadingPage.js index 266d4b2..72700b3 100644 --- a/screens/LoadingPage.js +++ b/screens/LoadingPage.js @@ -1,5 +1,5 @@ import React from 'react'; -import {View, Text} from 'react-native'; +import {View, Text, ImageBackground} from 'react-native'; import AsyncStorage from '@react-native-community/async-storage'; import Card from '../components/UI/Card'; import Theme from '../assets/UI/Theme'; @@ -26,8 +26,8 @@ const LoadingPage = ({navigation}) => { return ( - - Eternity News + + Eternity News );