resources/js/script-components/online.js
document.addEventListener('DOMContentLoaded', (event) => {
// window.addEventListener('offline', (event) => {
// window.notify.info('The network connection has been lost.');
// });
// window.addEventListener('online', (event) => {
// window.notify.success('The network connection has been restored.');
// });
});