How george-sergeev/portfolio works
1. What this repo is
- A single-page portfolio site built with Vite + React + JavaScript.
- The app is primarily a static front-end: it presents personal profile content, projects, skills, and contact links, with no visible backend or API layer in the repository.
2. Application entry and build boundary
- index.html, src/main.jsx, and src/App.jsx form the application bootstrap path.
- vite.config.js defines the build/dev-tooling boundary, so the architecture is centered on client-side rendering and static deployment.
3. Page-level structure
- The src/pages folder contains the top-level views: HomePage, AboutPage, ContactPage, ProjectPage.
- This suggests a navigation model where the app is organized into distinct page routes or page states, rather than one monolithic landing page.
4. Reusable UI component layer
- Most UI is decomposed into reusable components under src/components.
- Core layout and section primitives include Header, Footer, Logo, SectionTitle, PageTitle, PageSubtitle.
- Feature sections include Hero, About, Skills, Projects, Contacts, each with its own presentation and supporting subcomponents.
5. Data-driven content
- src/data/projects.json and src/data/skills.json are the main content sources.
- The UI reads from these local JSON files to render project cards, technology lists, and skill blocks, which makes the site content-driven rather than hardcoded throughout the UI tree.
6. Projects subsystem
- The projects area is split into Projects, ProjectPage, and card-level components like ProjectsCard and ProjectsCardTechnology.
- There are also BigProjects and SmallProjects components, indicating a presentation split by project type or prominence.
- Project images live in public/images/projects, so the project section combines local metadata with static assets.
7. Skills and profile sections
- The Skills area uses Skills.jsx, SkillsBlock.jsx, and SkillsIllustrations.jsx to present capabilities and visual accents.
- The About and Hero sections also have dedicated illustration components, showing a pattern of separating text content from decorative/branding visuals.
8. Navigation, actions, and responsiveness
- The header includes a burger menu and responsive variants (HeaderMedia, BurgerMenuMedia), so navigation adapts for smaller screens.
- Button components like ButtonGitHub, ButtonLive, and ButtonHero represent the main call-to-action paths: source code, live demo, and primary hero actions.
- ScrollToTop indicates route/page transitions are expected to reset scroll position.
9. Icons and contact surfaces
- Icon components in src/icons include EmailIcon, GitHubIcon, TelegramIcon, RaccoonIcon.
- These are used by the Contacts section and likely the header/footer branding, forming the main outbound interaction layer to external profiles and communication channels.
10. Styling architecture
- Styling is colocated per component with separate .css files for each UI piece.
- Shared styling lives in src/styles via reset, globals, variables, fonts, while src/index.css and src/App.css provide root-level application styles.
- This creates a clear boundary between global design tokens/base rules and local component styling.
11. Static/public assets and SEO
- public/robots.txt, public/sitemap.xml, public/sitemap.xsl, and public/yandex_*.html show that the site is set up for indexing and search verification.
- public/images and src/assets/fonts hold static media and typography resources for the visual identity of the portfolio.
12. Overall architecture for diagramming
- A good diagram would show: browser loads Vite-built React app → App/Main render page shells → page components compose reusable sections → sections consume local JSON data and static assets → buttons/icons link out to external destinations.
- There is no evidence of a server-side business layer; the key architectural boundaries are client UI, local content/data, and static asset/SEO delivery.
Main entry points: App.jsx App · HomePage.jsx Home Page · Projects.jsx Projects · Skills.jsx Skills
Components 30
App Shell
Bootstrap and root application boundary
- index.html · HTML entry point for the Vite app
index.html - main.jsx · Client-side render bootstrap
src/main.jsx - App · Root application composition
src/App.jsx
Pages
Top-level page compositions
- Home Page · Primary landing experience
src/pages/HomePage/HomePage.jsx - About Page · Dedicated about route or view
src/pages/AboutPage/AboutPage.jsx - Contact Page · Dedicated contact route or view
src/pages/ContactPage/ContactPage.jsx - Project Page · Dedicated projects route or view
src/pages/ProjectPage/ProjectPage.jsx
UI Components
Reusable layout, section, navigation, and feature components
- Header · Top navigation and responsive menu surface
src/components/Header/Header.jsx - Footer · Bottom page chrome
src/components/Footer/Footer.jsx - Hero · Introductory landing section
src/components/Hero/Hero.jsx - About · Profile and bio section
src/components/About/About.jsx - Skills · Capabilities and tools section
src/components/Skills/Skills.jsx - Projects · Projects listing section
src/components/Projects/Projects.jsx - Contacts · Contact and social links section
src/components/Contacts/Contacts.jsx - Scroll To Top · Resets viewport position on navigation
src/components/ScrollToTop/ScrollToTop.jsx - Project Card · Reusable project presentation unit
src/components/Projects/ProjectsCard.jsx - Tech Tags · Technology badges for project cards
src/components/Projects/ProjectsCardTechnology.jsx - Skill Block · Reusable skills content block
src/components/Skills/SkillsBlock.jsx - Header Media · Responsive header variant for smaller screens
src/components/Header/HeaderMedia.jsx - Hero Art · Decorative hero illustration
src/components/Hero/HeroIllustration.jsx - About Art · Decorative about illustration
src/components/About/AboutIllustration.jsx - Skills Art · Visual accent for skills section
src/components/Skills/SkillsIllustrations.jsx
Content & Assets
Local data files and static media used by the UI
- projects.json · Project metadata source
src/data/projects.json - skills.json · Skill metadata source
src/data/skills.json - Project Images · Portfolio images for project cards
public/images/projects - Fonts · Typography assets
src/assets/fonts
Public SEO
Static public files for indexing and verification
- robots.txt · Search crawler instructions
public/robots.txt - sitemap.xml · Site URL map for indexing
public/sitemap.xml - Yandex Verify · Search engine verification asset
public/yandex_2f54cbe83c417a8b.html
Styling
Global design tokens and base styles
- Global Styles · Shared reset, variables, fonts, and base rules
src/styles/globals.css
Connections 32
- index.html → main.jsx: loads · Browser entry hands off to the React bootstrap
- main.jsx → App: renders · Bootstraps the root app component
- App → Header: composes · App shell includes shared navigation
- App → Scroll To Top: wraps · Applies navigation scroll behavior
- App → Home Page: shows · Primary default page content
- App → About Page: shows · Secondary about view
- App → Project Page: shows · Projects view
- App → Contact Page: shows · Contact view
- App → Footer: composes · App shell includes shared footer
- Home Page → Hero: includes · Landing page starts with hero section
- Home Page → About: includes · Landing page surfaces bio section
- Home Page → Skills: includes · Landing page surfaces skills section
- Home Page → Projects: includes · Landing page surfaces project preview
- Home Page → Contacts: includes · Landing page surfaces contact links
- About Page → About: centers on · About page reuses the about section
- Project Page → Projects: centers on · Project page uses the projects subsystem
- Contact Page → Contacts: centers on · Contact page reuses contact section
- Header → Header Media: adapts · Responsive header variant for smaller screens
- Hero → Hero Art: uses · Hero text is paired with illustration
- About → About Art: uses · About content is paired with illustration
- Skills → Skill Block: uses · Skills section is organized into blocks
- Skills → Skills Art: uses · Skills section includes visual accents
- Projects → Project Card: uses · Projects section renders reusable cards
- Project Card → Tech Tags: uses · Cards render technology badges
- Projects → projects.json: reads · Projects section consumes local project metadata
- Skills → skills.json: reads · Skills section consumes local skills metadata
- Project Card → Project Images: loads · Project cards use static project imagery
- Projects → Project Images: loads · Project listings rely on shared image assets
- Header → Global Styles: inherits · Shared base styles apply to navigation and shell
- Projects → Global Styles: inherits · Feature sections share global styling foundation
- robots.txt → sitemap.xml: supports · Both files serve site discoverability
- sitemap.xml → Yandex Verify: coexists · Public SEO and verification assets share delivery boundary