refactor(Login): add router link to Register button
This commit is contained in:
parent
39104998aa
commit
05d0d7f1e8
@ -1,4 +1,5 @@
|
||||
import React, { Component } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { Button, Card, CardBody, CardGroup, Col, Container, Form, Input, InputGroup, InputGroupAddon, InputGroupText, Row } from 'reactstrap';
|
||||
|
||||
class Login extends Component {
|
||||
@ -41,13 +42,15 @@ class Login extends Component {
|
||||
</Form>
|
||||
</CardBody>
|
||||
</Card>
|
||||
<Card className="text-white bg-primary py-5 d-md-down-none" style={{ width: 44 + '%' }}>
|
||||
<Card className="text-white bg-primary py-5 d-md-down-none" style={{ width: '44%' }}>
|
||||
<CardBody className="text-center">
|
||||
<div>
|
||||
<h2>Sign up</h2>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
|
||||
labore et dolore magna aliqua.</p>
|
||||
<Button color="primary" className="mt-3" active>Register Now!</Button>
|
||||
<Link to="/register">
|
||||
<Button color="primary" className="mt-3" active tabIndex={-1}>Register Now!</Button>
|
||||
</Link>
|
||||
</div>
|
||||
</CardBody>
|
||||
</Card>
|
||||
|
Loading…
Reference in New Issue
Block a user