How keremyldrm61/kerem-yildirim-portfolio works
1. Purpose and Delivery Model
This repository is a static, single-page developer portfolio built with React 18 and Vite. It presents portfolio content, supports English/Turkish localization and light/dark themes, and submits visitor messages to Web3Forms. The production artifact is a client-side bundle suitable for static hosting such as Vercel.
Paths: src/main.jsx, src/App.jsx, vite.config.js.
2. Application Bootstrap and Composition
main.jsx mounts the React application and loads global setup/styles. App.jsx is the page-level composition root: it assembles the header, hero, content sections, and footer into one scrollable document rather than routing between pages.
Paths: src/main.jsx, src/App.jsx, src/index.css.
3. Portfolio Section Layer
The primary content is divided into independently maintained visual sections: introduction, biography, skills, projects, certificates, and contact. These components own their displayed portfolio data/layout and are coordinated only by the app shell and header navigation anchors.
Paths: src/components/Hero/Hero.jsx, src/components/About/About.jsx, src/components/Skills/Skills.jsx, src/components/Projects/Projects.jsx, src/components/Certificates/Certificates.jsx.
4. Navigation and Presentation Shell
The header provides site navigation and hosts global user-facing controls; the footer closes the single-page experience. Reusable decorative components supply hero spotlight and technology-grid visual treatments without acting as application state boundaries.
Paths: src/components/Header/Header.jsx, src/components/Footer/Footer.jsx, src/components/Hero/Spotlight/Spotlight.jsx, src/components/TechGridPattern/TechGridPattern.jsx.
5. Localization Flow
The i18next initialization module configures react-i18next using separate English and Turkish translation resources. Display components consume translated strings, while the language switcher changes the active locale at runtime; translations are a content boundary separate from component markup.
Paths: src/i18n.js, src/locales/en/translation.json, src/locales/tr/translation.json, src/components/LanguageSwitcher/LanguageSwitcher.jsx.
6. Theme and UI Behavior
Theme switching is a client-side concern, exposed through a dedicated control and reflected through global/component styling. Global CSS is the shared styling boundary; Tailwind CSS is identified as the styling system. AOS provides scroll-triggered reveal animations across page sections.
Paths: src/components/ThemeSwitcher/ThemeSwitcher.jsx, src/index.css, src/components/Hero/Hero.jsx.
7. Contact Integration and Runtime Boundaries
The contact section collects and validates user input, includes honeypot spam protection, and sends submissions from the browser to the external Web3Forms REST API. Its access key is injected at Vite build/runtime through VITE_WEB3FORMS_ACCESS_KEY; .env remains local and .env.example defines the required contract. There is no repository-visible backend.
Paths: src/components/Contact/Contact.jsx, .env.example, package.json.
8. Build Infrastructure
Node.js (18+) and npm drive dependency installation and Vite development/build commands. index.html is Vite’s browser entry document; Vite bundles React and client assets for deployment. Image assets are intended to live under the app asset tree, while public/ holds directly served static files.
Paths: package.json, index.html, src/assets/images, public.
Main entry points: vite.config.js Vite bundler · App.jsx App shell · main.jsx React bootstrap · Header.jsx Header & footer
Components 19
Build & delivery
- Node.js & npm · Installs dependencies and runs Vite commands.
package.json - Vite bundler · Builds the static client bundle.
vite.config.js - Browser entry document
index.html - Static hosting bundle
- Web3Forms key contract · Defines the VITE_WEB3FORMS_ACCESS_KEY requirement.
.env.example - Direct static files
public
React single-page app
- React bootstrap · Mounts React and global setup.
src/main.jsx - App shell · Composes one scrollable portfolio page.
src/App.jsx - Header & footer · Navigation anchors and global controls frame the page.
src/components/Header/Header.jsx - Hero presentation · Includes spotlight and scroll-reveal presentation.
src/components/Hero/Hero.jsx - i18next setup · Configures react-i18next resources and active locale.
src/i18n.js - Language switcher
src/components/LanguageSwitcher/LanguageSwitcher.jsx - Theme switcher
src/components/ThemeSwitcher/ThemeSwitcher.jsx - Global styles · Shared styling and theme presentation.
src/index.css - Client image assets
src/assets/images
Portfolio sections
- Portfolio content sections · About, skills, projects, and certificates own their content and layout.
src/components/About/About.jsx - Contact form · Validates input and applies honeypot spam protection.
src/components/Contact/Contact.jsx - English & Turkish content
src/locales/en/translation.json
External services
- Web3Forms REST API · Receives browser-submitted visitor messages.
Connections 21
- Node.js & npm → Vite bundler: runs
- Vite bundler → Browser entry document: uses entry
- Vite bundler → React bootstrap: bundles
- Vite bundler → Client image assets: processes
- Vite bundler → Direct static files: serves directly
- Vite bundler → Static hosting bundle: produces
- Browser entry document → React bootstrap: loads
- React bootstrap → App shell: mounts
- React bootstrap → i18next setup: initializes
- React bootstrap → Global styles: loads
- App shell → Header & footer: composes
- App shell → Hero presentation: composes
- App shell → Portfolio content sections: composes
- App shell → Contact form: composes
- i18next setup → English & Turkish content: loads resources
- Language switcher → i18next setup: changes locale
- Header & footer → Language switcher: hosts
- Header & footer → Theme switcher: hosts
- Theme switcher → Global styles: updates theme
- Contact form → Web3Forms key contract: reads build variable
- Contact form → Web3Forms REST API: submits message