Skip to content

Commit 5be64c1

Browse files
committed
Hotfix on profile page - responsive &
added pre-cached images for a better speed
1 parent 81f6f91 commit 5be64c1

File tree

7 files changed

+68
-36
lines changed

7 files changed

+68
-36
lines changed

App.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ const assetImages = [
1515
Images.Pro,
1616
Images.NowLogo,
1717
Images.iOSLogo,
18-
Images.androidLogo
18+
Images.androidLogo,
19+
Images.ProfilePicture,
20+
Images.CreativeTimLogo,
21+
Images.InvisionLogo,
22+
Images.RegisterBackground,
23+
Images.ProfileBackground
1924
];
2025

2126
// cache product images

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.0.1] 2019-11-12
2+
3+
### HotFix
4+
- small fix on responsive for Profile Page
5+
- added pre-cache for images for a faster experience
6+
17
## [1.0.0] 2019-11-11
28

39
### Initial Release

README.md

Lines changed: 36 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Now UI React Native is a fully coded app template built over [Galio.io](https://galio.io/?ref=creativetim), [React Native](https://facebook.github.io/react-native/?ref=creativetim) and [Expo](https://expo.io/?ref=creativetim) to allow you to create powerful and beautiful e-commerce mobile applications. We have redesigned all the usual components in Galio to make it look like Now UI's KIT, minimalistic and easy to use.
1010

11-
Start your development with a badass Design System for React Native inspired by Now UI KIT. If you like Now UI's KIT, you will love this react native app template! It features a huge number of components and screens built to fit together and look amazing.
11+
Start your development with a badass Design System for React Native inspired by Now UI KIT. If you like Now UI's KIT, you will love this react native app template! It features a huge number of components and screens built to fit together and look amazing.
1212

1313
### FULLY CODED COMPONENTS
1414

@@ -17,12 +17,12 @@ Now UI React Native features over 200 variations of components like buttons, inp
1717
You will save a lot of time going from prototyping to full-functional code, because all elements are implemented. We wanted the design process to be seamless, so switching from image to the real page is very easy to do.
1818

1919
### Components & Cards
20-
Now UI React Native comes packed with a large number of components and cards. Putting together a mobile app has never been easier than matching together different components. From the profile screen to a settings screen, you can easily customise and build your screens. We have created multiple options for you to put together and customise into pixel perfect screens.
20+
Now UI React Native comes packed with a large number of components and cards. Putting together a mobile app has never been easier than matching together different components. From the profile screen to a settings screen, you can easily customise and build your screens. We have created multiple options for you to put together and customise into pixel perfect screens.
2121

2222
View [ all components/cards here](https://demos.creative-tim.com/now-ui-react-native/index.html#cards).
2323

2424
### Example Screens
25-
If you want to get inspiration or just show something directly to your clients, you can jump start your development with our pre-built example screens. From onboarding screens to profile or discover screens, you will be able to quickly set up the basic structure for your React Native mobile project.
25+
If you want to get inspiration or just show something directly to your clients, you can jump start your development with our pre-built example screens. From onboarding screens to profile or discover screens, you will be able to quickly set up the basic structure for your React Native mobile project.
2626

2727
View [all screens here](https://demos.creative-tim.com/now-ui-react-native/index.html#screens).
2828

@@ -32,7 +32,7 @@ Let us know your thoughts below. And good luck with development!
3232

3333
## Table of Contents
3434

35-
* [Versions](#versions)
35+
* [Versions](#versions)
3636
* [Demo](#demo)
3737
* [Quick Start](#quick-start)
3838
* [Documentation](#documentation)
@@ -82,40 +82,57 @@ Within the download you'll find the following directories and files:
8282
```
8383
now-ui-react-native/
8484
├── App.js
85+
├── CHANGELOG.md
86+
├── ISSUE_TEMPLATE.md
87+
├── LICENSE.md
8588
├── README.md
8689
├── app.json
87-
├── assets
90+
├── assets/
91+
│   ├── css/
92+
│   ├── font/
93+
│   ├── fonts/
94+
│   │   └── nucleo
95+
│   ├── icon.png
96+
│   ├── imgs/
97+
│   ├── nuk-icons/
98+
│   │   ├── png/
99+
│   │   └── svg/
100+
│   └── splash.png
88101
├── babel.config.js
89-
├── components
102+
├── components/
90103
│   ├── Button.js
104+
│   ├── Card.js
105+
│   ├── Checkbox.js
91106
│   ├── DrawerItem.js
92107
│   ├── Header.js
93108
│   ├── Icon.js
94-
│   ├── Card.js
109+
│   ├── Img.js
110+
│   ├── Input.js
95111
│   ├── Select.js
112+
│   ├── Sliders.js
96113
│   ├── Switch.js
97114
│   ├── Tabs.js
98115
│   └── index.js
99-
├── constants
116+
├── constants/
100117
│   ├── Images.js
101118
│   ├── Theme.js
102-
│   ├── index.js
103119
│   ├── articles.js
120+
│   ├── index.js
104121
│   ├── tabs.js
105122
│   └── utils.js
106-
├── navigation
123+
├── navigation/
107124
│   ├── Menu.js
108125
│   └── Screens.js
109126
├── package.json
110-
── screens
111-
│   ├── Articles.js
112-
│   ├── Home.js
113-
│   ├── Elements.js
114-
│   ├── Onboarding.js
115-
│   ├── Pro.js
116-
│   ├── Profile.js
117-
│   └── Register.js
118-
127+
── screens/
128+
├── Articles.js
129+
├── Components.js
130+
├── Home.js
131+
├── Onboarding.js
132+
├── Pro.js
133+
├── Profile.js
134+
── Register.js
135+
└── Settings.js
119136
```
120137

121138

@@ -190,4 +207,3 @@ Facebook: <https://www.facebook.com/CreativeTim>
190207
Dribbble: <https://dribbble.com/creativetim>
191208

192209
Instagram: <https://www.instagram.com/CreativeTimOfficial>
193-

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"privacy": "public",
66
"sdkVersion": "35.0.0",
77
"platforms": ["ios", "android"],
8-
"version": "1.0.0",
8+
"version": "1.0.1",
99
"orientation": "portrait",
1010
"icon": "./assets/icon.png",
1111
"splash": {

constants/Images.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const Products = {
2828
export default {
2929
Onboarding,
3030
Logo,
31-
3231
ProfileBackground,
3332
ProfilePicture,
3433
RegisterBackground,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "now-ui-react-native",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Now UI React Native, based on Now UI Design System. Coded by Creative Tim",
55
"main": "node_modules/expo/AppEntry.js",
66
"scripts": {

screens/Profile.js

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ const Profile = () => {
4040
color='#ffffff'
4141
>
4242
Ryan Scheinder
43-
</Text>
43+
</Text>
44+
4445
<Text
4546
size={16}
4647
color="white"
@@ -58,42 +59,46 @@ const Profile = () => {
5859
</Block>
5960
<Block style={styles.info}>
6061
<Block row space="around">
62+
6163
<Block middle>
6264
<Text
6365
size={18}
6466
color="white"
6567
style={{ marginBottom: 4, fontFamily: 'montserrat-bold' }}
6668
>
6769
2K
68-
</Text>
70+
</Text>
6971
<Text style={{ fontFamily: 'montserrat-regular' }} size={14} color="white">
7072
Friends
71-
</Text>
73+
</Text>
7274
</Block>
75+
7376
<Block middle>
7477
<Text
7578
color="white"
7679
size={18}
7780
style={{ marginBottom: 4, fontFamily: 'montserrat-bold' }}
7881
>
7982
26
80-
</Text>
83+
</Text>
8184
<Text style={{ fontFamily: 'montserrat-regular' }} size={14} color="white">
8285
Comments
83-
</Text>
86+
</Text>
8487
</Block>
88+
8589
<Block middle>
8690
<Text
8791
color="white"
8892
size={18}
8993
style={{ marginBottom: 4, fontFamily: 'montserrat-bold' }}
9094
>
9195
48
92-
</Text>
96+
</Text>
9397
<Text style={{ fontFamily: 'montserrat-regular' }} size={14} color="white">
9498
Bookmarks
95-
</Text>
99+
</Text>
96100
</Block>
101+
97102
</Block>
98103
</Block>
99104
</Block>
@@ -223,17 +228,18 @@ const styles = StyleSheet.create({
223228
},
224229

225230
info: {
226-
marginTop: 40,
227-
paddingHorizontal: 10
231+
marginTop: 30,
232+
paddingHorizontal: 10,
233+
height: height * 0.8
228234
},
229235
avatarContainer: {
230236
position: 'relative',
231237
marginTop: -80
232238
},
233239
avatar: {
234-
width: 124,
235-
height: 124,
236-
borderRadius: 62,
240+
width: thumbMeasure,
241+
height: thumbMeasure,
242+
borderRadius: 50,
237243
borderWidth: 0
238244
},
239245
nameInfo: {

0 commit comments

Comments
 (0)