Official Korean/English portfolio website for musician Hwang Gyeongha. The app uses Next.js App Router, React, TypeScript, Tailwind CSS, Framer Motion, and centralized site data.
npm run dev- Start the development server.npm start- Start the production server afternpm run build.npm run build- Build the production Next.js app.npm run lint- Run ESLint.npx tsc --noEmit- Run TypeScript type checking.npm run data:validate- Validatesrc/data/siteData.json.npm run data:translations- Validate locale parity and Korean-to-English site data coverage.npm test- Run documentation, data, translation, and invariant checks.npm run test:browser- Build and run browser smoke checks.
src/app/(ko)andsrc/app/(en)provide localized App Router routes, layouts, metadata, error pages, and static generation.src/viewscontains client page composition for Home, About, Works, News, and Contact.src/componentscontains reusable UI, layout, media, cards, and form components.src/data/siteData.jsonis the canonical content source.src/data/siteContent.tsandsrc/utils/translateSiteData.tsderive normalized localized data.scriptscontains operational validation for content, translations, invariants, prerendering, and browser smoke.
When editing content, keep these invariants true:
- Work IDs are unique URL-safe slugs.
- Korean and English generated work IDs stay identical.
- External image hosts used by work covers are allowed in
next.config.mjs. - Local image paths exist under
public/. archiveCategorymatches the containing work category.- Translation mappings in
src/utils/translateSiteData.tscover all Korean strings in site data.
Before deployment or handoff, run:
npm test
npm run lint
npx tsc --noEmit
npm run build