Major overhaul to the theme and now functioning.

This commit is contained in:
2026-01-05 16:07:30 -05:00
parent 5823ca3c39
commit a475dfeab6
5218 changed files with 1643729 additions and 13229 deletions
@@ -0,0 +1,12 @@
export function useAutofocus(props) {
function onIntersect(isIntersecting, entries) {
if (!props.autofocus || !isIntersecting) return;
const el = entries[0].target;
const target = el.matches('input,textarea') ? el : el.querySelector('input,textarea');
target?.focus();
}
return {
onIntersect
};
}
//# sourceMappingURL=autofocus.js.map