diff --git a/README.md b/README.md index a6cbacc..8f3216e 100644 --- a/README.md +++ b/README.md @@ -59,20 +59,6 @@ npm run build # static export in out/ ## Deploy -`./deploy-shanaty.sh` builds and publishes the site to shanaty.ru (needs the ssh key `~/.ssh/MyGitea`). Only needed after changing code or styles. - -## Themes - -The page is **dark by default** (a night version of the viewport: graphite backdrop, brighter axis colours, and a light closing contact band). A button in the top bar switches to the light theme; the choice is remembered in the browser and applied before the first paint, so there is no flash. Colours live in the tokens at the top of `app/globals.css` (`:root` for light, `:root[data-theme='dark']` for dark); components only use those tokens, so a new theme is a new block of values. - -## One site with the front page and the portfolio - -`/resume/` shares its top bar (brand, Resume, Portfolio, Gitea, Contact, RU/EN, theme), navigation, contact band, colour tokens and fonts with `https://shanaty.ru/` and `/portfolio/` (static pages kept in the `auto` repo, `home/`). The bar marks the current page, and this page adds a second row of anchors for its own sections. Keep the three bars in step when a link changes. - -## Design - -The page is laid out like a 3D-editor viewport, a nod to the game-engine work it presents: a studio backdrop with a perspective floor whose red X and blue Z axes match the axis colours of Blender and Unity, and an orientation gizmo in the corner that orbits as the page scrolls (press it to go back to the top). Projects without a demo image get a deterministic isometric voxel sculpture generated from the repo name. - -## Not published on purpose - -The official resume on hh.ru holds more personal details (phone, date of birth, salary expectations). This site only carries the professional content. +Automatic: every push to `main` (except changes that only touch `data/**` or `*.md`) runs `.gitea/workflows/deploy.yml` on the server's Gitea Actions runner. It builds the site and swaps the +`resume/` folder of shanaty.ru in. Gitea runs `.gitea/workflows` instead of `.github/workflows`, so the GitHub Pages workflow (for the copy on GitHub) does not run on the server. +By hand, with the ssh key `~/.ssh/MyGitea`: `./deploy-shanaty.sh`.