Skip to content

Commit

Permalink
show Book Appointment, on selecting "Other"; #177
Browse files Browse the repository at this point in the history
  • Loading branch information
veeepi committed May 13, 2021
1 parent 7b8e6e5 commit 2eb6726
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion src/components/TrademarkApplicationPage/TrademarkType/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useHistory } from 'react-router-dom';
import { makeStyles } from '@material-ui/core/styles';
import { checkmarksTheme } from '../../../styles/Themes';
import { Box, Button, Card, Typography } from '@material-ui/core';
import EventIcon from '@material-ui/icons/Event';
import Alert from '@material-ui/lab/Alert';
import DesignCard from '../TrademarkType/DesignCard';
import DetailSelectCard from '../TrademarkType/DetailSelectCard';
Expand Down Expand Up @@ -135,6 +136,15 @@ const TrademarkForm = ({
common characteristic. This is perfectly fine, however
discussion with a lawyer is required before submission.
</Alert>
<Button
className={classes.bookApppintmentButton}
target="blank"
component="a"
href="https://calendly.com/golbey_justin/15mins?month=2021-05"
>
<EventIcon className={classes.menuItemIcon} />
Book 15 Minutes Through Calendly
</Button>
</Box>
)}
{/* </div> */}
Expand Down Expand Up @@ -162,7 +172,9 @@ const TrademarkForm = ({
type="submit"
variant="contained"
onClick={() => nextStep()}
disabled={progressValue < step.progressValueEnd}
disabled={
progressValue < step.progressValueEnd || info.isOther
}
>
Continue
</Button>
Expand Down Expand Up @@ -259,4 +271,21 @@ const useStyles = makeStyles((theme) => ({
margin: '0',
},
},
bookApppintmentButton: {
color: '#FFF',
backgroundColor: '#df3a48',
fontWeight: 'bold',
marginTop: '10%',
// marginLeft: '3%',
width: '100%',
height: '60px',
fontSize: '10px',
borderRadius: '10px',
[theme.breakpoints.up('md')]: {
margin: '5% 3% 5% 0',
},
[theme.breakpoints.between('sm', 'md')]: {
margin: '6% 2% 1% 0',
},
},
}));

0 comments on commit 2eb6726

Please sign in to comment.