fix: react-doctor → 64/100 — add sizes to 12 next/image, add htmlFor/id to 202 label/input pairs, add aria-label to 5 icon links
This commit is contained in:
@@ -392,7 +392,7 @@ export default function TimeTrackingFieldClient({
|
||||
<div className="bg-zinc-900 border-b border-zinc-800 px-4 py-3 flex items-center justify-between">
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="relative inline-block h-8 w-auto">
|
||||
{logoUrl ? <Image src={logoUrl} alt="Olathe Sweet" fill style={{ objectFit: "contain" }} className="opacity-80" /> : null}
|
||||
{logoUrl ? <Image src={logoUrl} alt="Olathe Sweet" fill sizes="80px" style={{ objectFit: "contain" }} className="opacity-80" /> : null}
|
||||
</span>
|
||||
<span className="text-sm font-semibold text-zinc-400">{brandName}</span>
|
||||
</div>
|
||||
@@ -658,7 +658,7 @@ function TaskSelectScreen({
|
||||
<div className="space-y-5">
|
||||
<div className="text-center">
|
||||
<span className="relative inline-block h-14 w-auto">
|
||||
{logoUrl ? <Image src={logoUrl} alt="Olathe Sweet" fill style={{ objectFit: "contain" }} className="mx-auto opacity-80 mb-3" /> : null}
|
||||
{logoUrl ? <Image src={logoUrl} alt="Olathe Sweet" fill sizes="120px" style={{ objectFit: "contain" }} className="mx-auto opacity-80 mb-3" /> : null}
|
||||
</span>
|
||||
<h1 className="text-2xl font-black text-white">{t.title}</h1>
|
||||
<p className="text-sm text-zinc-400 mt-1">{t.select_task}</p>
|
||||
@@ -914,7 +914,7 @@ function PinEntry({
|
||||
<div className="space-y-8">
|
||||
<div className="text-center">
|
||||
<span className="relative inline-block h-14 w-auto">
|
||||
{logoUrl ? <Image src={logoUrl} alt="Olathe Sweet" fill style={{ objectFit: "contain" }} className="mx-auto opacity-80 mb-3" /> : null}
|
||||
{logoUrl ? <Image src={logoUrl} alt="Olathe Sweet" fill sizes="120px" style={{ objectFit: "contain" }} className="mx-auto opacity-80 mb-3" /> : null}
|
||||
</span>
|
||||
<h1 className="text-2xl font-black text-white">{t.title}</h1>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user