This commit is contained in:
Tben
2022-03-26 20:38:02 +01:00
parent dd95ee9e9e
commit 213293b9f4
2 changed files with 27 additions and 21 deletions
+2 -10
View File
@@ -36,16 +36,8 @@ export default function PortfolioEntry({ title, description, url, image }) {
return (
<div className="portfolio-entry-block">
<h2 style={ { marginTop: "0" } }><TextShuffler textInput={ title } /></h2>
<div style={ {
width: "100%",
height: "300px",
marginBottom: "15px"
} }>
<img src={ image } alt="" style={ {
width: "100%",
height: "100%",
objectFit: "cover"
} } />
<div className="portfolio-image-wrapper">
<img src={ image } alt="" className="portfolio-image" />
</div>
<span>
<TextShuffler textInput={ description } />