mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 19:57:52 +01:00
* Add tour * Add instructions to set password for OAuth users * Tenant signup improvement * Fix bug on user soft delete * Slighlty darken background color * Add a stronger confirmation for board deletion
36 lines
905 B
TypeScript
36 lines
905 B
TypeScript
import * as React from 'react';
|
|
import Box from '../common/Box';
|
|
|
|
interface Props {
|
|
baseUrl: string;
|
|
subdomain: string;
|
|
feedbackSpaceCreatedImage: string;
|
|
}
|
|
|
|
const ConfirmOAuthSignUpPage = ({
|
|
baseUrl,
|
|
subdomain,
|
|
feedbackSpaceCreatedImage,
|
|
}: Props) => {
|
|
let redirectUrl = new URL(baseUrl);
|
|
redirectUrl.hostname = `${subdomain}.${redirectUrl.hostname}`;
|
|
redirectUrl.pathname = '/users/sign_in';
|
|
|
|
return (
|
|
<Box>
|
|
<h3>You're all set!</h3>
|
|
|
|
<img src={feedbackSpaceCreatedImage} width={64} height={64} style={{margin: '12px auto'}} />
|
|
|
|
<p style={{textAlign: 'center'}}>
|
|
You'll be redirected to your feedback space in a few seconds.
|
|
</p>
|
|
|
|
<p style={{textAlign: 'center'}}>
|
|
If you are not redirected, please <a href={redirectUrl.toString()} className="link">click here</a>.
|
|
</p>
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default ConfirmOAuthSignUpPage; |