feat(machine): skip idle logo float animation on Sintra
The Aaeon UP Board (Atom x5-Z8350) chokes on continuous CSS transforms. Gate animate-float on machineModel, keep the bounce for douro/tejo/batm3/gaia where the hardware can handle it. Refs #47 (operator-side animation toggle is a future consideration there). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
58f09fad5e
commit
d9a3c04f57
2 changed files with 3 additions and 1 deletions
|
|
@ -1299,6 +1299,7 @@ export const useAtmStore = defineStore('atm', () => {
|
||||||
allowMockFallback,
|
allowMockFallback,
|
||||||
initError,
|
initError,
|
||||||
fiatCode,
|
fiatCode,
|
||||||
|
machineModel,
|
||||||
useLiveServices,
|
useLiveServices,
|
||||||
connectionStatus,
|
connectionStatus,
|
||||||
balanceSats,
|
balanceSats,
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,8 @@ function handleCashOut() {
|
||||||
<img
|
<img
|
||||||
src="/logo.png"
|
src="/logo.png"
|
||||||
alt="Lamassu"
|
alt="Lamassu"
|
||||||
class="h-20 w-20 lg:h-[12vh] lg:w-[12vh] animate-float drop-shadow-[0_0_24px_var(--primary)]"
|
class="h-20 w-20 lg:h-[12vh] lg:w-[12vh] drop-shadow-[0_0_24px_var(--primary)]"
|
||||||
|
:class="{ 'animate-float': atmStore.machineModel !== 'sintra' }"
|
||||||
/>
|
/>
|
||||||
<h1 class="text-3xl lg:text-[5vh] font-bold text-primary leading-tight">Bitcoinmat</h1>
|
<h1 class="text-3xl lg:text-[5vh] font-bold text-primary leading-tight">Bitcoinmat</h1>
|
||||||
<div class="flex flex-wrap items-center justify-center gap-2 lg:gap-3">
|
<div class="flex flex-wrap items-center justify-center gap-2 lg:gap-3">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue