Popups, Modal, Offcanvas, Float Sidebars for Gutenberg based web sites, by Vite & Bootstrap
Popular design patterns.
Examples by Amazon, GitHub, Bootstrap https://github.com/uptimizt/modaler/labels/examples
- Modal https://getbootstrap.com/docs/5.3/components/modal/
- Offcanvas https://getbootstrap.com/docs/5.3/components/offcanvas/
- in menu - Modaler
- remember post id
for exmple
[modaler a=#modal-58490]
- modal render for post id 58490[modaler a=#offcanvas-58490]
- offcanvas render for post id 58490
after that, you just need add hash to any link or buttons block: <a href="#modal-58490">some link</a>
or <a href="#offcanvas-58490">some link</a>
click on link or button and open content in modal or offcanvas
- MVP
- tests for some cases
- improve styles
- add options and hooks