diff --git a/src/components/styles/Global.styled.ts b/src/components/styles/Global.styled.ts index 4c88070..43ddfd2 100644 --- a/src/components/styles/Global.styled.ts +++ b/src/components/styles/Global.styled.ts @@ -73,7 +73,6 @@ export const GlobalStyles = createGlobalStyle` } img, svg { - max-width: 100%; vertical-align: middle; } diff --git a/src/components/styles/Landing.styled.ts b/src/components/styles/Landing.styled.ts index 8e2ac20..a4c2781 100644 --- a/src/components/styles/Landing.styled.ts +++ b/src/components/styles/Landing.styled.ts @@ -15,7 +15,8 @@ export const StyledLandingWrapper = styled.div` display: flex; flex-direction: column; gap: 100px; - max-width: 100%; + width: 100%; + max-width: 1300px; .landing_main { display: flex; diff --git a/src/components/styles/Projects.styled.ts b/src/components/styles/Projects.styled.ts index e448ed0..6ee245e 100644 --- a/src/components/styles/Projects.styled.ts +++ b/src/components/styles/Projects.styled.ts @@ -50,6 +50,10 @@ export const StyledProjects = styled.section` height: 100%; } + .project-thumbnail img { + max-width: 100%; + } + hr { width: 100%; border: 1px solid #aaa; diff --git a/src/locales/en.json b/src/locales/en.json index 93607d2..57b2d79 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -5,5 +5,62 @@ "about": "ABOUT", "projects": "PROJECTS", "contact": "CONTACT" + }, + "landing": { + "greeting": "Hello, I'm", + "sub": "aspiring front-end and back-end developer from Poland!", + "tech-title": "Tech I Use" + }, + "about": { + "title-1": "ABOUT", + "title-2": "ME", + "subtitle": "A coder with a pinch of explorer", + "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, Train Driver 2, 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-content": "Mechantronics Technician & Bachelor of Information Technology", + "brief-3-title": "Job experience", + "brief-3-content": "beginner junior", + "brief-4-title": "Favorite technologies" + }, + "projects": { + "title-1": "MY", + "title-2": "PROJECTS", + + "showcase-title": "SHOWCASE - MAJOR PROJECTS", + "other-projects-title": "OTHER PROJECTS", + + "source-link": "SOURCE", + "docs-link": "DOCS", + "live-app-link": "LIVE APP", + "stacjownik": { + "title": "Stacjownik", + "description": "A tool made for the Polish railway simulator: Train Driver 2. It collects all the available data sent over API from the game, processes it and shows it on the page in a convenient form. User can browse online players, as well as search for their history and past activities. The app uses dedicated Stacjownik API which is collecting and serving game data on the backend. It's available in two languages: Polish and English." + }, + "pojazdownik": { + "title": "Pojazdownik", + "description": "Another tool made for the Train Driver 2 community, which allows players to easily create their own railway rolling stock configurations. Its main features consist of uploading & downloading created rolling stock, drawing a real train number (according to Polish railways regulations) and generating a freight train composition with specified cargo. It's available in two languages: Polish and English." + }, + "generator": { + "title": "GeneraTOR", + "description": "The last of the \"Holy Trinity\" of applications created for the TD2 simulator. It's a graphical interface of so-called \"written orders\" (which are used in railway traffic to conduct trains in case of emergency). The app is fully interactive and beginner-friendly. It's available in native (Polish) language only due to the nature of the written orders which are exclusively used in Polish railway system." + }, + "stacjownik-manager": { + "title": "Stacjownik Station Manager", + "description": "An additional tool made for people who work with Stacjownik and update it with the freshest data coming from the simulator which isn't automatically scraped, mainly new sceneries (maps available for the community). It's connected with dedicated API where all the changes are processed and updated. The manager is protected with a simple authentication system that prevents unauthorized people from accessing and using the site. Available entirely in Polish for practical reasons." + }, + "stacjownik-api": { + "title": "Stacjownik Backend & API Services", + "description": "The backend services for Stacjownik site. Here I compute all data which is further sent to the app. Aside from the API, it's also used for storing history data about users which can be later browsed in the \"Journal\" tab." + }, + "stacjobot": { + "title": "Stacjobot - Discord bot", + "description": "" + }, + "td2-discord-presence": { + "title": "TD2 Discord Presence", + "description": "" + } } } diff --git a/src/locales/pl.json b/src/locales/pl.json index e873f8c..6516e5f 100644 --- a/src/locales/pl.json +++ b/src/locales/pl.json @@ -5,5 +5,62 @@ "about": "O MNIE", "projects": "PROJEKTY", "contact": "KONTAKT" + }, + "landing": { + "greeting": "Cześć, jestem", + "sub": "początkujący programista frontend i backend z Polski!", + "tech-title": "Używam" + }, + "about": { + "title-1": "O", + "title-2": "MNIE", + "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, Train Driver 2, 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-2-content": "technik mechatronik i inżynier informatyki", + "brief-3-title": "Doświadczenie zawodowe", + "brief-3-content": "początkujący junior", + "brief-4-title": "Ulubione technologie" + }, + "projects": { + "title-1": "MOJE", + "title-2": "PROJEKTY", + + "showcase-title": "GABLOTA GŁÓWNYCH PROJEKTÓW", + "other-projects-title": "INNE PROJEKTY", + + "source-link": "KOD ŹRÓDŁOWY", + "docs-link": "DOKUMENTACJA", + "live-app-link": "APLIKACJA", + "stacjownik": { + "title": "Stacjownik", + "description": "A tool made for the Polish railway simulator: Train Driver 2. It collects all the available data sent over API from the game, processes it and shows it on the page in a convenient form. User can browse online players, as well as search for their history and past activities. The app uses dedicated Stacjownik API which is collecting and serving game data on the backend. It's available in two languages: Polish and English." + }, + "pojazdownik": { + "title": "Pojazdownik", + "description": "Another tool made for the Train Driver 2 community, which allows players to easily create their own railway rolling stock configurations. Its main features consist of uploading & downloading created rolling stock, drawing a real train number (according to Polish railways regulations) and generating a freight train composition with specified cargo. It's available in two languages: Polish and English." + }, + "generator": { + "title": "GeneraTOR", + "description": "The last of the \"Holy Trinity\" of applications created for the TD2 simulator. It's a graphical interface of so-called \"written orders\" (which are used in railway traffic to conduct trains in case of emergency). The app is fully interactive and beginner-friendly. It's available in native (Polish) language only due to the nature of the written orders which are exclusively used in Polish railway system." + }, + "stacjownik-manager": { + "title": "Stacjownik Station Manager", + "description": "An additional tool made for people who work with Stacjownik and update it with the freshest data coming from the simulator which isn't automatically scraped, mainly new sceneries (maps available for the community). It's connected with dedicated API where all the changes are processed and updated. The manager is protected with a simple authentication system that prevents unauthorized people from accessing and using the site. Available entirely in Polish for practical reasons." + }, + "stacjownik-api": { + "title": "Stacjownik Backend & API Services", + "description": "The backend services for Stacjownik site. Here I compute all data which is further sent to the app. Aside from the API, it's also used for storing history data about users which can be later browsed in the \"Journal\" tab." + }, + "stacjobot": { + "title": "Stacjobot - Discord bot", + "description": "" + }, + "td2-discord-presence": { + "title": "TD2 Discord Presence", + "description": "" + } } } diff --git a/src/sections/LandingSection.tsx b/src/sections/LandingSection.tsx index 4e74df8..a3f8b71 100644 --- a/src/sections/LandingSection.tsx +++ b/src/sections/LandingSection.tsx @@ -12,6 +12,7 @@ import { import { useEffect, useRef } from 'react'; import { useGSAP } from '@gsap/react'; import gsap from 'gsap'; +import { useTranslation } from 'react-i18next'; export default function LandingSection() { const container = useRef(null); @@ -25,11 +26,12 @@ export default function LandingSection() { }); useEffect(() => { - const splittedDesc = container.current!.querySelector('.description'); - - console.log(splittedDesc?.textContent); + // const splittedDesc = container.current!.querySelector('.description'); + // console.log(splittedDesc?.textContent); }, []); + const { t } = useTranslation(); + return ( @@ -38,13 +40,13 @@ export default function LandingSection() { - Hello, I'm + {t('landing.greeting')} SPYTHERE:// -
an amatour and self-taught front-end and back-end developer from Poland!
+
{t('landing.sub')}
@@ -58,7 +60,7 @@ export default function LandingSection() {
-

Tech I Use

+

{t('landing.tech-title')}