docs: document theme, content conventions, and 2026-11-24 changes
- 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>
This commit is contained in:
1 parent
abd5fd4a58
commit
08a250202d
4 files changed
+115
-29
No files matched your search
@@ -1,36 +1,37 @@
|
||||
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
|
||||
# angelmankel.com
|
||||
|
||||
## Getting Started
|
||||
Angel Mankel's portfolio site. Next.js 16 (App Router), TypeScript, Tailwind v4. Self-hosted in Docker behind Traefik.
|
||||
|
||||
First, run the development server:
|
||||
- **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 run dev
|
||||
# or
|
||||
yarn dev
|
||||
# or
|
||||
pnpm dev
|
||||
# or
|
||||
bun dev
|
||||
npm install
|
||||
npx next dev -H 192.168.0.10 -p 3100 # reachable from other LAN machines
|
||||
# or: npm run dev # localhost:3000 only
|
||||
```
|
||||
|
||||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
||||
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.
|
||||
|
||||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
||||
## Deploy
|
||||
|
||||
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
|
||||
There's no CI. Commit to `main`, push, then rebuild the container on the server:
|
||||
|
||||
## Learn More
|
||||
|
||||
To learn more about Next.js, take a look at the following resources:
|
||||
|
||||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
||||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
||||
|
||||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
||||
|
||||
## Deploy on Vercel
|
||||
|
||||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
||||
|
||||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|
||||
```bash
|
||||
git push origin main
|
||||
cd ~/portfolio-stack && docker compose up -d --build --no-deps portfolio
|
||||
```
|
||||
Reference in new issue
Block a user