Add download button for terms and conditions PDF #31

Merged
nabarun merged 2 commits from deep-stack/testnet-onboarding-app:sk-UI-enhancements into main 2024-08-11 09:47:19 +00:00
Showing only changes of commit cedbcf2e5c - Show all commits

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