about & global changes

This commit is contained in:
2024-02-24 16:00:51 +01:00
parent 909ff7907b
commit 8af63ab911
3 changed files with 21 additions and 8 deletions
+5
View File
@@ -49,6 +49,11 @@ export const StyledAbout = styled.section`
h1 { h1 {
margin: 0; margin: 0;
vertical-align: middle;
}
p {
font-size: 1.2em;
} }
} }
`; `;
+1 -1
View File
@@ -63,7 +63,7 @@ export const GlobalStyles = createGlobalStyle`
} }
} }
img { img, svg {
max-width: 100%; max-width: 100%;
vertical-align: middle; vertical-align: middle;
} }
+15 -7
View File
@@ -1,7 +1,8 @@
import { FaBriefcase, FaHeart, FaStar, FaUserGraduate } from 'react-icons/fa'; import { FaBriefcase, FaHeart, FaStar, FaUserGraduate, FaVuejs } 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';
import { SiNestjs } from 'react-icons/si';
function AboutSection() { function AboutSection() {
return ( return (
@@ -54,18 +55,25 @@ function AboutSection() {
<div className="stat-item"> <div className="stat-item">
<h1> <h1>
<FaHeart /> <FaBriefcase />
<div>Ulubione technologie</div> <div>Zaawansowanie zawodowe</div>
</h1> </h1>
<p>Vue.js, Typescript</p> <p>
początkujący <br />
junior
</p>
</div> </div>
<div className="stat-item"> <div className="stat-item">
<h1> <h1>
<FaBriefcase /> <FaHeart />
<div>Zaawansowanie zawodowe</div> <div>Ulubione technologie</div>
</h1> </h1>
<p>junior</p> <p>
<FaVuejs /> Vue
<br />
<SiNestjs /> NestJS
</p>
</div> </div>
</div> </div>
</StyledAbout> </StyledAbout>