- CSS 52.5%
- TypeScript 47%
- Dockerfile 0.3%
- JavaScript 0.2%
| .agents | ||
| docs | ||
| public | ||
| src/app | ||
| .dockerignore | ||
| .gitignore | ||
| AGENTS.md | ||
| bun.lock | ||
| CLAUDE.md | ||
| compose.yaml | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
DAMA Portfolio
Next.js portfolio based on the responsive HTML prototype. The home page keeps its editorial grid, six section links, and local clock.
CONTACT is a real route at /contact with direct channels and a message composer that hands a mailto: draft to your own mail client. PROJECTS is a real route at /projects, set as a front page rather than a grid of cards: the ranking is the design, with one lead story at display scale owning the first screen, two set in full side by side, and three compressed summaries whose complete notes print in an appendix below. A one-line reading key states that rule out loud and jumps to the appendix, and the page keeps the site's monochrome palette and hairline rules while dropping the eight-column bordered grid the other pages use. See the Projects page section in docs/design.md. SETUP is a real route at /setup, using the eight-column editorial grid to show the project's notes, prototypes, and code. See the Setup page section in docs/design.md. ABOUT ME uses the site's eight-column grid at /about for a short introduction and working principles, without invented biographical facts. EXPERIMENTS uses the same eight-column editorial grid at /experiments, with a full-screen opening and numbered Type, Data, and Motion studies. NOTES uses a chronological band-and-hairline layout at /notes. Both routes label their demo copy explicitly. See the matching sections in docs/design.md. Legacy /page?view=projects|setup|about|experiments|notes|contact URLs are permanent 308 redirects to those routes, declared in next.config.ts, and any other unknown view returns the 404 page.
The 404 page at src/app/not-found.tsx is the home grid with the wordmark replaced by the status code, so an unmatched URL still reads as the same magazine. It shows the path that failed and re-offers the six real routes. See the Not-found page section in docs/design.md.
Run locally
bun run dev
Open http://localhost:30410.
Deploy with Coolify
- Push the repository to a Git provider that your Coolify server can access.
- In Coolify, create an application from that repository and select Docker Compose as the build pack. Use
compose.yamlas the Compose file. - Set the domain for the
webservice. Because the app listens on port30410, include that internal port, for examplehttps://portfolio.example.com:30410. - Deploy the application.
The container exposes GET /api/health, returning { "status": "ok" }. The Docker image uses this endpoint for its built-in healthcheck.
Working with coding agents
AGENTS.md defines the project rules and commands. .agents/README.md indexes the project map, implementation conventions, and development and verification workflows. Visual changes follow docs/design.md and docs/typography.md.