- add msg viewer
- re-add hole.xmcp.ml deprecation alert
- add http error detection
- add freshman welcome
This commit is contained in:
xmcp
2019-06-18 00:53:27 +08:00
parent a61102dde5
commit bf900ebb13
5 changed files with 104 additions and 16 deletions

View File

@@ -9,6 +9,16 @@ import {load_config,bgimg_style} from './Config';
import ImasuguApp from './imasugu/src/App';
function DeprecatedAlert(props) {
if(document.domain==='hole.xmcp.ml')
return (
<div className="flow-item">
<div className="box box-tip">
<p><b>请使用新域名访问P大树洞</b></p>
<p><a href="http://pkuhelper.pku.edu.cn/hole/">pkuhelper.pku.edu.cn/hole</a></p>
<p>当前域名将停止支持</p>
</div>
</div>
);
return null;
}