import { handleLoginClick } from 'public/auth.js'; $w.onReady(() => { const b = $w('#loginBtn'); if (b) b.onClick(handleLoginClick); });