How itsyaba/portfolio-v2 works
Project type and purpose
• This is a Next.js 13 “app‐router” portfolio site whose sole purpose is to showcase a developer’s work, experience, and contact form. It’s a front‐end–centric application (no custom backend), rendered via SSG/SSR on Vercel, styled with Tailwind CSS, and built with React/TypeScript.
File structure
• Top‐level:
• Configuration files (.eslintrc.json, next.config.mjs, tailwind.config.ts, tsconfig.json, package.json)
• src/app: Next.js entrypoints (layout.tsx, page.tsx, globals.css)
• src/components & src/components/ui: Reusable UI building blocks
• src/sections: Page‐specific slices (About, Hero, Projects, Contact, etc.)
• src/lib/utils.ts: General helper functions
README for additional insights
• Describes features: responsive layout, project showcase, contact form, optimized performance
Elements
– Blue for client-side elements
– Green for serverless/CDN
– Yellow for build-time tools
– Gray for static assets
Be detailed—capture every architectural element
• How src/lib/utils.ts is imported by components/sections at runtime
• Distinguish between build-time steps (npm scripts, Tailwind processing) and runtime steps (SSR/SSG, hydration)
• Don’t forget global CSS (globals.css) in the layout