import React, { Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';

class Rsvp extends Component {
  constructor(props) {
    super(props);
  }

  render() {
    return <div className="col-md-6">
      Will embbed typeform here....
    </div>;
  }
};

function mapDispatchToProps(dispatch) {
  return bindActionCreators({}, dispatch);
}

function mapStateToProps(state) {
  return {
    copy: state.copy,
  };
}

export default connect(mapStateToProps, mapDispatchToProps)(Rsvp);

@@ -119,16 +119,88 @@
 edux';%0A%0A
+const langToForm = %7B%0A  FR: 'JXlpTi',%0A  EN: 'IYKQpZ',%0A  GR: 'JXaStL',%0A%7D%0A%0A
 class Rs
@@ -274,92 +274,1172 @@
 %0A%0A  
-render() %7B%0A    return %3Cdiv className=%22col-md-6%22%3E%0A      Will embbed typeform here....
+componentDidMount() %7B%0A    const uid = 'typeformScript79123619287'%0A    const elem = document.getElementById(uid)%0A    if (elem) return%0A    var newElem = document.createElement('script');%0A    newElem.id = uid;%0A    newElem.src = 'https://s3-eu-west-1.amazonaws.com/share.typeform.com/widget.js';%0A    var firstScript = document.getElementsByTagName('script')%5B0%5D;%0A    firstScript.parentNode.insertBefore(newElem, firstScript);%0A  %7D%0A%0A  render() %7B%0A    const typeformId = langToForm%5Bthis.props.copy._lang%5D%0A    return %3Cdiv className=%22col-md-6%22 style=%7B%7B%0A      background: '#fafafa',%0A      padding: 0,%0A      margin: 0,%0A      height: '100%25',%0A    %7D%7D%3E%0A     %7BObject.keys(langToForm).map(lang =%3E%0A       %3Cdiv%0A         key=%7Blang%7D%0A         className=%22typeform-widget%22%0A         data-url=%7B'https://marlamagka.typeform.com/to/' + langToForm%5Blang%5D%7D%0A         data-text=%22DespoBruno Wedding RSVP (FR)%22%0A         style=%7B%7B%0A           width: '100%25', height: '80vh',%0A           display: this.props.copy._lang === lang ? true : 'none'%0A         %7D%7D%0A       /%3E%0A     )%7D%0A      %3Cdiv style=%7B%7Bposition: %22absolute%22, background: '#fafafa',%0A        right: '107px', bottom: 0, width: '200px', height: '56px'%7D%7D/%3E
 %0A   

Resolve conflicts.