{"size": 1472, "ext": "js", "max_stars_repo_path": "gatsby-ssr.js", "max_stars_repo_name": "DeviousLab/gatsby-tanmu", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "gatsby-ssr.js", "max_issues_repo_name": "DeviousLab/gatsby-tanmu", "max_issues_repo_issues_event_min_datetime": "2021-07-21T20:15:59.000Z", "max_issues_repo_issues_event_max_datetime": "2021-07-21T20:15:59.000Z", "max_forks_repo_path": "gatsby-ssr.js", "max_forks_repo_name": "DeviousLab/gatsby-tanmu", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 35.0476190476, "max_line_length": 113, "alphanum_fraction": 0.3953804348}
import React from 'react';
export const onRenderBody = ({ setPostBodyComponents }, pluginOptions) => {
	setPostBodyComponents([
		<script key="formspreeBase" src="https://formspree.io/js/formbutton-v1.min.js" type="text/javascript" aysnc />,
		<script
			key="formspreeWindow"
			dangerouslySetInnerHTML={{
				__html: `
                window.formbutton=window.formbutton||function(){(formbutton.q=formbutton.q||[]).push(arguments)};
                formbutton("create", {
                    action: "https://formspree.io/f/xvodbnbd",
                    title: "How can we help?",
                    fields: [
                    { 
                        type: "email", 
                        label: "Email:", 
                        name: "email",
                        required: true,
                        placeholder: "your@email.com"
                    },
                    {
                        type: "textarea",
                        label: "Message:",
                        name: "message",
                        placeholder: "What would you like to discuss?",
                    },
                    { type: "submit" }      
                ],
                styles: {
                    title: {
                        backgroundColor: "#ff7b24"
                    },
                    button: {
                        backgroundColor: "#ff7b24"
                    }
                }
                });`
			}}
		/>
	]);
};
