Gets information about the current page or lightbox.
import wixSiteFrontend from "wix-site-frontend";
// ...
const currentPage = wixSiteFrontend.currentPage;
/*
* {
* "name": "Home",
* "type": "static",
* "url": "/home",
* "isHomePage": true
* }
*/