How lenkewarnikhil/portfolio works
This is a personal portfolio website with a homepage for profile, experience, projects, skills, and blog listings, plus a route for reading individual articles. The main workflow is visitors browsing the portfolio or opening a listed article; the article view fetches Markdown, converts it to HTML, and sanitizes it before display. The homepage’s data files are explicit imports in App.jsx. The contact form and some homepage behavior are only partially excerpted, so their integrations and internal flow are not asserted.
Main entry points: App.jsx Portfolio home · main.jsx Route entry · Blog.jsx Article reader · profile.json Profile and skills
Components 12
Portfolio
- Route entry
src/main.jsx - Portfolio home
src/App.jsx - Profile and skills
src/data/profile.json
Editorial
- Blog listings
src/data/blog-posts.json - Article reader
src/Blog.jsx - Markdown articles
public/assets/posts - Markdown rendering
src/Blog.jsx - Marked parser
- DOMPurify sanitizer
Content data
- Experience
src/data/experience.json - Projects
src/data/projects.json
Other components
- Visitor
Connections 11
- Visitor → Route entry: opens site
src/main.jsx - Route entry → Portfolio home: routes home
src/main.jsx - Route entry → Article reader: routes article
src/main.jsx - Portfolio home → Profile and skills: imports data
src/App.jsx - Portfolio home → Experience: imports data
src/App.jsx - Portfolio home → Projects: imports data
src/App.jsx - Portfolio home → Blog listings: imports data
src/App.jsx - Article reader → Markdown articles: fetches article
src/Blog.jsx - Article reader → Markdown rendering: renders content
src/Blog.jsx - Markdown rendering → Marked parser: parses Markdown
src/Blog.jsx - Markdown rendering → DOMPurify sanitizer: sanitizes HTML
src/Blog.jsx