Skip to content

Commit

Permalink
Visual changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
wantedbear007 committed Jun 7, 2022
1 parent 2894858 commit 76954e0
Show file tree
Hide file tree
Showing 18 changed files with 61 additions and 271 deletions.
1 change: 0 additions & 1 deletion assets/Icons/352561_navigate_next_icon.svg

This file was deleted.

39 changes: 0 additions & 39 deletions assets/Icons/back-svgrepo-com.svg

This file was deleted.

1 change: 1 addition & 0 deletions assets/Icons/bg4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion assets/Icons/bulb-svgrepo-com.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/Icons/chevron-right.svg

This file was deleted.

45 changes: 0 additions & 45 deletions assets/Icons/compass-svgrepo-com.svg

This file was deleted.

9 changes: 0 additions & 9 deletions assets/Icons/compassIco.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/Icons/github-svgrepo-com (1).svg

This file was deleted.

42 changes: 0 additions & 42 deletions assets/Icons/home.svg

This file was deleted.

38 changes: 0 additions & 38 deletions assets/Icons/moon.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/Icons/moonIcon.svg

This file was deleted.

43 changes: 0 additions & 43 deletions assets/Icons/next-svgrepo-com.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/Icons/shareButton.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/Icons/sunButton.svg

This file was deleted.

3 changes: 0 additions & 3 deletions assets/Icons/telegram-svgrepo-com.svg

This file was deleted.

2 changes: 1 addition & 1 deletion screens/Explore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('😀');

Expand Down
97 changes: 56 additions & 41 deletions screens/InfoPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('');
Expand Down Expand Up @@ -41,42 +43,52 @@ const InfoPage = ({navigation}) => {

return (
<Card>
<View style={[styles.parentContainer]}>
<View />
<KeyboardAvoidingView>
<Image
source={require('../assets/Images/appLogo.png')}
style={styles.img}
/>
<Text style={[styles.title, {color: colors.text}]}>
Eternity News
</Text>
<Text style={[styles.slogan, {color: colors.disabledText}]}>
News and more.
</Text>
<TextInput
style={[styles.input, {color: colors.text}]}
onChangeText={onChangeText}
value={text}
placeholder={'Enter your name'}
autoCapitalize="words"
multiline={false}
placeholderTextColor={colors.disabledText}
underlineColorAndroid={colors.text}
/>
{/* <View style={{backgroundColor: 'blue', }}> */}
</KeyboardAvoidingView>
<View style={{alignItems: 'center'}}>
<TouchableOpacity
onPress={buttonHandler}
activeOpacity={0.4}
style={[styles.btn, {backgroundColor: colors.accent}]}>
<IconRender opacity={true} icon={staticNextButton} />
</TouchableOpacity>

<SunButton
style={{
position: 'absolute',
top: 0,
left: 0,
right: 16,
bottom: 0,
flex: 1
}}
/>
<View style={[styles.parentContainer]}>
<View />
<KeyboardAvoidingView>
<Image
source={require('../assets/Images/appLogo.png')}
style={styles.img}
/>
<Text style={[styles.title, {color: colors.text}]}>
Welcome to Eternity News !
</Text>
<Text style={[styles.slogan, {color: colors.disabledText}]}>
Better informed briefly.
</Text>
<TextInput
style={[styles.input, {color: colors.text}]}
onChangeText={onChangeText}
value={text}
placeholder={'Enter your name'}
autoCapitalize="words"
multiline={false}
placeholderTextColor={colors.disabledText}
underlineColorAndroid={colors.disabledText}
/>
</KeyboardAvoidingView>
<View style={{alignItems: 'center'}}>
<TouchableOpacity
onPress={buttonHandler}
activeOpacity={0.4}
style={[styles.btn, {backgroundColor: colors.accent}]}>
<IconRender onPress={buttonHandler} opacity={true} icon={staticNextButton} />
</TouchableOpacity>
</View>
</View>
</View>
{/* </View> */}
</Card>
{/* </ImageBackground> */}
</Card>
);
};
const styles = StyleSheet.create({
Expand All @@ -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,
Expand Down
Loading

0 comments on commit 76954e0

Please sign in to comment.