How notken12/portfolio works
Project type and purpose
• This is a single‐repo, Next.js‐based portfolio website (“Ken’s Portfolio”) that uses the App Router (src/app), generates static pages (SSG/ISR), and delivers them via a serverless/CI/CD pipeline (e.g., Vercel).
• Purpose: showcase projects and photography, with fast page loads, theme toggling, and revalidation for dynamic content (photography).
File structure
• Top-level config files:
• next.config.mjs, tsconfig.json, tailwind.config.ts, postcss.config.mjs, .eslintrc.json
• GitHub Actions workflow: .github/workflows/nextjs.yml
• Public assets: public/fonts, public/images
• Source code under src/:
• src/app: Next.js pages and routing (layout.tsx, page.tsx, photography page, revalidate route)
• src/components: reusable UI (mode-toggle, theme-provider)
• src/components/ui: atomic design components (buttons, cards, avatars, dropdowns, etc.)
• src/lib: shared utilities (utils.ts)
• package.json & lockfiles: dependency definitions and scripts (dev, build, start)
README for additional insights
• Built with Next.js, Tailwind CSS, shadcn/ui, Aceternity UI
• Supports local dev (npm run dev) and Vercel deployment
• Uses next/font for optimized font loading