Skip to content

Commit

Permalink
minor changes about check cv
Browse files Browse the repository at this point in the history
  • Loading branch information
john-papani committed Oct 17, 2024
1 parent bc5094d commit 773a284
Showing 1 changed file with 26 additions and 34 deletions.
60 changes: 26 additions & 34 deletions src/Components/About/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const About = ({ isPhone }) => {
<Grid
item
xs={12}
md={9}
md={12}
// sx={{ backgroundColor: "#EEEDE7", borderRadius: "12%" }}
>
<Card>
Expand All @@ -65,42 +65,34 @@ const About = ({ isPhone }) => {
className={classes.maintext}
dangerouslySetInnerHTML={{ __html: text }}
/>

<div className="flex lg:justify-end justify-center ">
<Button
variant="contained"
// color='warning'
sx={{
backgroundColor: "red",
"&:hover": {
backgroundColor: "black",
color: "red",
},
}}
// onClick={handleOpenModal}
onClick={() =>
window.open(
"https://drive.google.com/file/d/1T8J9OJs3POiJ7G-gyazQqPUFUfDDqOfq/view?usp=sharing",
"_blank"
)
}
className={classes.modalbtn}
>
{" "}
<p>Check my CV</p>
</Button>
</div>
</CardContent>
</Card>
</Grid>
<Grid
item
xs={12}
md={3}
ref={cvRef}
sx={{
paddingTop: isPhone.isPhone ? "100px" : "0",
paddingBottom: isPhone.isPhone ? "100px" : "0",
paddingLeft: "100px",
}}
>
<Button
variant="contained"
// color='warning'
sx={{
backgroundColor: "saddlebrown",
"&:hover": {
backgroundColor: "yellow",
color: "red",
},
}}
// onClick={handleOpenModal}
onClick={() =>
window.open(
"https://drive.google.com/file/d/1T8J9OJs3POiJ7G-gyazQqPUFUfDDqOfq/view?usp=sharing",
"_blank"
)
}
className={classes.modalbtn}
>
<Typography variant="h6">Check my CV</Typography>
</Button>
</Grid>
</Grid>
</Grid>
</div>
Expand Down

0 comments on commit 773a284

Please sign in to comment.