about section

This commit is contained in:
2024-02-24 15:49:56 +01:00
parent 2aaeeeed8b
commit d13bd5d3bb
2 changed files with 60 additions and 4 deletions
+25 -4
View File
@@ -1,10 +1,6 @@
import { styled } from 'styled-components';
export const StyledAbout = styled.section`
display: flex;
flex-direction: column;
justify-content: center;
.about-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
@@ -30,4 +26,29 @@ export const StyledAbout = styled.section`
}
}
}
.about-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2em;
margin-top: 4em;
}
.stat-item {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 2.5em;
text-align: center;
padding: 2em 1em;
min-height: 250px;
border-radius: 1em;
background-color: ${({ theme }) => theme.colors['600']};
h1 {
margin: 0;
}
}
`;
+35
View File
@@ -1,3 +1,4 @@
import { FaBriefcase, FaHeart, FaStar, FaUserGraduate } from 'react-icons/fa';
import { StyledAbout } from '../components/styles/About.styled';
import { StyledCursor } from '../components/styles/Cursor.styled';
import { StyledSectionHeader } from '../components/styles/SectionHeader.styled';
@@ -33,6 +34,40 @@ function AboutSection() {
</p>
</div>
</div>
<div className="about-stats">
<div className="stat-item">
<h1>
<FaStar />
<div>Pasjonat programowania</div>
</h1>
<p>od 9 lat</p>
</div>
<div className="stat-item">
<h1>
<FaUserGraduate />
<div>Wykształcenie</div>
</h1>
<p>wyższe - absolwent informatyki</p>
</div>
<div className="stat-item">
<h1>
<FaHeart />
<div>Ulubione technologie</div>
</h1>
<p>Vue.js, Typescript</p>
</div>
<div className="stat-item">
<h1>
<FaBriefcase />
<div>Zaawansowanie zawodowe</div>
</h1>
<p>junior</p>
</div>
</div>
</StyledAbout>
);
}