<commit_before>import React, { Component } from 'react'
import UserLinks from '../UserLinks/UserLinks'

class ContactForm extends Component {
  constructor(props) {
    super(props)
    this.resizeTextarea = this.resizeTextarea.bind(this)
}

  resizeTextarea (e) {
    const textArea = e.target
    textArea.style.height = 'auto';
    textArea.style.height = `${textArea.scrollHeight}px`
  }

  render() {
    const submitRegion = this.props.isTab
      ? <div className='SubmitRegion'> <button type='submit'>Send Message</button> </div>
      : (<div className='SubmitRegion'>
          <button type='submit'>Send Message</button>
          <p>Or, elsewhere → </p>
          <UserLinks />
        </div>)


    return (


      <form netlify className='ContactForm'><commit_msg>Add netlify form handling<commit_after>import React, { Component } from 'react'
import UserLinks from '../UserLinks/UserLinks'

class ContactForm extends Component {
  constructor(props) {
    super(props)
    this.resizeTextarea = this.resizeTextarea.bind(this)
}

  resizeTextarea (e) {
    const textArea = e.target
    textArea.style.height = 'auto';
    textArea.style.height = `${textArea.scrollHeight}px`
  }

  render() {
    const submitRegion = this.props.isTab
      ? <div className='SubmitRegion'> <button type='submit'>Send Message</button> </div>
      : (<div className='SubmitRegion'>
          <button type='submit'>Send Message</button>
          <p>Or, elsewhere → </p>
          <UserLinks />
        </div>)


    return (


      <form netlify netlify-honeypot className='ContactForm'>
{'fraction_non_alphanumeric': 0.1342155009451796, 'fraction_numerical': 0.0, 'mean_word_length': 3.1789473684210527, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6421994', 'n_tokens_mistral': 480, 'n_tokens_neox': 464, 'n_words': 105}