Giter Site home page Giter Site logo

uptimizt / modaler Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 123 KB

Popups, Modal, Offcanvas, Float Sidebars for Gutenberg based web sites, by Bootstrap CSS & Vite JS

Home Page: https://wpcraft.ru/blog/modal-offcanvas-wordpress-gutenberg/

License: MIT License

PHP 45.78% JavaScript 42.02% SCSS 12.20%
aside bootstrap gutenberg modal offcanvas vitejs wordpress

modaler's Introduction

modaler

Popups, Modal, Offcanvas, Float Sidebars for Gutenberg based web sites, by Vite & Bootstrap

Popular design patterns.

Examples by Amazon, GitHub, Bootstrap examples

Popup, Modal & Offcanvas

used 2 components from Bootstrap:

design patterns

  • modal and popup windows for site #1
  • offcanvas sidebars like Amazon Navigation or Notion #2

how it works?

add layouts

  • in menu - Modaler
  • remember post id

add shortcode

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>

result

click on link or button and open content in modal or offcanvas

roadmap

phase 1

  • MVP
  • tests for some cases

phase 2

  • improve styles
  • add options and hooks

modaler's People

Contributors

uptimizt avatar

Watchers

 avatar

modaler's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.