How sakthi0x/portfolio_v1 works
This is a React/TypeScript personal portfolio with two portfolio presentations represented in the source: the routed notebook-style Home experience and a richer stealth dashboard. The principal workflow takes a visitor through the app’s unlock/loading screens into the portfolio, where they browse profile, experience, projects, activity, writing, and contact content. Theme, audio, visitor counting, and engagement tracking support that experience. The README documents Medium-style writing, WakaTime, GitHub activity, and Firebase visitor counting; some integration wiring is not visible in the excerpts, so those links are omitted or marked unverified.
Main entry points: Home.tsx Notebook home · App.tsx App and routing · StealthDashboard.tsx Stealth dashboard · HeroSection.tsx Profile hero
Components 25
App shell
- App and routing
src/App.tsx - Unlock intro
src/components/ui/UnlockIntroScreen.tsx - Loading screen
src/components/ui/LoadingScreen.tsx
Portfolio content
- Notebook home
src/pages/Home.tsx - Stealth dashboard
src/pages/StealthDashboard.tsx - Profile hero
src/components/sections/HeroSection.tsx - Experience
src/components/sections/ExperienceSection.tsx - Project catalog
src/data/projects.ts - Deployed projects
src/components/sections/DeployedAssets.tsx - Writing stream
src/components/sections/FlowingBlogRiver.tsx - Contact form
src/components/sections/ContactForm.tsx
Interactive features
- Theme provider
src/components/features/ThemeProvider.tsx - Theme toggle
src/components/ui/ThemeToggle.tsx - Audio provider
src/components/features/AudioProvider.tsx - Audio engine
src/utils/audioEngine.ts - Engagement tracking
src/utils/useGamification.ts - Chat widget
src/components/features/ChatWidget.tsx
External data
- GitHub activity
src/components/features/GithubHeatmap.tsx - Latest commit
src/components/features/LatestCommit.tsx - WakaTime stats
src/components/features/WakatimeStats.tsx - Visitor counter
src/components/features/VisitorCounter.tsx - Firebase counter data
src/services/firebase.ts - Medium feed endpoint
api/medium.js - Chat endpoint
api/chat.js
Other components
- Portfolio visitor
Connections 26
- Portfolio visitor → App and routing: opens
- App and routing → Unlock intro: shows first
src/App.tsx - Unlock intro → Loading screen: unlocks
src/App.tsx - Loading screen → Notebook home: reveals
src/App.tsx - App and routing → Theme provider: wraps app
src/App.tsx - App and routing → Audio provider: mounts
src/App.tsx - Audio provider → Audio engine: uses
src/components/features/AudioProvider.tsx - Notebook home → Experience: renders
src/pages/Home.tsx - Notebook home → GitHub activity: renders
src/pages/Home.tsx - Notebook home → Latest commit: renders
src/pages/Home.tsx - Notebook home → Contact form: renders
src/pages/Home.tsx - Notebook home → Writing stream: renders
src/pages/Home.tsx - Notebook home → Visitor counter: renders
src/pages/Home.tsx - Notebook home → Project catalog: reads
src/pages/Home.tsx - Notebook home → WakaTime stats: renders
src/pages/Home.tsx - Theme toggle → Theme provider: updates
src/components/ui/ThemeToggle.tsx - Visitor counter → Firebase counter data: calls
src/components/features/VisitorCounter.tsx - Deployed projects → Project catalog: reads
src/components/sections/DeployedAssets.tsx - Deployed projects → Engagement tracking: tracks engagement
src/components/sections/DeployedAssets.tsx - Stealth dashboard → Profile hero: renders
src/pages/StealthDashboard.tsx - Stealth dashboard → Deployed projects: renders
src/pages/StealthDashboard.tsx - Stealth dashboard → Writing stream: renders
src/pages/StealthDashboard.tsx - Profile hero → WakaTime stats: shows popup
src/components/sections/HeroSection.tsx - Profile hero → Latest commit: renders
src/components/sections/HeroSection.tsx - Writing stream → Medium feed endpoint: may fetch
- Chat widget → Chat endpoint: may call