How viktor-fbx/viktor-portfolio works
This is a personal portfolio site for a web developer and 3D artist. Visitors can explore the portfolio’s landing content and open a 3D gallery, where they can view and switch among models. The tree also indicates project, skills, and multilingual content, but the page and component wiring was not excerpted. Dashed, uncited links mark those inferred connections; the gallery renderer’s model-loading and animation behavior is directly visible in its source.
Main entry points: index.astro Portfolio home · 3d-gallery.ts Gallery renderer · 3D-gallery.astro 3D gallery page · translations.ts Translations
Components 14
Portfolio site
- Portfolio home
src/pages/index.astro - Site layout
src/layouts/Layout.astro - Navigation header
src/components/Header.astro - Welcome section
src/components/Welcome.astro - Project cards
src/components/GlassCardProject.astro - Skill display
src/components/SkillPill.astro
Content and language
- Translations
src/i18n/translations.ts - Language switcher
src/components/LanguageSwitcher.astro
3D gallery
- 3D gallery page
src/pages/projects/3D-gallery.astro - Gallery renderer
src/components/3d-gallery.ts - Model viewer
src/components/3d/ModelViewer.astro - 3D model assets
public/models - GLTF loader
src/components/3d-gallery.ts
Other components
- Visitor
Connections 12
- Visitor → Portfolio home: opens
- Portfolio home → Site layout: uses layout
- Portfolio home → Navigation header: presents navigation
- Portfolio home → Welcome section: presents intro
- Portfolio home → Project cards: presents projects
- Portfolio home → Skill display: presents skills
- Portfolio home → Translations: uses content
- Language switcher → Translations: selects language
- Visitor → 3D gallery page: opens gallery
- 3D gallery page → Gallery renderer: initializes
- Gallery renderer → GLTF loader: loads model
src/components/3d-gallery.ts - Gallery renderer → 3D model assets: loads selected model