Skip to content

Instantly share code, notes, and snippets.

View jonathancary's full-sized avatar

Jonathan Cary jonathancary

View GitHub Profile
@jonathancary
jonathancary / form-page.js
Created March 18, 2019 23:05
Gatsby + Netlify Forms
import React from "react";
import { graphql } from "gatsby";
import Helmet from "react-helmet";
import { navigateTo } from "gatsby-link";
import Layout from "../components/layout";
import MainBg from "../components/mainBg";
import NewsletterSignup from "../components/newsletterSignup";
function encode(data) {
@jonathancary
jonathancary / config.yml
Created November 7, 2018 16:57
Config File for Deploying a Gatsby Website to Firebase with Circle CI
#
# CircleCI 2.0 Gatsby to Firebase Configuration File
#
version: 2
jobs:
build:
docker:
- image: circleci/node:8