-
-
Notifications
You must be signed in to change notification settings - Fork 118
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 #685 from gargshruti30/emailConfirmationFlowMigration
Email Confirmation Flow migrated to => Emotion
- Loading branch information
Showing
5 changed files
with
37 additions
and
71 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 |
---|---|---|
|
@@ -4,25 +4,33 @@ import React from 'react'; | |
import { Link } from 'react-router-dom'; | ||
import progress from '../../../../ignitus-Shared/ignitus-DesignSystem/ignitus-Assets/ignitus-Images/img-Png/progressPage6.png'; | ||
import newsletter from '../../../../ignitus-Shared/ignitus-DesignSystem/ignitus-Assets/ignitus-Images/img-Png/newsletterAcceptIcon.png'; | ||
import { | ||
Paragraph, | ||
Heading2, | ||
} from '../../../../ignitus-Shared/ignitus-DesignSystem/ignitus-Atoms/typography'; | ||
|
||
import * as T from '../../ignitus-WelcomeFlow/Styles/style'; | ||
import * as C from '../Styles/style'; | ||
|
||
import { RoundedPrimaryButton } from '../../../../ignitus-Shared/ignitus-DesignSystem/ignitus-Atoms/buttons'; | ||
import { withErrorBoundary } from '../../../../ignitus-Shared/ignitus-ErrorHandlingComponents/errorBoundary'; | ||
import '../Styles/style.scss'; | ||
|
||
const EmailConfirmationFlow = () => ( | ||
<div className="emailConfirm"> | ||
<img className="progressBarSignup" src={progress} alt="progress-bar" /> | ||
<div className="newsletter"> | ||
<img src={newsletter} alt="newsletter" /> | ||
</div> | ||
<p className="welcome">Your email has been confirmed.</p> | ||
<p className="paragraph">Your verified email is [email protected]</p> | ||
<div className="text-center"> | ||
<button className="getStarted" type="button"> | ||
<Link to="/" className="saveText"> | ||
Get started | ||
</Link> | ||
</button> | ||
</div> | ||
</div> | ||
<T.WelcomeContainer> | ||
<T.TopSection> | ||
<T.Progress src={progress} alt="progress-bar" /> | ||
<C.NewsletterImage src={newsletter} alt="newsletter" /> | ||
<C.TopMiddleSection> | ||
<Heading2>Your email has been confirmed.</Heading2> | ||
<Paragraph> Your verified email is [email protected]</Paragraph> | ||
</C.TopMiddleSection> | ||
</T.TopSection> | ||
<C.BottomSection> | ||
<RoundedPrimaryButton> | ||
<Link to="/">Get started</Link> | ||
</RoundedPrimaryButton> | ||
</C.BottomSection> | ||
</T.WelcomeContainer> | ||
); | ||
|
||
export default withErrorBoundary(EmailConfirmationFlow); |
2 changes: 0 additions & 2 deletions
2
...uthentication/ignitus-StudentSignUpFlow/ignitus-EmailConfirmationFlow/Components/index.js
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
...uthentication/ignitus-StudentSignUpFlow/ignitus-EmailConfirmationFlow/Components/index.ts
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,2 @@ | ||
/* eslint-disable import/prefer-default-export */ | ||
export {default as EmailConfirmationFlow} from './EmailConfirmationFlow'; |
53 changes: 0 additions & 53 deletions
53
...-Authentication/ignitus-StudentSignUpFlow/ignitus-EmailConfirmationFlow/Styles/style.scss
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...us-Authentication/ignitus-StudentSignUpFlow/ignitus-EmailConfirmationFlow/Styles/style.ts
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,11 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const NewsletterImage = styled.img``; | ||
|
||
export const BottomSection = styled.div` | ||
margin-top: 3rem; | ||
`; | ||
|
||
export const TopMiddleSection = styled.div` | ||
margin-top: 1rem; | ||
`; |