|
| 1 | +import React from 'react'; |
| 2 | +import './Join.scss'; |
| 3 | +import { Button, Card, Col, Form, Icon, Input, Layout, Row } from 'antd'; |
| 4 | +import { Link } from 'react-router-dom'; |
| 5 | +import Sidebar from './Sidebar'; |
| 6 | + |
| 7 | +interface State { |
| 8 | + // |
| 9 | +} |
| 10 | + |
| 11 | +export default class Article extends React.Component { |
| 12 | + state: State = { |
| 13 | + // |
| 14 | + }; |
| 15 | + |
| 16 | + onSubmit() { |
| 17 | + // |
| 18 | + } |
| 19 | + |
| 20 | + render() { |
| 21 | + return ( |
| 22 | + <div className="flex-spacer"> |
| 23 | + <Layout.Content className="banner article-banner join-banner"> |
| 24 | + <div className="container"> |
| 25 | + <div className="banner-head">特工登记</div> |
| 26 | + <p>人类的自由,蓝色的地球。泛广州抵抗军欢迎你的参战!</p> |
| 27 | + <p>It time to move!</p> |
| 28 | + </div> |
| 29 | + </Layout.Content> |
| 30 | + |
| 31 | + <Layout.Content className="container main"> |
| 32 | + <Row> |
| 33 | + <Col span={16} className="news"> |
| 34 | + <Card bordered={false}> |
| 35 | + <Form onSubmit={this.onSubmit} className="join-form"> |
| 36 | + <p>请如实认真地填写该表格,这将有助于我们更好地组织和调配战争资源,为我们共同的目标赢得更大的优势!</p> |
| 37 | + <p>你填写的信息只会提供给审核人员查看,并保证不会在未得到你允许的情况下外传。</p> |
| 38 | + |
| 39 | + <Form.Item label="特工代号"> |
| 40 | + <Input prefix={<Icon type="user" />} placeholder="Agent Name" /> |
| 41 | + </Form.Item> |
| 42 | + |
| 43 | + <Form.Item label="Telegram 用户名"> |
| 44 | + <p><i>(什么是 <a href="https://telegram.org" target="_blank">Telegram</a>?)</i></p> |
| 45 | + <p>请注意,Telegram 的 Name 与 Username 不是同一个概念,请填写 Username</p> |
| 46 | + <Input prefix={<Icon type="user" />} placeholder="Telegram Username (不带 @)" /> |
| 47 | + </Form.Item> |
| 48 | + |
| 49 | + // Map Here |
| 50 | + |
| 51 | + <Form.Item label="其他说明"> |
| 52 | + <p>可以在此简述一下你是怎么入坑的、你的入坑时间、是否认识其他特工等</p> |
| 53 | + <Input.TextArea autosize={{ minRows: 4, maxRows: 10 }} /> |
| 54 | + </Form.Item> |
| 55 | + |
| 56 | + <div className="form-action"> |
| 57 | + <Link to="/"><Button size="large">取消</Button></Link> |
| 58 | + <Button size="large" type="primary">提交</Button> |
| 59 | + </div> |
| 60 | + </Form> |
| 61 | + </Card> |
| 62 | + </Col> |
| 63 | + |
| 64 | + <Sidebar /> |
| 65 | + </Row> |
| 66 | + </Layout.Content> |
| 67 | + </div> |
| 68 | + ); |
| 69 | + } |
| 70 | +} |
0 commit comments