-
Notifications
You must be signed in to change notification settings - Fork 2
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 #181 from CityOfZion/CU-86a4wpzuv-2
CU-86a4wpzuv-NEON3 - Wipe Local Data
- Loading branch information
Showing
5 changed files
with
53 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React from 'react' | ||
import { TbDiscountCheck } from 'react-icons/tb' | ||
|
||
export const SuccessIcon: React.FC = () => ( | ||
<TbDiscountCheck | ||
className={'text-blue stroke-1 bg-asphalt rounded-[50%] p-1.5 mt-8 w-[118px] h-[118px]'} | ||
aria-hidden={true} | ||
/> | ||
) |
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
28 changes: 28 additions & 0 deletions
28
src/renderer/src/routes/pages/ForgottenPassword/Success/index.tsx
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 { useTranslation } from 'react-i18next' | ||
import { Link } from '@renderer/components/Link' | ||
import { SuccessIcon } from '@renderer/components/SuccessIcon' | ||
import { WelcomeLayout } from '@renderer/layouts/Welcome' | ||
|
||
export const ForgottenPasswordSuccessPage: React.FC = () => { | ||
const { t } = useTranslation('pages', { keyPrefix: 'forgottenPasswordSuccess' }) | ||
|
||
return ( | ||
<WelcomeLayout heading={t('title')}> | ||
<div className={'flex flex-col h-full text-center gap-y-6 items-center max-w-[280px]'}> | ||
<SuccessIcon /> | ||
|
||
<p className={'text-white text-xl'}>{t('text')}</p> | ||
<p className={'text-gray-300 text-sm flex-grow'}>{t('description')}</p> | ||
|
||
<Link | ||
to={'/neon-account'} | ||
label={t('goToWelcome')} | ||
colorSchema={'neon'} | ||
variant={'contained'} | ||
className={'w-full max-w-[250px] mx-auto'} | ||
/> | ||
</div> | ||
</WelcomeLayout> | ||
) | ||
} |
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