Skip to content

Commit

Permalink
Merge pull request #560 from awibox/development
Browse files Browse the repository at this point in the history
Img size fix
  • Loading branch information
awibox committed Jan 21, 2023
2 parents 907f1cf + 525596b commit 79a6683
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Certificates/Certificates.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Certificates = (props) => {
<div key={item.id} className="col-md-6">
<div className={cn(styles.certificateItem, 'clearfix')}>
<div className={styles.certiLogo}>
<img width={60} height={60} src={item.logo} alt={item.company} />
<img width={80} height={80} src={item.logo} alt={item.company} />
</div>
<div className={styles.certiContent}>
<div className={styles.certiTitle}>
Expand Down
2 changes: 2 additions & 0 deletions src/components/Certificates/Certificates.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
img {
display: block;
max-width: 100%;
width: 100%;
height: 100%;
}
}

Expand Down
8 changes: 4 additions & 4 deletions src/components/Certificates/Certificates.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ exports[`Certificates should render correctly 1`] = `
>
<img
alt="Hacker Rank"
height={60}
height={80}
src="img/hacker-rank.jpeg"
width={60}
width={80}
/>
</div>
<div
Expand Down Expand Up @@ -72,9 +72,9 @@ exports[`Certificates should render correctly 1`] = `
>
<img
alt="Hacker Rank"
height={60}
height={80}
src="img/hacker-rank.jpeg"
width={60}
width={80}
/>
</div>
<div
Expand Down
2 changes: 2 additions & 0 deletions src/components/Header/Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
z-index: 1;
img {
max-width: 100%;
width: 100%;
height: 100%;
background-color: #fff;
border: 3px solid #fff;
border-radius: 300px;
Expand Down
1 change: 1 addition & 0 deletions src/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<title>Andrei Arkhipov - Software Engineer</title>
<meta name="description" content="Personal website of Software Engineer Andrei Arkhipov. Download CV." />
<link rel="canonical" href="https://arkhipov.eu/" />
<link rel='preconnect' href='https://fonts.googleapis.com' crossorigin />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i'">
<link rel="apple-touch-icon" sizes="57x57" href="/icons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/icons/apple-icon-60x60.png">
Expand Down

0 comments on commit 79a6683

Please sign in to comment.