mirror of
https://github.com/Spythere/spythere-portfolio.git
synced 2026-05-04 22:18:19 +00:00
about section
This commit is contained in:
@@ -1,10 +1,6 @@
|
|||||||
import { styled } from 'styled-components';
|
import { styled } from 'styled-components';
|
||||||
|
|
||||||
export const StyledAbout = styled.section`
|
export const StyledAbout = styled.section`
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
.about-grid {
|
.about-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, 1fr);
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import { FaBriefcase, FaHeart, FaStar, FaUserGraduate } from 'react-icons/fa';
|
||||||
import { StyledAbout } from '../components/styles/About.styled';
|
import { StyledAbout } from '../components/styles/About.styled';
|
||||||
import { StyledCursor } from '../components/styles/Cursor.styled';
|
import { StyledCursor } from '../components/styles/Cursor.styled';
|
||||||
import { StyledSectionHeader } from '../components/styles/SectionHeader.styled';
|
import { StyledSectionHeader } from '../components/styles/SectionHeader.styled';
|
||||||
@@ -33,6 +34,40 @@ function AboutSection() {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
</StyledAbout>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user