Server IP : 15.235.198.142 / Your IP : 216.73.216.145 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/rhodeworks/wp-content/plugins/really-simple-ssl/settings/src/utils/ |
Upload File : |
const Hyperlink = (props) => { let label_pre = ''; let label_post = ''; let link_text = ''; // Split the text around '%s' if it exists if (props.text.indexOf('%s') !== -1) { let parts = props.text.split(/%s/); label_pre = parts[0]; link_text = parts[1]; label_post = parts[2]; } else { link_text = props.text; } // Use the passed className or default to 'rsssl-link' let className = props.className ? props.className : 'rsssl-link'; // Include rel attribute in the anchor tag return ( <> {label_pre} <a className={className} target={props.target} rel={props.rel} // Add the rel attribute here href={props.url} > {link_text} </a> {label_post} </> ); } export default Hyperlink;