mirror of
https://github.com/wassname/talk.git
synced 2026-07-12 02:44:32 +08:00
67 lines
1.7 KiB
TypeScript
67 lines
1.7 KiB
TypeScript
import * as React from "react";
|
|
import { StatelessComponent } from "react";
|
|
import * as styles from "./SignUp.css";
|
|
|
|
import {
|
|
Button,
|
|
Flex,
|
|
FormField,
|
|
InputLabel,
|
|
TextField,
|
|
Typography,
|
|
} from "talk-ui/components";
|
|
|
|
const SignUp: StatelessComponent = props => {
|
|
return (
|
|
<Flex itemGutter direction="column" className={styles.root}>
|
|
<Flex itemGutter direction="column">
|
|
<Typography variant="heading1" align="center">
|
|
Sign up to join the conversation
|
|
</Typography>
|
|
|
|
<FormField>
|
|
<InputLabel>Email Address</InputLabel>
|
|
<TextField />
|
|
</FormField>
|
|
|
|
<FormField>
|
|
<InputLabel>Username</InputLabel>
|
|
<Typography>
|
|
A unique identifier displayed on your comments. You may use “_” and
|
|
“.”
|
|
</Typography>
|
|
<TextField />
|
|
</FormField>
|
|
|
|
<FormField>
|
|
<InputLabel>Password</InputLabel>
|
|
<Typography>Must be at least 8 characters</Typography>
|
|
<TextField />
|
|
</FormField>
|
|
|
|
<FormField>
|
|
<InputLabel>Confirm Password</InputLabel>
|
|
<TextField />
|
|
</FormField>
|
|
</Flex>
|
|
<div className={styles.footer}>
|
|
<Button variant="filled" color="primary" size="large" fullWidth>
|
|
Sign up and join the conversation
|
|
</Button>
|
|
<Flex
|
|
itemGutter="half"
|
|
justifyContent="center"
|
|
className={styles.subFooter}
|
|
>
|
|
<Typography>Already have an account?</Typography>
|
|
<Button variant="underlined" size="small" color="primary">
|
|
Sign In
|
|
</Button>
|
|
</Flex>
|
|
</div>
|
|
</Flex>
|
|
);
|
|
};
|
|
|
|
export default SignUp;
|