{"size": 1226, "ext": "js", "max_stars_repo_path": "src/components/Contact/Contact.js", "max_stars_repo_name": "dlc-company/gatsby-petar-vukotic-project", "max_stars_repo_stars_event_min_datetime": "2020-07-10T05:30:12.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-10T05:30:12.000Z", "max_issues_repo_path": "src/components/Contact/Contact.js", "max_issues_repo_name": "dlc-company/gatsby-petar-vukotic-project", "max_issues_repo_issues_event_min_datetime": "2020-08-02T09:08:35.000Z", "max_issues_repo_issues_event_max_datetime": "2020-08-02T09:08:45.000Z", "max_forks_repo_path": "src/components/Contact/Contact.js", "max_forks_repo_name": "dlc-company/gatsby-petar-vukotic-project", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 4, "max_forks_count": null, "avg_line_length": 40.8666666667, "max_line_length": 130, "alphanum_fraction": 0.484502447}
import React from 'react'
import Title from '../Title'
import styles from '../../css/contact.module.css'
const Contact = () => {
    return (
        <section className={styles.contact}>
            <Title title="pišite" subtitle='nam' />
            <div className={styles.center}>
                <form  action="https://formspree.io/mvowpnek" method="POST" className={styles.form}>
                    <div>
                        {/* Labels su druga opcija ako zelis */}
                        <input type="text" name="name" id="name" className={styles.formControl} placeholder="Ime & Prezime"/>
                    </div>
                    <div>
                        <input type="email" name="email" id="email" className={styles.formControl} placeholder="email@email.com"/>
                    </div>
                    <div>
                        <textarea name="message" id='message' rows="10" className={styles.formControl} placeholder="" />
                    </div>
                    <div>
                        <input type="submit" value="pošalji" className={styles.submit} />
                    </div>   
                </form>
            </div>
        </section>
    )
}

export default Contact
