このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
kikikan/backend/resources/js/child/auth/register/complete.jsx

33 行
1.0 KiB
React
Raw 通常表示 履歴

2021-10-02 12:19:28 +09:00
import React, { useEffect, useState } from 'react';
import { Button } from '@material-ui/core';
2021-10-26 13:03:16 +09:00
import { useHistory } from 'react-router';
2021-10-02 12:19:28 +09:00
2021-10-06 03:23:58 +09:00
const SignUpComplete = () => {
2021-10-02 12:19:28 +09:00
2021-10-26 13:03:16 +09:00
const history = useHistory();
2021-10-02 12:19:28 +09:00
const gotoLogin = () => {
2021-10-26 13:03:16 +09:00
history.push({pathname: '/login/c-account', state: {}});
2021-10-02 12:19:28 +09:00
}
return (
<div>
2021-10-26 13:03:16 +09:00
<p className="text-center font-weight-bold ft-25">本登録完了</p>
<span className="mt-80-px ft-18 ft-md-15 l-alert__text--success">
2021-10-02 12:19:28 +09:00
本登録が完了しました<br/>
ログイン画面よりログインを行ってください
2021-10-02 21:16:16 +09:00
</span>
2021-10-26 13:03:16 +09:00
<div className="mt-5">
<Button type="submit" fullWidth
className="btn-edit btn-default btn-h60 bg-yellow rounded-20 py-5"
onClick={gotoLogin}>
<span className="ft-16 font-weight-bold text-black">ログイン画面へ</span>
2021-10-03 15:26:02 +09:00
</Button>
2021-10-02 12:19:28 +09:00
</div>
</div>
)
}
2021-10-06 03:23:58 +09:00
export default SignUpComplete;