-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YOMA-201, YOMA-202,YOMA-203 - feat(Cv page, Profile page, About me): …
…Muliple pages (#6) * added bottom tab bar with icons * added UI cards with styles * ran prettier * added profile photo component * Added custom textinputs * added rn fetch blob and image picker package * added props for header component * Profile page update * initial about us page setup * about updation completed * added test for rnfetchblob and added modal * format:ran prettier * chore: sorting import files and folder name changes * chore: optimizing import statements * refactor(colors): removing inline colors and adding into common file * refactor(colors): removing inline colors in progress circle component * refactor(Typography): adding text into pages * refactor(inline styles): adding styles into styles dedicated files
- Loading branch information
sairanjitAW
authored
Apr 12, 2021
1 parent
639e775
commit 48ad784
Showing
103 changed files
with
1,693 additions
and
83 deletions.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
assets: ['./src/assets/Fonts'], | ||
assets: ['./src/assets/fonts'], | ||
} |
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 |
---|---|---|
@@ -1,9 +1,19 @@ | ||
import { AxiosInstance } from 'axios' | ||
|
||
import password from './password' | ||
import photo from './photo' | ||
|
||
export default function (instance: AxiosInstance) { | ||
return { | ||
edit(userId: string, body: any, config = {}) { | ||
return instance.patch(`users/${userId}`, body, config) | ||
}, | ||
|
||
getById(userId: string, config = {}) { | ||
return instance.get(`users/${userId}`, config) | ||
}, | ||
|
||
password: password(instance), | ||
photo: photo(), | ||
} | ||
} |
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,21 @@ | ||
import { AUTH_TOKEN, BASE_URL } from 'helpers/helpers' | ||
import RNFetchBlob from 'rn-fetch-blob' | ||
|
||
export default function () { | ||
return { | ||
create(userId: string, photo: object) { | ||
return RNFetchBlob.fetch( | ||
'POST', | ||
`${BASE_URL}users/${userId}/photo`, | ||
{ | ||
Authorization: `Bearer ${AUTH_TOKEN}`, | ||
'Content-Type': 'multipart/form-data', | ||
}, | ||
[photo], | ||
).catch(err => { | ||
console.log('err', err) | ||
throw err | ||
}) | ||
}, | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,47 @@ | ||
import BackIcon from './BackIcon.svg' | ||
import BlueRightCircle from './BlueRightCircle.svg' | ||
import BlueTick from './BlueTick.svg' | ||
import FacebookIcon from './FacebookIcon.svg' | ||
import GoogleIcon from './GoogleIcon.svg' | ||
import LightYellowPattern from './LightYellowPattern.svg' | ||
import Message from './Message.svg' | ||
import PurpleQuarter from './PurpleQuarter.svg' | ||
import PurpleSemiCircle from './PurpleSemiCircle.svg' | ||
import RLabsLogo from './RLabsLogo.svg' | ||
import RedSemiCircle from './RedSemiCircle.svg' | ||
import WhiteLogo from './WhiteLogo.svg' | ||
import YellowCircleLeft from './YellowCircleLeft.svg' | ||
import YellowCircleRight from './YellowCircleRight.svg' | ||
import BackIconGrey from './icon-back-grey.svg' | ||
import ChallengesIcon from './icon-challenges.svg' | ||
import CoursesIcon from './icon-courses.svg' | ||
import DigitalCvIcon from './icon-digital-cv.svg' | ||
import EditIcon from './icon-edit.svg' | ||
import ProfileIcon from './icon-profile.svg' | ||
import MarketplaceIcon from './marketplaceIcon.svg' | ||
import ZIcon from './zIcon.svg' | ||
|
||
export { | ||
BackIcon, | ||
BackIconGrey, | ||
BlueRightCircle, | ||
BlueTick, | ||
ChallengesIcon, | ||
CoursesIcon, | ||
DigitalCvIcon, | ||
EditIcon, | ||
FacebookIcon, | ||
GoogleIcon, | ||
LightYellowPattern, | ||
MarketplaceIcon, | ||
Message, | ||
ProfileIcon, | ||
PurpleQuarter, | ||
PurpleSemiCircle, | ||
RedSemiCircle, | ||
RLabsLogo, | ||
WhiteLogo, | ||
YellowCircleLeft, | ||
YellowCircleRight, | ||
ZIcon, | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.