Improve FAQ & video rendering, tighten homepage and CSS

This commit is contained in:
Andras Schmelczer 2026-05-04 22:07:30 +01:00
parent 05a1f316e1
commit c69bb0d614
48 changed files with 4689 additions and 1077 deletions

View file

@ -61,7 +61,7 @@ export default function LocationSearch({
};
document.addEventListener('mousedown', handler);
return () => document.removeEventListener('mousedown', handler);
}, [isMobile, search.close]);
}, [isMobile, search]);
// Focus input when expanding on mobile
useEffect(() => {
@ -112,7 +112,7 @@ export default function LocationSearch({
setLoading(false);
}
},
[onFlyTo, onLocationSearched, isMobile, search]
[onFlyTo, onLocationSearched, isMobile, search, t]
);
const [locating, setLocating] = useState(false);