- TypeScript 57.7%
- CSS 41.6%
- JavaScript 0.5%
- Dockerfile 0.2%
|
|
||
|---|---|---|
| .agents | ||
| .github/workflows | ||
| archive | ||
| docs | ||
| public | ||
| scripts | ||
| src/app | ||
| tests | ||
| .dockerignore | ||
| .gitignore | ||
| AGENTS.md | ||
| bun.lock | ||
| CLAUDE.md | ||
| compose.yaml | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| tsconfig.json | ||
DAMA Portfolio
Next.js portfolio based on the responsive HTML prototype. The home page keeps its editorial grid, four 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: a contents list jumps to dvoix, set in the dispatch layout, with its figures and credits beside the full story in a single readable column. 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 owner's hardware and software. 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. See the matching sections in docs/design.md. Legacy /page?view=projects|setup|about|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 four 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.