Deploy only what changed; pages notice a new version; home page: personal analyses
CI / test (push) Successful in 3m10s
CI / build (push) Skipped
CI / deploy (push) Skipped

- CI: ci/changed-services.sh compares HEAD with the last deployment's v*
  tag: the Rust tests run only when a Rust service changed, only the
  changed images are built, and the server's .env gets a tag per built
  service (TAG_FRONTEND, TAG_BACKEND, ...; TAG stays the fallback), so only
  their containers restart. Everything when in doubt.
- The frontend image knows its version (APP_VERSION, the commit): Next's
  deploymentId (a page from an older version reloads on navigation) and
  /api/version. VersionWatcher checks every 5 minutes and when the tab
  comes to the front: idle with nothing typed, the page reloads; otherwise
  a "Frissült az oldal" notice offers it.
- Home page: "Nem sablonszöveg, hanem a te elemzésed" in the hero, the
  "Miért más?" section now about analyses written for each chart; the two
  hero buttons side by side on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-26 20:40:43 +00:00
co-authored by Claude Opus 5.5
parent 083de72877
commit 27a6226d86
11 changed files with 231 additions and 32 deletions
+25
View File
@@ -1814,3 +1814,28 @@ span.tarot-fan-card { cursor: default; }
}
.pw-eye:hover, .pw-eye:focus-visible { color: var(--gold); }
.pw-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* The home page: analyses written for each chart, not template texts. */
.lp-personal {
display: flex; gap: 14px; align-items: flex-start; max-width: 560px; padding: 16px 18px;
border: 1px solid rgba(217, 180, 106, 0.35); border-radius: 14px; background: rgba(217, 180, 106, 0.07);
}
.lp-personal-icon { width: 30px; height: 30px; flex: none; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-personal-title { display: block; color: var(--ink); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.lp-personal-text { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
/* Phones: the hero's two buttons side by side (each takes half the row). */
@media (max-width: 479px) {
.lp-hero .lp-actions { flex-wrap: nowrap; gap: 10px; }
.lp-hero .lp-actions .lp-btn { flex: 1 1 auto; min-width: 0; padding: 0 14px; font-size: 15px; text-align: center; }
}
/* "Frissült az oldal": a new version is out (VersionWatcher). */
.update-note {
position: fixed; top: calc(12px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 80;
display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 24px); padding: 10px 12px 10px 16px;
background: var(--panel, #121a2e); color: var(--ink, #ece6d8); border: 1px solid var(--gold); border-radius: 14px;
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); font-size: 15px;
}
.update-note-later { border: 0; background: none; color: var(--ink-2, #c9cfdc); font: inherit; font-size: 14px; cursor: pointer; padding: 6px; }
.update-note-later:hover { color: var(--gold); }
@media (max-width: 479px) { .update-note { flex-wrap: wrap; justify-content: center; text-align: center; } }