Latest version (4.3.0).
I am in the process of adding an additional DIV-tag to the portal whereof I need to add extra text with a link.
Looking at the source code (minified), we see this:
at.createElement("div",{className:"gh-portal-signup-message"},at.createElement("div",null,"Already a member?"),at.createElement("button",{className:"gh-portal-btn gh-portal-btn-link",style:{color:n},onClick:function(){return t("switchPage",{page:"signin"})}},at.createElement("span",null,"Sign in")))}},{key:"renderForm",value:function(){var e=this,n=this.getInputFields({state:this.state}),t=this.context;return 0===Ve({site:t.site,pageQuery:t.pageQuery}).length?at.createElement("section",null,at.createElement("div",{className:"gh-portal-section"},at.createElement("p",{className:"gh-portal-invite-only-notification"},"This site is invite-only, contact the owner for access.")))
My idea was to add another message using code like this: at.createElement("div",null,"By subscribing, you agree to our Terms and Conditions."),
whereof after my custom message, after adding a “
”, the “Already a member? Sign in” comes on a new row.
If anyone is willing to help, this is what I need (which most likely can help others):
<div style="css here">By subscribing, you agree to our <a href="https://example.com/tac/" target="_blank">Terms and Conditions</a></div>.