How hongkiulam/site works
This is a server-rendered Astro portfolio site with photography, interactive home-page elements, navigation, and experimental 3D pages. The clearest evidenced runtime flow is photography project data from Behance (or a development mock) through an API endpoint, plus a client-side photo lightbox with canvas pan/zoom. The README is an uncustomized Astro starter and does not document the site’s capabilities; several page implementations are unsampled, so their links are omitted rather than inferred.
Main entry points: index.ts Behance projects API · Lightbox.svelte Photo lightbox · MobileNav.tsx Mobile navigation · Image.svelte Photo image
Components 19
Site experience
- Home page
src/pages/index.astro - Home visuals
src/components/home - Mobile navigation
src/components/MobileNav.tsx - Page wipe
src/components/MobileNavPageWipe.tsx
Photography
- Photo gallery
src/pages/photos/index.astro - Photo project
src/pages/photos/[projectId].astro - Photo image
src/components/photos/Image.svelte - Photo lightbox
src/components/photos/Lightbox.svelte - Canvas pan zoom
src/components/photos/panZoomCanvas.ts
Experiments
- Experiments index
src/pages/experiments/index.astro - Phantom Land
src/components/experiments/R3FPhantomLandClone.tsx - Experiment page
src/pages/experiments/r3f-phantom-land-clone.astro
API integrations
- Behance projects API
src/pages/api/behance/all-graphql/index.ts - Project mock data
src/pages/api/behance/all-graphql/_projects.ts - Projects query
src/pages/api/behance/all-graphql/_projects.gql - Image proxy
src/pages/api/proxy-image/index.ts
Other components
- Visitor
- Behance GraphQL
- External image host
Connections 10
- Visitor → Home page: opens
- Visitor → Photo gallery: opens
- Visitor → Experiments index: opens
- Mobile navigation → Page wipe: renders
src/components/MobileNav.tsx - Photo image → Photo lightbox: opens
src/components/photos/Image.svelte - Photo lightbox → Canvas pan zoom: uses
src/components/photos/Lightbox.svelte - Behance projects API → Project mock data: loads in development
src/pages/api/behance/all-graphql/index.ts - Behance projects API → Projects query: reads query
src/pages/api/behance/all-graphql/index.ts - Behance projects API → Behance GraphQL: fetches projects
src/pages/api/behance/all-graphql/index.ts - Image proxy → External image host: fetches image
src/pages/api/proxy-image/index.ts