-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaks to alert modal component styling. Replaced invalidLogin handli…
…ng with invalid login alert modal.
- Loading branch information
1 parent
1b2fab4
commit 42feccd
Showing
4 changed files
with
38 additions
and
9 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,21 @@ | ||
import React from 'react' | ||
import Modal from './modal' | ||
|
||
const InvalidLoginModal = ({onClose}) => ( | ||
<Modal onClose={onClose} ignoreClose={true} smaller={true} alert={true}> | ||
<div> | ||
<span className='alert-title'> | ||
Your Session is No Longer Valid | ||
</span> | ||
<p className='alert-description'>Your session with Materia is considered invalid and you have been logged out. You'll have to log back in to see this content.</p> | ||
<span className='buttons'> | ||
<a className='action_button' | ||
onClick={onClose}> | ||
Okay | ||
</a> | ||
</span> | ||
</div> | ||
</Modal> | ||
) | ||
|
||
export default InvalidLoginModal |
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