x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Custom section
ContainerIDprofile_header_container
Widthbox-sizing: border-box; padding: 20px; align-items: center; flex-direction: row; display: flex; width: calc(80% - 40px); height: 120px; background: black;margin: 40px auto;


HTML
<div id="profile_header_text" style='width: fit-content; height: fit-content;color: white; font-weight: bold; font-size: 40px; padding-left: 20px;'>Mentor> Profile<</div>



Custom section
CustomCSS width: 80%!important; flex-wrap: nowrap;
ContainerIDmainprofcontainer
DisableAutoHeighttrue


Custom column
CustomCSSmin-width: 320px!important;max-width: 320px!important;
Heightauto;
Width320px


Mentor sidebar
BackButton/display/c32mentors/C32+Mentors+Home



Custom column
CustomCSSmargin-left: 20px;width:100%!important;
Width100%


General content
CustomCSSbackground-color: inherit;


Mentor description

HTML
<div id="book"> </div>


Hide If
grouppremium-users


Custom section
CustomCSSjustify-content:center;

Locked content



Show If
grouppremium-users


HTML
<script>
let current_mentor = getQueryVariableFromUrl("mentor");
AJS.toInit(function (){
  var iframeBooking = AJS.$('#roomBooking');
  var mentorCalendar;
  jQuery.ajax({
    url: "https://signup.theonevalley.com/mentor/calendar/" + current_mentor,
    type: "get",
    dataType: 'json',
    async: false,
    success: function (data) {
	  console.log('email???', data);
      var iframeSrc = 'https://gsvlabs.as.me/?calendarID=' + data.id + '&appointmentType=8893711' + '&firstName=' + userFirstName + '&lastName=' + userLastName + '&email=' + userEmail + '&phone=' + userPhone + '&certificate=' + userMentorCode + '&field:5754148=' + userWebsite + '&field:5756602=' + userWebsite + '&field:5756740=' + userCompany + '&field:5756761=' + userCompany;
      iframeBooking.attr('src', iframeSrc); 
    }
  });
});
</script>
<iframe id="roomBooking" width="100%" height="800" frameBorder="0"> </iframe><script src="https://d3gxy7nm8y4yjr.cloudfront.net/js/embed.js" type="text/javascript">





...