mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
styling changes and disable beep boop
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -11,8 +11,8 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
||||||
<title>Roomba Rover</title>
|
<title>Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-DBkeJzWB.js"></script>
|
<script type="module" crossorigin src="/assets/index-CGtfPaCb.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-CkqCBh_q.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-57OQQPV8.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
@@ -39,17 +39,17 @@ function ManualDockAssistOverlay({ mobileHud = false }) {
|
|||||||
if (!visible) return null;
|
if (!visible) return null;
|
||||||
const toneClass =
|
const toneClass =
|
||||||
statusTone === 'good'
|
statusTone === 'good'
|
||||||
? 'border-emerald-200/70 bg-emerald-900/85 text-emerald-50'
|
? 'border-emerald-200/85 bg-emerald-900/96 text-emerald-50'
|
||||||
: statusTone === 'warn'
|
: statusTone === 'warn'
|
||||||
? 'border-amber-200/70 bg-amber-900/85 text-amber-50'
|
? 'border-amber-200/85 bg-amber-900/96 text-amber-50'
|
||||||
: 'border-indigo-200/70 bg-indigo-900/85 text-indigo-50';
|
: 'border-indigo-200/85 bg-indigo-900/96 text-indigo-50';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="pointer-events-none absolute inset-0">
|
<div className="pointer-events-none absolute inset-0">
|
||||||
{popupMessage ? (
|
{popupMessage ? (
|
||||||
<div className="absolute inset-0 flex items-center justify-center">
|
<div className="absolute inset-0 flex items-center justify-center">
|
||||||
<div
|
<div
|
||||||
className={`rounded-xl border border-indigo-200/70 bg-indigo-900/88 px-4 py-2 text-center font-semibold text-indigo-50 shadow-2xl ${
|
className={`rounded-xl border border-indigo-200/90 bg-indigo-950/98 px-4 py-2 text-center font-semibold text-indigo-50 shadow-2xl ${
|
||||||
mobileHud ? 'text-lg' : 'text-2xl'
|
mobileHud ? 'text-lg' : 'text-2xl'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -533,6 +533,7 @@ export function ControlSystemProvider({ children }) {
|
|||||||
if (prevActive === nextActive) return;
|
if (prevActive === nextActive) return;
|
||||||
dispatch({ type: 'control/set-manual-dock-assist', payload: nextActive });
|
dispatch({ type: 'control/set-manual-dock-assist', payload: nextActive });
|
||||||
if (!nextActive) {
|
if (!nextActive) {
|
||||||
|
pipeline.sendSong([{ note: 83, duration: 10 }, { note: 76, duration: 10 }], { slot: 0 });
|
||||||
setServoAngle(0, { force: true });
|
setServoAngle(0, { force: true });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user