-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improve] Login Screen UI Update #2794
Merged
Merged
Changes from 5 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
3a8d652
* updated login screen UI according to ececny web
aliseyalvi 85af1e3
* added back/cross icon to login screen
aliseyalvi 9e3a157
* replaced mascot with ecency logo
aliseyalvi 37b8a91
* reduced logo container height to fit on smaller screens
aliseyalvi b774d09
* trim whitespace and lowercase username in login screen
aliseyalvi bc10040
Merge branch 'development' into sa/login-screen-update
noumantahir c396ab8
* clear username state when username is cleared
aliseyalvi 82fd8e0
* converted login screen to functional component
aliseyalvi 9f53fa3
* used intl for OR deivider
aliseyalvi 4bed956
* removed console log
aliseyalvi 33e3744
Merge branch 'development' into sa/login-screen-update
noumantahir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import React from 'react'; | ||
import { SvgXml } from 'react-native-svg'; | ||
|
||
const xml = ` | ||
<svg | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:cc="http://creativecommons.org/ns#" | ||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:svg="http://www.w3.org/2000/svg" | ||
xmlns="http://www.w3.org/2000/svg" | ||
id="svg639" | ||
version="1.1" | ||
viewBox="0 0 110 131" | ||
height="131px" | ||
width="110px"> | ||
<metadata | ||
id="metadata645"> | ||
<rdf:RDF> | ||
<cc:Work | ||
rdf:about=""> | ||
<dc:format>image/svg+xml</dc:format> | ||
<dc:type | ||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
<dc:title>steemconnect</dc:title> | ||
</cc:Work> | ||
</rdf:RDF> | ||
</metadata> | ||
<defs | ||
id="defs643" /> | ||
<title | ||
id="title631">hivesigner</title> | ||
<g | ||
id="g637" | ||
fillRule="evenodd" | ||
fill="none" | ||
strokeWidth="1" | ||
stroke="none"> | ||
<g | ||
style="fill:#e31337;fill-opacity:1" | ||
id="g635" | ||
fill="#FFFFFF"> | ||
<path | ||
style="fill:#e31337;fill-opacity:1" | ||
id="path633" | ||
d="M98.5416667,69.9233063 L98.5416667,45.8870172 L0,45.8870172 L0,0 L110,0 L110,22.9435086 L98.5416667,22.9435086 L98.5416667,11.4717543 L11.4583333,11.4717543 L11.4583333,34.4152629 L110,34.4152629 L110,71.7557407 C109.814829,89.9952801 99.6177682,104.956632 82.7527664,116.860728 C76.7961987,121.065148 70.4063912,124.587232 64.0012261,127.457262 C61.7434474,128.468929 59.6383537,129.328634 57.7397369,130.039339 C56.5694641,130.477405 55.6341636,130.79975 55.217168,130.930175 L54.9939202,131 L54.770964,130.929247 C54.3038614,130.781016 53.4195598,130.475943 52.2525224,130.038871 C50.3537481,129.327755 48.2495815,128.46815 45.9926252,127.45661 C39.5881896,124.586219 33.1997658,121.06434 27.2442254,116.860148 C10.5407495,105.06867 0.379911508,90.2779437 0.0104347976,72.2720521 L0,72.2720521 L0,57.3587715 L11.4583333,57.3587715 L11.4583333,69.9233063 C11.4583333,83.7531618 18.6794796,95.3214487 31.0665488,104.779305 C35.6407321,108.271816 40.6776939,111.281674 45.8998806,113.824407 C49.3619815,115.510138 52.4791717,116.790221 55.00154,117.681377 C57.521117,116.791558 60.639999,115.510854 64.1022301,113.825035 C69.3240535,111.28244 74.3609709,108.272494 78.9351124,104.77987 C91.3219921,95.3217663 98.5416667,83.7531543 98.5416667,69.9233063 Z" /> | ||
</g> | ||
</g> | ||
</svg> | ||
`; | ||
export default () => <SvgXml xml={xml} width={20} height={20} />; |
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 @@ | ||
export { default as HiveSignerIcon } from './hive-signer-icon'; |
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
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
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
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
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,25 @@ | ||
import EStyleSheet from 'react-native-extended-stylesheet'; | ||
|
||
export default EStyleSheet.create({ | ||
dividerContainer: { | ||
flexDirection: 'row', | ||
justifyContent: 'space-between', | ||
alignItems: 'center', | ||
}, | ||
divider: { | ||
borderWidth: 0.5, | ||
flex: 1, | ||
borderColor: '$primaryDarkGray', | ||
}, | ||
leftDivider: { | ||
marginLeft: 20, | ||
}, | ||
rightDivider: { | ||
marginRight: 20, | ||
}, | ||
orText: { | ||
fontSize: 16, | ||
color: '$primaryDarkGray', | ||
marginHorizontal: 8, | ||
}, | ||
}); |
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,18 @@ | ||
import React from 'react'; | ||
import { View, Text, ViewStyle } from 'react-native'; | ||
import styles from './orDividerStyles'; | ||
|
||
interface OrDividerProps { | ||
containerStyle?: ViewStyle; | ||
} | ||
const OrDivider = ({ containerStyle }: OrDividerProps) => { | ||
return ( | ||
<View style={[styles.dividerContainer, containerStyle]}> | ||
<View style={[styles.divider, styles.leftDivider]} /> | ||
<Text style={styles.orText}>OR</Text> | ||
<View style={[styles.divider, styles.rightDivider]} /> | ||
</View> | ||
); | ||
}; | ||
|
||
export default OrDivider; |
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use intl