This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react'; | |
import addToMailchimp from 'gatsby-plugin-mailchimp'; | |
import styles from './styles.scss'; | |
function SubscribeForm() { | |
const [email, setEmail] = useState(''); | |
const [status, setStatus] = useState(''); | |
const [message, setMessage] = useState(''); | |
const handleSubmit = async event => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react'; | |
import addToMailchimp from 'gatsby-plugin-mailchimp'; | |
import './styles.css'; | |
function SubscribeForm() { | |
const [email, setEmail] = useState(''); | |
const [status, setStatus] = useState(''); | |
const [message, setMessage] = useState(''); | |
const handleSubmit = async event => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Global Docker image for the runner | |
image: node:10 | |
stages: | |
- build | |
- deploy | |
cache: | |
paths: | |
- node_modules/ |