How sikandarsubhani/sikandar-next-portfolio works
This repository is a personal portfolio and blog site. Visitors browse a landing page of profile, skills, projects, and experience, can read MDX blog posts, and can submit a contact form to an API route. The graph separates page orchestration, portfolio content, blog rendering and parsing, and contact handling. Source evidence is strongest for the page imports, MDX calls, and contact request; unsampled route internals and other integrations are not inferred.
Main entry points: app/page.tsx Home page · mdx.ts MDX post access · blog/page.tsx Blog index route · [slug]/page.tsx Post detail route
Components 22
Site presentation
- Home page
app/page.tsx - Site shell
app/layout.tsx - Navigation
components/layout/Navbar.tsx - Footer
components/layout/Footer.tsx
Portfolio content
- Hero
components/sections/Hero.tsx - About
components/sections/About.tsx - Skills
components/sections/Skills.tsx - Skill data
data/skills.ts - Projects
components/sections/Projects.tsx - Project data
data/projects.ts - Experience
components/sections/Experience.tsx - Experience data
data/experience.ts - Blog section
components/sections/Blog.tsx
Blog publishing
- Blog index route
app/blog/page.tsx - Post listing
components/blog/BlogList.tsx - Post detail route
app/blog/[slug]/page.tsx - Post reader
components/blog/BlogPost.tsx - MDX post access
lib/mdx.ts - Sitemap
app/sitemap.ts
Contact flow
- Contact form
components/sections/Contact.tsx - Contact API
app/api/contact/route.ts
Other components
- Visitor
Connections 23
- Visitor → Home page: opens
app/page.tsx - Visitor → Blog index route: opens
app/blog/page.tsx - Visitor → Post detail route: opens
app/blog/[slug]/page.tsx - Home page → Hero: renders
app/page.tsx - Home page → About: renders
app/page.tsx - Home page → Skills: renders
app/page.tsx - Home page → Projects: renders
app/page.tsx - Home page → Experience: renders
app/page.tsx - Home page → Blog section: renders
app/page.tsx - Home page → Contact form: renders
app/page.tsx - Site shell → Navigation: renders
app/layout.tsx - Site shell → Footer: renders
app/layout.tsx - Skills → Skill data: reads
components/sections/Skills.tsx - Projects → Project data: reads
components/sections/Projects.tsx - Experience → Experience data: reads
components/sections/Experience.tsx - Blog index route → MDX post access: loads posts
app/blog/page.tsx - Blog index route → Post listing: renders
app/blog/page.tsx - Post listing → MDX post access: uses post data
components/blog/BlogList.tsx - Post detail route → MDX post access: loads post
app/blog/[slug]/page.tsx - Post detail route → Post reader: renders
app/blog/[slug]/page.tsx - Post reader → MDX post access: uses post type
components/blog/BlogPost.tsx - Sitemap → MDX post access: reads posts
app/sitemap.ts - Contact form → Contact API: posts form
components/sections/Contact.tsx