This repository has been archived by the owner on Apr 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: setup mobile style * chore: lint * chore: fix loading error * refactor: fix style issues * refactor: change project layout * refactor: project layout * refactor: move dataStorage into state * refactor: add title to mobile home page * refactor: fix bug in invoice input and fix styles * refactor: fix styles now they are less shitty :) * refactor: fix some bugs * Update src/components/navigationbar/desktopnavigationbar.js Co-Authored-By: ImmanuelSegol <[email protected]> * chore: fix bugs and lint code * refactor: fix issue where id dosent exsist on swapResponse * refactor: fix reverse swap flow * chore: lint
- Loading branch information
1 parent
397078b
commit 7280913
Showing
47 changed files
with
1,766 additions
and
1,110 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import * as actionTypes from '../constants/actions'; | ||
|
||
/** | ||
* Save the id of reverse swap to save | ||
* @param {String} id | ||
*/ | ||
export const dataStorageSetId = id => ({ | ||
type: actionTypes.SET_ID, | ||
payload: id, | ||
}); | ||
|
||
/** | ||
* Save asset type and amount of the reverse swap. | ||
* @param {String} asset | ||
* @param {Number} amount | ||
*/ | ||
export const dataStorageSetAsset = (asset, amount) => ({ | ||
type: actionTypes.SET_ID, | ||
payload: { | ||
asset, | ||
amount, | ||
}, | ||
}); | ||
|
||
export const dataStorageClear = () => ({ | ||
type: actionTypes.CLEAR_DATA_STORAGE, | ||
}); |
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
6 changes: 3 additions & 3 deletions
6
src/views/landingpage/landingpageActions.js → src/actions/landingPageActions.js
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
6 changes: 3 additions & 3 deletions
6
src/views/refund/refundActions.js → src/actions/refundActions.js
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
Binary file not shown.
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,44 @@ | ||
import React from 'react'; | ||
import View from '../view'; | ||
import Link from '../link'; | ||
|
||
const ModalContent = () => ( | ||
<View style={{ fontSize: '20px' }} noFlex> | ||
<p> | ||
On 4th of September 2018, in a{' '} | ||
<Link | ||
to={ | ||
'https://info.shapeshift.io/blog/2018/09/04/introducing-shapeshift-membership/' | ||
} | ||
text={'blogpost'} | ||
/> | ||
, Shapeshift, one of the largest cryptocurrency entities, scummed to user | ||
data collection. | ||
</p> | ||
<p> | ||
By creating an account on a custodial exchange like Shapeshift, you are | ||
giving the government and anyone who can access that KYC data, the power | ||
to not only know that you have crypto assets but also to confiscate them | ||
during a trade. | ||
</p> | ||
<p> | ||
We built Boltz with a dream of a fairer financial world, with the primary | ||
goal to empower users with financial sovereignty. Therefore,{' '} | ||
<b> | ||
Boltz does not and will never collect any data that could identify our | ||
users. | ||
</b> | ||
</p> | ||
<p> | ||
Also, Boltz leverages atomic swaps in a way, so that trades either | ||
complete in full or get refunded. Users can rest assured to be in | ||
possession of their funds at all times, without worrying about who is | ||
behind Boltz and if this entity is trustworthy. | ||
</p> | ||
<p> | ||
Trading <b>{`shouldn't`}</b> require an account. | ||
</p> | ||
</View> | ||
); | ||
|
||
export default ModalContent; |
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,14 @@ | ||
import React, { lazy } from 'react'; | ||
import PlatformSelector from '../../hoc/platformSelector'; | ||
|
||
const DeskTopNavigationBar = lazy(() => import('./desktopnavigationbar')); | ||
const MobileNavigationBar = lazy(() => import('./mobilenavigationbar')); | ||
|
||
const NavigationBar = props => ( | ||
<PlatformSelector | ||
mobile={<MobileNavigationBar {...props} />} | ||
desktop={<DeskTopNavigationBar {...props} />} | ||
/> | ||
); | ||
|
||
export default NavigationBar; |
Oops, something went wrong.