diff --git a/src/components/styles/About.styled.ts b/src/components/styles/About.styled.ts index 87d88af..e69056f 100644 --- a/src/components/styles/About.styled.ts +++ b/src/components/styles/About.styled.ts @@ -55,19 +55,20 @@ export const StyledAbout = styled.section` border-radius: 1em; background-color: ${({ theme }) => theme.colors['600']}; - svg.stat-item-icon { + .stat-item-icon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); - } - h1 { - vertical-align: middle; + padding: 1em; + background-color: ${({ theme }) => theme.colors['600']}; + border-radius: 50%; } p { - font-size: 1.2em; + font-size: 1.25em; + line-height: 1.5em; } } diff --git a/src/components/styles/Global.styled.ts b/src/components/styles/Global.styled.ts index 1750e20..2bcaa4f 100644 --- a/src/components/styles/Global.styled.ts +++ b/src/components/styles/Global.styled.ts @@ -17,7 +17,6 @@ export const GlobalStyles = createGlobalStyle` } - body { margin: 0; min-height: 100vh; diff --git a/src/locales/en.json b/src/locales/en.json index 4fd466b..aa309d4 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -18,7 +18,7 @@ "content": "I am a self-taught programmer who excels in working with web technologies. I spend most of my free time creating and expanding applications for the Polish train simulator, <1>Train Driver 21>, where I actively participate as a developer. In my projects, I value simplicity and functionality. I aim for my tools to be user-friendly and accessible to everyone. I often stick to solutions I am used to work with, but I'm not afraid to change them in order to make my projects better and more efficient. I enjoy exploring and testing new technologies and I have no trouble adapting to them.", "brief-1-title": "Programming passionate", "brief-1-content": "since 2015", - "brief-2-title": "Education", + "brief-2-title": "My education", "brief-2-content": "Mechantronics Technician & Bachelor of Information Technology", "brief-3-title": "Job experience", "brief-3-content": "beginner junior", diff --git a/src/locales/pl.json b/src/locales/pl.json index 328cf5b..36bd0d3 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -17,8 +17,8 @@ "subtitle": "Koder ze szczyptą odkrywcy", "content": "Jestem programistą-samoukiem, który aktywnie uczy się i obcuje z technologiami webowymi. Większość wolnego czasu spędzam tworząc i rozwijając aplikacje dla polskiego symulatora kolejowego, <0>Train Driver 20>, gdzie aktywnie uczestniczę na stanowisku dewelopera. W moich projektach cenię prostotę i funkcjonalność. Dążę do tego, aby narzędzia, które tworzę, były przyjazne użytkownikowi i dostępne dla każdego. Często trzymam się sprawdzonych rozwiązań, lecz nie boję się zmienić ich, jeśli poprawi to moje aplikacje. Lubię odkrywać oraz testować nowe technologie i nie mam problemu z ich wdrożeniem.", "brief-1-title": "Pasjonat programowania", - "brief-1-content": "od 2015", - "brief-2-title": "Wykształcenie", + "brief-1-content": "od 2015 roku", + "brief-2-title": "Moje\nwykształcenie", "brief-2-content": "technik mechatronik i inżynier informatyki", "brief-3-title": "Doświadczenie zawodowe", "brief-3-content": "początkujący\njunior", diff --git a/src/sections/AboutSection.tsx b/src/sections/AboutSection.tsx index 6aafc4a..cf4568c 100644 --- a/src/sections/AboutSection.tsx +++ b/src/sections/AboutSection.tsx @@ -14,8 +14,8 @@ function AboutSection() { useGSAP(() => { const tl = gsap.timeline({ scrollTrigger: { - trigger: '.about-grid', - }, + trigger: '.about-grid' + } }); tl.from('.about-gif', { opacity: 0 }); @@ -25,8 +25,8 @@ function AboutSection() { ease: 'power1.in', opacity: 0, stagger: { - each: 0.5, - }, + each: 0.5 + } }); }); @@ -61,46 +61,49 @@ function AboutSection() {
{t('about.brief-1-content')}
{t('about.brief-2-content')}
{t('about.brief-3-content')}
-
-