Add download button for TNC PDF

This commit is contained in:
Shreerang Kale 2024-08-11 11:00:00 +05:30
parent 663eb42a74
commit cedbcf2e5c

View File

@ -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>
</>
);