|
1 | 1 | import React, { useState } from "react";
|
2 |
| -import { useStaticQuery } from "gatsby"; |
| 2 | +import { useStaticQuery, graphql } from "gatsby"; |
3 | 3 | import fetch from "unfetch";
|
4 | 4 | import styled from "styled-components";
|
5 | 5 | import toast from "react-hot-toast";
|
@@ -72,14 +72,12 @@ const EmailSignup = () => {
|
72 | 72 | <span role="img" aria-label="letter">
|
73 | 73 | 📩
|
74 | 74 | </span>
|
75 |
| - Subscribe to Bytes |
| 75 | + Subscribe to Bytes |
76 | 76 | </h4>
|
77 | 77 | <p>
|
78 |
| - Most newsletters are terrible. Thats why we created Bytes. Our |
79 |
| - goal was to create a JavaScript newsletter that was both |
80 |
| - educational and entertaining. <b>{subcount.toLocaleString()}</b>{" "} |
81 |
| - subscribers and an almost 50% weekly open rate later, it looks |
82 |
| - like{" "} |
| 78 | + Is it possible to make JavaScript newsletter that isn't terrible? |
| 79 | + With <b>{subcount.toLocaleString()}</b> subscribers and almost 50% |
| 80 | + weekly open rate, it looks like{" "} |
83 | 81 | <a
|
84 | 82 | target="_blank"
|
85 | 83 | href="https://twitter.com/uidotdev/timelines/1428028877129936899"
|
@@ -108,7 +106,7 @@ const EmailSignup = () => {
|
108 | 106 | className="button is-primary has-text-weight-semibold"
|
109 | 107 | type="submit"
|
110 | 108 | >
|
111 |
| - {isLoading ? "Loading..." : "Subscribe"} |
| 109 | + {isLoading ? "Loading..." : "Get Bytes"} |
112 | 110 | </button>
|
113 | 111 | </div>
|
114 | 112 | </div>
|
|
0 commit comments