()
| 62629 | } |
| 62630 | } |
| 62631 | class contact_Contact extends Re.Component { |
| 62632 | render() { |
| 62633 | const { data: s, getComponent: o, selectedServer: i, url: a } = this.props, |
| 62634 | u = s.get('name', 'the developer'), |
| 62635 | _ = safeBuildUrl(s.get('url'), a, { selectedServer: i }), |
| 62636 | w = s.get('email'), |
| 62637 | x = o('Link') |
| 62638 | return Re.createElement( |
| 62639 | 'div', |
| 62640 | { className: 'info__contact' }, |
| 62641 | _ && |
| 62642 | Re.createElement( |
| 62643 | 'div', |
| 62644 | null, |
| 62645 | Re.createElement(x, { href: sanitizeUrl(_), target: '_blank' }, u, ' - Website') |
| 62646 | ), |
| 62647 | w && |
| 62648 | Re.createElement( |
| 62649 | x, |
| 62650 | { href: sanitizeUrl(`mailto:${w}`) }, |
| 62651 | _ ? `Send email to ${u}` : `Contact ${u}` |
| 62652 | ) |
| 62653 | ) |
| 62654 | } |
| 62655 | } |
| 62656 | const rA = contact_Contact |
nothing calls this directly
no test coverage detected