You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
3.3 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# artnouveau.in — Art.n Architects website
Static site, rebuilt July 2026 (quiet-luxury editorial design: warm paper,
Cormorant Garamond + Archivo, calm motion). No framework, no CMS — plain
HTML/CSS/JS generated by Node scripts, so it stays maintainable.
The earlier dark "drafting board" design is preserved at git tag `v1-dark-drafting`.
## Branches
| branch | contents |
|---|---|
| `main` | backup mirror of the OLD live site (taken 2026-07-05) — do not build from this |
| `development` | design mockups v1v5 + reference moodboard (`redesign/v1/`) |
| `production` | the new site: sources, tools and generated `dist/` |
## Layout (production branch)
- `dist/`**the complete generated website.** Deploying = uploading this folder.
- `src/data/projects.json` — all 33 projects: titles, categories, blurbs, photo lists. Edit this to change project content.
- `src/data/site.json` — contact details, offices, team list, principal bio.
- `src/data/home.json` — which projects/photos the homepage features.
- `src/css/site.css`, `src/js/site.js` — the design system (shared by every page).
- `img/` — original photos (source of truth; never deleted).
- `docs-photo-issues.md` — photo problems found during review (reshoot checklist).
## Commands
```
npm install --legacy-peer-deps # once per machine
npm run images # only after adding/changing photos (regenerates WebP variants)
node tools/images-extra.js # team photos + OG image
npm run build # regenerate all pages in dist/ (fast, run after any src/ edit)
node tools/serve.js 8123 # preview at http://localhost:8123
```
## Adding a new project
1. Put photos in `img/projects/<Name>/`.
2. Add an entry to `src/data/projects.json` (copy an existing one; `images` paths are repo-relative).
3. `npm run images`, then `npm run build`.
## Remote & backups
- **gitea `development` branch** (gitea.simssoftware.in/SIMS/Artnouveau_website) holds the
complete new site — sources, tools, generated `dist/` and original photos. It was pushed
as a staged snapshot (many ~30 MB commits) because the server rejects uploads over its
size limit (HTTP 413). The local branch mirroring it is `transport2`
(worktree at `..\an-transport`). To publish updates: copy changed files into that
worktree, commit, and `git push origin transport2:refs/heads/development`.
- To push the REAL history (branches `main`/`development`/`production`) the gitea server's
reverse-proxy upload limit must be raised (e.g. nginx `client_max_body_size 512m;`).
- **Local bundle backup**: `C:\SiMS\Artnouveau\Artnouveau_website-backup-2026-07-05.bundle`
(all branches; refresh with `git bundle create <file> --all` after new commits).
- The old dark "drafting board" design: git tag `v1-dark-drafting`.
## Notes
- All vendor libraries (GSAP, Lenis, three.js, model-viewer, GLightbox) and fonts are
vendored locally in `dist/assets/` — the site has zero external runtime dependencies.
- The 3D section uses a procedural massing model (`src/3d/massing.glb`, generated by
`tools/make-glb.js`). Replace with a real GLB export from SketchUp/Revit when available.
- Old live-site URLs (e.g. `portfolio Achayans cafe.html`) redirect to the new clean URLs
via stub pages in `dist/`.
- Tender system (tender.artnouveau.in) is separate — this site only links to it.