<commit_before>'use strict';
import React from 'react';

import GMap from './partials/GMap';
import ContactInfo from '../constants/json/ContactInfoData.json';
import LocationInfo from '../constants/json/LocationInfoData.json';
import VCard from '../../public/resources/<NAME> CFA.vcf';
import { INFO_MAP, renderContactInfo } from '../Mixins';


const Contact = () => (
  <div className="flexbox-col contact">
    <div className="center-cont">
      <h3>Please contact us to discuss investment opportunities</h3>
      <div className="wrapper">
        <div className="flex-contact">
          <div className="info">{ renderContactInfo(ContactInfo) }</div>
          <a
            className="primary-btn"
            href={ VCard }
            target="_blank"
            download="<NAME>, CFA">
            {[
              <i
                key={ `FAIcon_AddressCard` }
                className="fa fa-address-card invert" />,
              'Download vCard'
            ]}
          </a>
        </div>

        <div className="flex-contact">
          <div className="info">{ renderContactInfo(LocationInfo) }</div>
          <a
            className="primary-btn"
            href="http://eepurl.com/_30or"
            target="_blank">
            {[
              <i
                key={ `FAIcon_Newspaper` }
                className="fa fa-newspaper-o invert" />,
              'Subscribe for News & Updates'
            ]}
          </a>
        </div>
      </div>
    </div>

    <GMap />
  </div>
);

export default Contact;<commit_msg>refactor: Decouple proliferating code into separate concerns<commit_after>'use strict';
import React from 'react';

import GMap from './partials/GMap';
import { renderContactInfo } from '../Mixins';
import ContactLinkData from '../constants/json/ContactLinkData.json';


const Contact = () => (
  <div className="flexbox-col contact">
    <div className="center-cont">
      <h3>Please contact us to discuss investment opportunities</h3>
      <div className="wrapper">{ renderContactInfo(ContactLinkData) }</div>
    </div>
    <GMap />
  </div>
);

export default Contact;
{'fraction_non_alphanumeric': 0.1426553672316384, 'fraction_numerical': 0.002824858757062147, 'mean_word_length': 2.229483282674772, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7118599', 'n_tokens_mistral': 603, 'n_tokens_neox': 588, 'n_words': 143}