perf(storefront): optimize LCP image delivery, lazy-load scripts, improve WCAG contrast and accessibility
This commit is contained in:
1 parent
b766b01713
commit
98e20269a3
8 files changed
+77
-57
No files matched your search
@@ -236,7 +236,11 @@ export default function Header({
|
||||
onChange={(e) => setSearchQuery(e.target.value)}
|
||||
className="w-full bg-medical-gray-50 border border-medical-gray-200 rounded-2xl py-2.5 pr-10 pl-4 text-xs font-bold text-medical-gray-900 focus:outline-none focus:ring-2 focus:ring-canina-blue/20 focus:bg-white transition-all"
|
||||
/>
|
||||
<button type="submit" className="absolute right-3 top-1/2 -translate-y-1/2 text-medical-gray-400 hover:text-canina-blue">
|
||||
<button
|
||||
type="submit"
|
||||
aria-label="جستجو در محصولات و مقالات"
|
||||
className="absolute right-2 top-1/2 -translate-y-1/2 w-8 h-8 flex items-center justify-center text-medical-gray-400 hover:text-canina-blue cursor-pointer"
|
||||
>
|
||||
<Search className="w-4 h-4" />
|
||||
</button>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user