UI to prevent suspended users viewing the application
This commit is contained in:
24
app/scenes/ErrorSuspended/ErrorSuspended.js
Normal file
24
app/scenes/ErrorSuspended/ErrorSuspended.js
Normal file
@@ -0,0 +1,24 @@
|
||||
// @flow
|
||||
import React from 'react';
|
||||
|
||||
import CenteredContent from 'components/CenteredContent';
|
||||
import PageTitle from 'components/PageTitle';
|
||||
|
||||
const ErrorSuspended = () => (
|
||||
<CenteredContent>
|
||||
<PageTitle title="Your account has been suspended" />
|
||||
<h1>
|
||||
<span role="img" aria-label="Warning sign">
|
||||
⚠️
|
||||
</span>{' '}
|
||||
Your account has been suspended
|
||||
</h1>
|
||||
|
||||
<p>
|
||||
Team admin has suspended your account. To re-activate your account, please
|
||||
reach out to them directly.
|
||||
</p>
|
||||
</CenteredContent>
|
||||
);
|
||||
|
||||
export default ErrorSuspended;
|
||||
3
app/scenes/ErrorSuspended/index.js
Normal file
3
app/scenes/ErrorSuspended/index.js
Normal file
@@ -0,0 +1,3 @@
|
||||
// @flow
|
||||
import ErrorSuspended from './ErrorSuspended';
|
||||
export default ErrorSuspended;
|
||||
Reference in New Issue
Block a user