pls signup

import wixSite from 'wix-site';

import wixLocation from 'wix-location';

$w.onReady(function () {

// ...

let current = wixSite.currentPage;

/*

*  {

*    "name": "Home",

*    "type": "static",

*    "url": "/home",

*    "isHomePage": true

*  }

*/

$w('#button27').onClick((event) => {

wixLocation.to('wixSite.currentPage');

});

});