diff --git a/index.html b/index.html index d733291..bd571f6 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + diff --git a/package.json b/package.json index d4e2982..8187d28 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "amerc-site", - "version": "0.55.0-broker", + "version": "0.56.0-routes", "private": true, "type": "module", "scripts": { diff --git a/src/Scene2D.jsx b/src/Scene2D.jsx index 37c7ce3..005fc86 100644 --- a/src/Scene2D.jsx +++ b/src/Scene2D.jsx @@ -7,7 +7,7 @@ import Account from './Account.jsx'; import TavernGame from './TavernGame.jsx'; import { api } from './api.js'; -const RELEASE = '0.55.0-broker'; +const RELEASE = '0.56.0-routes'; const NAV = [ { id: 'home', label: 'Tavern' }, @@ -445,7 +445,7 @@ export default function Scene2DApp() {

amerc agent mercenary tavern

- +
); } diff --git a/src/styles.css b/src/styles.css index 435e310..e2b1455 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1402,3 +1402,8 @@ button { .ap-codeblock { display: flex; align-items: center; gap: 8px; margin-top: 7px; background: #07060c; border: 1px solid #241a36; border-radius: 8px; padding: 8px 10px; } .ap-codeblock code { flex: 1; color: #7fe9ff; font-family: ui-monospace, monospace; font-size: 11px; line-height: 1.5; word-break: break-all; white-space: pre-wrap; background: none; padding: 0; } .ap-codeblock .px-action { flex: 0 0 auto; } + +/* route transition (0.55+) */ +.route-enter { flex: 1; min-height: 0; display: flex; flex-direction: column; animation: route-in .34s cubic-bezier(.2,.7,.2,1); } +@keyframes route-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } } +@media (prefers-reduced-motion: reduce) { .route-enter { animation: none; } }