Add download button for TNC PDF
This commit is contained in:
parent
663eb42a74
commit
cedbcf2e5c
@ -37,10 +37,15 @@ const LandingPage = () => {
|
||||
</Typography>
|
||||
</Box>
|
||||
<TermsAndConditionsBox height="43vh" onLoad={()=>{setIsDisabled(false);}} />
|
||||
<Box m={2} display="flex" justifyContent="center">
|
||||
<Box m={2} display="flex" justifyContent="center" gap={2}>
|
||||
<Button variant="contained" color="primary" onClick={handleAccept} disabled={isDisabled}>
|
||||
Accept
|
||||
</Button>
|
||||
<Button variant="outlined" color="primary" disabled={isDisabled}>
|
||||
<a href="/TermsAndConditions.pdf" download style={{textDecoration: "none", color: "inherit"}}>
|
||||
Download PDF
|
||||
</a>
|
||||
</Button>
|
||||
</Box>
|
||||
</>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user