- Replace create-next-app README with a real one (layout, dev, deploy). - docs/CLAUDE.md: add theme/styling and content convention sections, the no-em-dash copy rule, dev-server and stale-CSS notes, cross-references. - Add docs/changelog.md with today's site and infra changes. - Mark docs/palette.html as the superseded original spec. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
# angelmankel.com
|
|
|
|
Angel Mankel's portfolio site. Next.js 16 (App Router), TypeScript, Tailwind v4. Self-hosted in Docker behind Traefik.
|
|
|
|
- **Project brief, design rules, and conventions:** [`docs/CLAUDE.md`](docs/CLAUDE.md). Read this before changing copy or design.
|
|
- **Change history:** [`docs/changelog.md`](docs/changelog.md)
|
|
- **Hosting, DNS, and the demo stack:** `~/portfolio-stack/README.md` (on the server, not in this repo)
|
|
|
|
## Where things live
|
|
|
|
| What | Where |
|
|
|---|---|
|
|
| Page content (projects, testimonials, uses, about, timeline) | `constants/*.ts` |
|
|
| Pages | `app/` (`/`, `/about`, `/projects`, `/projects/[slug]`, `/uses`) |
|
|
| Theme: colors, grey scale, font roles | `:root` in `app/globals.css` |
|
|
| Fonts (Manrope, EB Garamond) | `app/layout.tsx` via `next/font` |
|
|
| Dev-only theme switcher | `components/dev/` (never in production builds) |
|
|
| Resume PDF | `public/Angel_Mankel_Resume_2026.pdf` |
|
|
|
|
## Develop
|
|
|
|
```bash
|
|
npm install
|
|
npx next dev -H 192.168.0.10 -p 3100 # reachable from other LAN machines
|
|
# or: npm run dev # localhost:3000 only
|
|
```
|
|
|
|
If a CSS change doesn't show up, the dev server is probably serving a stale `globals.css`. Stop it, run `rm -rf .next/dev`, and start it again.
|
|
|
|
## Deploy
|
|
|
|
There's no CI. Commit to `main`, push, then rebuild the container on the server:
|
|
|
|
```bash
|
|
git push origin main
|
|
cd ~/portfolio-stack && docker compose up -d --build --no-deps portfolio
|
|
```
|