Prepared Nile v1
This commit is contained in:
parent
ca9280f324
commit
0b19036190
145 changed files with 5541 additions and 1285 deletions
51
src/pages/delta/SkillPaper.jsx
Normal file
51
src/pages/delta/SkillPaper.jsx
Normal file
|
@ -0,0 +1,51 @@
|
|||
import Box from "@mui/material/Box";
|
||||
import Card from "@mui/material/Card";
|
||||
import CardContent from "@mui/material/CardContent";
|
||||
import CardMedia from "@mui/material/CardMedia";
|
||||
import Typography from "@mui/material/Typography";
|
||||
|
||||
export default function SkillPaper({
|
||||
src,
|
||||
bgColor,
|
||||
fgColor,
|
||||
heading,
|
||||
Icon,
|
||||
openPhoto,
|
||||
}) {
|
||||
const mediaClick = () => openPhoto(src);
|
||||
return (
|
||||
<Box>
|
||||
<Card
|
||||
sx={{
|
||||
margin: "0 auto",
|
||||
boxShadow:
|
||||
"0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)",
|
||||
}}
|
||||
>
|
||||
<CardMedia
|
||||
sx={{ minHeight: 380 }}
|
||||
image={src}
|
||||
title="Fullstack Development Certificate"
|
||||
onClick={mediaClick}
|
||||
/>
|
||||
<CardContent sx={{ color: fgColor, backgroundColor: bgColor }}>
|
||||
<Typography variant="h5" component="div">
|
||||
<div style={{ display: "inline-flex" }}>
|
||||
<h3>{heading}</h3>
|
||||
{
|
||||
<Icon
|
||||
style={{
|
||||
margin: "auto",
|
||||
marginLeft: 10,
|
||||
width: 24,
|
||||
height: 24,
|
||||
}}
|
||||
/>
|
||||
}
|
||||
</div>
|
||||
</Typography>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</Box>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue