Personal portfolio of Samira Kian, Frontend Developer (React · Next.js · Maps). A single-page site themed as a railway map: animated train routes in the background, and each section is a "station" on the line.
- Six sections as stations: About, Experience, Skills, Certificates, Projects, Contact
- Scroll or swipe to travel the line: scrolling past the edge of a panel moves to the next or previous tab; arrow keys work on the tab bar
- Detail modals: every experience entry and project opens a full description (Esc, the × button or a click outside closes it)
- English / German: a DE/EN button in the header switches the whole page, including modals; the choice is remembered in the browser
- Animated background: GSAP-driven trains along SVG routes, with reduced-motion support
- Responsive down to phone width; keyboard and screen-reader friendly (tab roles, focus states, ARIA labels)
Plain HTML, CSS and vanilla JavaScript, with no build step. GSAP (loaded from a CDN) handles animation, and fonts come from Google Fonts (Overpass, Overpass Mono).
index.html page markup (all content, with data-i18n keys)
styles.css styling
script.js entry point: loads the files in context/ in order
context/
motion.js background trains and entrance animations
navigation.js station tabs, arrow keys, scroll/swipe between tabs
details-en.js English modal content
details-de.js German modal content
translations-de.js German text for the page
modal.js open / close / render modals
i18n.js language switching and the DE/EN button
img/ profile photo
The scripts in context/ are plain (non-module) scripts that share one global scope, so their load order in script.js matters and the site also works when opened directly from disk.
No install needed. Open index.html in a browser, or serve the folder:
npx serve .
- English text: edit
index.html(and the modal text incontext/details-en.js). - German text: edit
context/translations-de.jsandcontext/details-de.js. Each translated element in the HTML has adata-i18n="key"that matches a key intranslations-de.js. - New modal: add
data-modal="some-id"to a card inindex.htmland an entry with the same id inDETAILS(andDETAILS_DE).
Hosted with GitHub Pages: Settings → Pages → "Deploy from a branch" → main and / (root).
- Email: samira.kian01@gmail.com
- LinkedIn: linkedin.com/in/samira--kian
- GitHub: github.com/samikia