How gulbin-dev/gulbindev-portfolio works
Purpose and Runtime
This repository is a personal portfolio site built with Next.js App Router and TypeScript, deployed through Vercel configuration. It presents landing-page skills/workflow content, biography/legal pages, contact/navigation chrome, and a project portfolio whose demos are sourced server-side.
Key runtime entry points:
• app/(pages)/layout.tsx
• app/(pages)/page.tsx
• next.config.ts
• vercel.json
Route Structure and Document Shell
The route group under app/(pages) provides the shared page layout and loading UI. Its nested (pages) group contains static content routes for about, projects, privacy notice, and terms. Route groups organize URLs without becoming URL segments.
• app/(pages)/layout.tsx
• app/(pages)/loading.tsx
• app/(pages)/(pages)/about/page.tsx
• app/(pages)/(pages)/projects/page.tsx
Landing-Page Composition
The home route is assembled from focused content sections: hero text, stack proficiency, frontend/core technologies, and workflow cards. This is the primary content presentation layer rather than a data-driven CMS.
• app/(pages)/page.tsx
• app/(pages)/_components/HeroScrambleText.tsx
• app/(pages)/_components/WorkflowCards.tsx
• app/(pages)/_components/ProficientStacks.tsx
Shared Site Chrome and Page Boundaries
Shared components define persistent navigation, footer/contact surfaces, and page/canvas wrappers. PagesWrapper and canvas-related components establish reusable visual/layout boundaries around route content, while Header, NavLinks, and Footer connect users across routes.
• app/components/PagesWrapper.tsx
• app/components/Header.tsx
• app/components/FooterWrapper.tsx
• app/components/CanvasWrapper.tsx
Projects Data Flow
The projects route delegates loading and rendering to a project-specific component set. ProjectLoader is the loading/orchestration boundary, Projects renders successful project data, and ErrorContainer handles fetch or display failure. Project demo retrieval is isolated in a server module, indicating server-side access to external project metadata rather than browser-side credential use.
• app/(pages)/(pages)/projects/_components/ProjectLoader.tsx
• app/(pages)/(pages)/projects/_components/Projects.tsx
• app/(pages)/(pages)/projects/_components/ErrorContainer.tsx
• app/server/project-demo.ts
External Integration and Server Boundary
GitHub access is encapsulated behind authentication and server-fetch utilities. This separates credentials/token construction from project-page UI. Tests explicitly cover GitHub fetching, making this integration a material system boundary.
• app/utils/github-auth.ts
• app/server/project-demo.ts
• __tests__/test-github-fetch.test.ts
Visual System and Client Interaction
The UI layer supplies reusable cards, sections, tags, backgrounds, quotes, and scroll-progress primitives. GSAP utilities and custom hooks support animation and viewport-responsive behavior; image-sequence support likely powers richer visual assets. Global and component CSS provide the styling foundation.
• app/components/UI/Canvas.tsx
• app/components/UI/CardScrollProgress.tsx
• app/hooks/useAnimateStacks.ts
• app/utils/gsap.ts
• app/styles/globals.css
Discovery and Static Assets
Next metadata routes expose crawler directives and a sitemap. Public assets include images, Open Graph material, a downloadable resume, and frame imagery; the checked-in html/ directory appears to be a generated/static artifact rather than the primary application source.
• app/robots.ts
• app/sitemap.ts
• public/og
• public/joshua-glenn-gulbin-resume-2026-05-16.pdf
Main entry points: layout.tsx Shared Page Layout · page.tsx Home Page · ProjectLoader.tsx Project Loader · project-demo.ts Project Demo Service
Components 18
App Routes
Next.js App Router pages and shared route shell.
- Shared Page Layout · Provides the common document shell for page routes.
app/(pages)/layout.tsx - Route Loading UI
app/(pages)/loading.tsx - Home Page
app/(pages)/page.tsx - Static Content Pages · About, projects, privacy, and terms are organized beneath a nested route group.
app/(pages)/(pages)/about/page.tsx - Landing Sections · Hero, skills, technology, and workflow content.
app/(pages)/_components/HeroScrambleText.tsx
Projects Pipeline
Server-backed portfolio demo retrieval and rendering.
- Projects Page
app/(pages)/(pages)/projects/page.tsx - Project Loader · Loading boundary for project demos and failures.
app/(pages)/(pages)/projects/_components/ProjectLoader.tsx - Projects View
app/(pages)/(pages)/projects/_components/Projects.tsx - Project Error UI
app/(pages)/(pages)/projects/_components/ErrorContainer.tsx - Project Demo Service · Retrieves external project metadata on the server.
app/server/project-demo.ts - GitHub Authentication · Encapsulates token and credential construction.
app/utils/github-auth.ts - GitHub · Source of project demo metadata.
Shared UI
Reusable layout, visual, and interaction primitives.
- Site Chrome · Persistent navigation, footer/contact, and page/canvas wrappers.
app/components/PagesWrapper.tsx - Visual & Motion System · Canvas, scroll progress, GSAP animation, hooks, and global styling.
app/components/UI/Canvas.tsx
Platform & Discovery
Deployment, crawler metadata, and public assets.
- Crawler Metadata · Robots directives and sitemap generation.
app/robots.ts - Public Assets · Open Graph assets, resume, imagery, and generated static material.
public/og - Vercel Deployment
vercel.json
Other components
- Next.js Runtime
next.config.ts
Connections 17
- Vercel Deployment → Next.js Runtime: deploys
- Next.js Runtime → Shared Page Layout: serves
- Shared Page Layout → Route Loading UI: shows during navigation
- Shared Page Layout → Home Page: wraps
- Shared Page Layout → Static Content Pages: wraps
- Shared Page Layout → Site Chrome: uses
- Home Page → Landing Sections: composes
- Home Page → Visual & Motion System: uses
- Static Content Pages → Projects Page: includes
- Projects Page → Project Loader: delegates to
- Project Loader → Projects View: renders on success
- Project Loader → Project Error UI: renders on failure
- Project Loader → Project Demo Service: loads demos
- Project Demo Service → GitHub Authentication: authenticates with
- Project Demo Service → GitHub: fetches metadata
- Next.js Runtime → Crawler Metadata: exposes
- Home Page → Public Assets: uses