-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from input-output-hk/feat/lw-10801-update-copy
feat: update nami migration copy [LW-10801]
- Loading branch information
Showing
22 changed files
with
214 additions
and
176 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
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
2 changes: 1 addition & 1 deletion
2
src/ui/lace-migration/components/almost-there/almost-there.stories.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
2 changes: 1 addition & 1 deletion
2
src/ui/lace-migration/components/carousel/carousel.component.jsx
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
14 changes: 7 additions & 7 deletions
14
src/ui/lace-migration/components/carousel/carousel.stories.jsx
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
28 changes: 28 additions & 0 deletions
28
src/ui/lace-migration/components/carousel/slides/Slide1.component.jsx
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,28 @@ | ||
import React from 'react'; | ||
import { Box } from '@chakra-ui/react'; | ||
import { Slide } from '../../slide.component'; | ||
import { ReactComponent as Arrow } from '../../../assets/arrow.svg'; | ||
import { ReactComponent as BackpackImg } from '../../../assets/backpack.svg'; | ||
|
||
export const Slide1 = ({ onAction }) => { | ||
return ( | ||
<Slide | ||
showTerms | ||
title="It's time to migrate your wallet!" | ||
image={ | ||
<Box mb={'20px'}> | ||
<BackpackImg width="91px" height="126px" /> | ||
</Box> | ||
} | ||
description={[ | ||
'The Nami Wallet is now part of the', | ||
'IOG family and integrated into Lace.', | ||
'Click ‘Migrate your wallet‘', | ||
'to begin the process', | ||
]} | ||
buttonText="Migrate your wallet" | ||
buttonIcon={Arrow} | ||
onButtonClick={onAction} | ||
/> | ||
); | ||
}; |
6 changes: 3 additions & 3 deletions
6
...ents/new-features/new-features.stories.js → ...ponents/carousel/slides/Slide1.stories.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
33 changes: 33 additions & 0 deletions
33
src/ui/lace-migration/components/carousel/slides/Slide2.component.jsx
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,33 @@ | ||
import React from 'react'; | ||
import { Slide } from '../../slide.component'; | ||
import { ReactComponent as Arrow } from '../../../assets/arrow.svg'; | ||
import { ReactComponent as SeamlessDark } from '../../../assets/grouped-dark-mode.svg'; | ||
import { ReactComponent as SeamlessWhite } from '../../../assets/grouped-white-mode.svg'; | ||
import { useColorMode, Box } from '@chakra-ui/react'; | ||
|
||
export const Slide2 = ({ onAction }) => { | ||
const { colorMode } = useColorMode(); | ||
return ( | ||
<Slide | ||
showTerms | ||
title="Same experience, better infrastructure" | ||
image={ | ||
<Box mb={'40px'}> | ||
{colorMode === 'light' ? ( | ||
<SeamlessWhite width="208px" height="102px" /> | ||
) : ( | ||
<SeamlessDark width="208px" height="102px" /> | ||
)} | ||
</Box> | ||
} | ||
description={[ | ||
'On the surface, Nami is the same.', | ||
"But now, with Lace's advanced", | ||
'technology supporting it', | ||
]} | ||
buttonText="Migrate your wallet" | ||
buttonIcon={Arrow} | ||
onButtonClick={onAction} | ||
/> | ||
); | ||
}; |
6 changes: 3 additions & 3 deletions
6
...mless-upgrade/seamless-upgrade.stories.js → ...ponents/carousel/slides/Slide2.stories.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
26 changes: 26 additions & 0 deletions
26
src/ui/lace-migration/components/carousel/slides/Slide3.component.jsx
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,26 @@ | ||
import React from 'react'; | ||
import { Slide } from '../../slide.component'; | ||
import { ReactComponent as Arrow } from '../../../assets/arrow.svg'; | ||
import { Box } from '@chakra-ui/react'; | ||
import { ReactComponent as FeaturesImg } from '../../../assets/features.svg'; | ||
|
||
export const Slide3 = ({ onAction }) => { | ||
return ( | ||
<Slide | ||
showTerms | ||
title="Seamless switch" | ||
description={[ | ||
"Send all your wallets to Lace's new", | ||
'Nami Mode with one single click!', | ||
]} | ||
image={ | ||
<Box> | ||
<FeaturesImg width="296px" height="172px" /> | ||
</Box> | ||
} | ||
buttonText="Migrate your wallet" | ||
buttonIcon={Arrow} | ||
onButtonClick={onAction} | ||
/> | ||
); | ||
}; |
6 changes: 3 additions & 3 deletions
6
...to-upgrade/its-time-to-upgrade.stories.js → ...ponents/carousel/slides/Slide3.stories.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export { AllDone } from './all-done/all-done.component'; | ||
export { AlmostThere } from './almost-there/almost-there.component'; | ||
export { Carousel } from './carousel/carousel.component'; | ||
export { ItsTimetToUpgrade } from './its-time-to-upgrade/its-time-to-upgrade.component'; | ||
export { NewFeatures } from './new-features/new-features.component'; | ||
export { Slide1 } from './carousel/slides/Slide1.component'; | ||
export { Slide3 } from './carousel/slides/Slide3.component'; | ||
export { SeamlessUpgrade } from './seamless-upgrade/seamless-upgrade.component'; |
23 changes: 0 additions & 23 deletions
23
src/ui/lace-migration/components/its-time-to-upgrade/its-time-to-upgrade.component.jsx
This file was deleted.
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
Oops, something went wrong.