From d3f2b3aa50b6492702490bbd1619590cdbb6e360 Mon Sep 17 00:00:00 2001 From: Rodrigo Perez Date: Fri, 15 May 2020 14:20:10 -0300 Subject: [PATCH] Notifications: Verify email screen from preferences (#324) * Veriy email screen from preferences * Padding fix --- .../VerifyEmailAddressPreferences.js | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 src/components/GlobalPreferences/Notifications/VerifyEmailAddressPreferences.js diff --git a/src/components/GlobalPreferences/Notifications/VerifyEmailAddressPreferences.js b/src/components/GlobalPreferences/Notifications/VerifyEmailAddressPreferences.js new file mode 100644 index 00000000..0ff13039 --- /dev/null +++ b/src/components/GlobalPreferences/Notifications/VerifyEmailAddressPreferences.js @@ -0,0 +1,64 @@ +import React from 'react' +import { Button, GU, textStyle, useTheme, useViewport } from '@aragon/ui' +import emailNotifcationIllustration from '../../../../src/assets/emailNotifications.svg' + +const VerifyEmailAddressPreferences = React.memo( + function VerifyEmailAddressPreferences({ email, onResend }) { + const theme = useTheme() + const { below } = useViewport() + const compact = below('medium') + + return ( +
+
+ +
+

+ Verify your email address +

+ + Almost there! We’ve sent a verification email to{' '} + {email}. Kindly check your inbox and click the link + to verify your account. + + + +
+ ) + } +) + +export default VerifyEmailAddressPreferences