wp-rdnyc/assets/js/main.js

27 lines
975 B
JavaScript
Raw Normal View History

// Import SCSS
import '../css/app.scss'
2021-07-26 13:07:57 -04:00
// Import svg files for webpack handling
2021-08-04 07:46:55 -04:00
import '../raw/rdnyc-logo.svg'; // rdnyc logo
import '../raw/roll-mandala.svg'; // rolling mandala decoration
// other:
import '../../node_modules/bootstrap-icons/icons/chevron-down.svg';
2021-07-28 22:51:24 -04:00
import '../../node_modules/bootstrap-icons/icons/chevron-left.svg';
import '../../node_modules/bootstrap-icons/icons/chevron-right.svg';
import '../../node_modules/bootstrap-icons/icons/search.svg';
// Import Bootstrap JS
import 'bootstrap/js/dist/collapse';
2021-07-26 13:07:57 -04:00
// import 'bootstrap/js/dist/alert';
import 'bootstrap/js/dist/button';
import 'bootstrap/js/dist/dropdown';
// import navbar burger code
import "./_hamburger-helper";
2021-08-03 20:04:38 -04:00
// adjust some content
document.addEventListener('DOMContentLoaded', (event) => {
2021-08-03 20:04:38 -04:00
let tsmlwidget_morelink = document.querySelector('.tsml-widget-upcoming.widget_tsml_widget_upcoming.widget p a');
tsmlwidget_morelink.innerHTML = 'View More Meetings'
});