mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
button
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
@@ -78,8 +78,8 @@
|
||||
<script defer src="https://analytics.otter.land/script.js" data-website-id="82dd56a5-db44-4279-bd1e-a4d9fee39af7" data-domains="rover.otter.land"></script>
|
||||
<script defer src="https://analytics.otter.land/recorder.js" data-website-id="82dd56a5-db44-4279-bd1e-a4d9fee39af7" data-domains="rover.otter.land" data-sample-rate="0.15" data-mask-level="moderate" data-max-duration="300000"></script>
|
||||
<title>Roomba Rover</title>
|
||||
<script type="module" crossorigin src="/assets/index-N3rpNtli.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-Cxghvfjc.css">
|
||||
<script type="module" crossorigin src="/assets/index-Y3LY-JNI.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CwI-lBCQ.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -180,7 +180,7 @@ function BarcodeScanToast({ payload }) {
|
||||
const label = payload?.label || payload?.code || 'unknown barcode';
|
||||
|
||||
return (
|
||||
<div className="pointer-events-auto max-w-[80vw] rounded-md bg-neutral-800 px-2 py-1 text-2xl leading-tight text-slate-100">
|
||||
<div className="pointer-events-auto max-w-[80vw] rounded-md bg-neutral-800 px-2 py-1 text-xl leading-tight text-slate-100">
|
||||
<style>
|
||||
{`
|
||||
@keyframes barcode-wiki-flat-flash {
|
||||
@@ -196,17 +196,17 @@ function BarcodeScanToast({ payload }) {
|
||||
`}
|
||||
</style>
|
||||
<p className="flex flex-wrap items-center gap-0.5 text-slate-100">
|
||||
<span className="font-semibold text-slate-300">Barcode scanned:</span>
|
||||
<span className="font-semibold text-slate-300 pr-2">Barcode scanned:</span>
|
||||
<span className="font-semibold text-white">{label}</span>
|
||||
{wikiUrl ? (
|
||||
<a
|
||||
href={wikiUrl}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="rounded-md px-0.75 py-0.25 text-[0.72rem] font-semibold leading-tight tracking-normal"
|
||||
className="rounded-md px-1 py-2 text-2xl font-semibold leading-tight tracking-normal"
|
||||
style={{ animation: 'barcode-wiki-flat-flash 0.35s steps(1, end) infinite' }}
|
||||
>
|
||||
Wiki
|
||||
Wiki link
|
||||
</a>
|
||||
) : null}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user