Skip to content

Commit

Permalink
photo added to about section
Browse files Browse the repository at this point in the history
  • Loading branch information
fikretellek committed Dec 17, 2024
1 parent 28e0ddd commit 744155b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/About/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ const About = () => {
<div id="about" className="top-margin-for-header"></div>
<h1>About</h1>
<div id="about-hero">
<div id="about-img"></div>
<div id="about-img">
<img
src="https://media.licdn.com/dms/image/v2/D4E03AQECXUXvwU432Q/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1711816469455?e=1740009600&v=beta&t=X4kRSh2cTkvpXuFQ9SF4G9YxghZq3FMiYgMYRG0brP0"
alt=""
/>
</div>
<div id="about-info">
<p>Hi, my name is Fikret. I enjoy crafting code and building dreams.</p>
<p>
Expand Down
6 changes: 6 additions & 0 deletions src/components/About/About.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@
display: flex;
flex-direction: row-reverse;
justify-content: space-between;

#about-img {
width: 400px;
height: 400px;
background-color: black;
border-radius: calc(2 * var(--border-radius));
overflow: hidden;
img {
height: 100%;
filter: grayscale(1);
}
}
#about-info {
display: flex;
Expand Down

0 comments on commit 744155b

Please sign in to comment.