Skip to content

Commit d8b9be0

Browse files
authored
Add sign-up button to login page. (#119)
* sign-up button on login page * package-lock removal * SignUp button on login page fin
1 parent 6405764 commit d8b9be0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
fastapi-react
2+
node_modules/
3+
package-lock.json

{{cookiecutter.project_slug}}/frontend/src/views/Login.tsx

+10
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,16 @@ export const Login: FC = () => {
126126
</Grid>
127127
</Grid>
128128
<Grid container justify="center" className={classes.marginTop}>
129+
{' '}
130+
<Button
131+
variant="outlined"
132+
color="primary"
133+
className={classes.button}
134+
onClick={() => history.push('/signup')}
135+
>
136+
Sign Up
137+
</Button>{' '}
138+
&nbsp;
129139
<Button
130140
variant="outlined"
131141
color="primary"

0 commit comments

Comments
 (0)