Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gatsbyjs/gatsby into topics/gatsb…
Browse files Browse the repository at this point in the history
…y-starter-builder

* 'master' of github.com:gatsbyjs/gatsby: (24 commits)
  Added Fluiditype (gatsbyjs#22686)
  Add blog post with Gatsby LA video 2 - Dustin Schau (gatsbyjs#22736)
  Fix DatoCMS benchmarks (gatsbyjs#22761)
  chore(starters): add  gatsby-starter-reason-blog (gatsbyjs#22690)
  remove local domain (gatsbyjs#22729)
  remove local domain (gatsbyjs#22732)
  fix(gatsby-source-contentful): use request url for base64 image cache key (gatsbyjs#22745)
  Add blog post for community Q&A (gatsbyjs#22737)
  chore(gatsby-cli): use `gatsby clean` in tests to test `gatsby clean` (gatsbyjs#22739)
  Fix typo (gatsbyjs#22727)
  fix(gatsby): Support grouping by reserved keywords (gatsbyjs#22603)
  remove local domain (gatsbyjs#22723)
  docs: clarification about `.cache` and `public` persistance when using GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES (gatsbyjs#22720)
  chore(release): Publish
  fix(gatsby-plugin-google-gtag): OutboundLink Forward Ref (gatsbyjs#22705)
  [docs]Docs/Blog Frontmatter Documentation (gatsbyjs#22604)
  chore(gatsby): create single filter cache key generator (gatsbyjs#22716)
  chore(gatsby-cli): Add integration tests for `gatsby develop` (gatsbyjs#22699)
  create index.md (gatsbyjs#22671)
  Gatsby cli develop tests (gatsbyjs#22697)
  ...
  • Loading branch information
teleaziz committed Apr 2, 2020
2 parents a74f52c + 81f09f8 commit 3a9ed92
Show file tree
Hide file tree
Showing 43 changed files with 973 additions and 295 deletions.
4 changes: 2 additions & 2 deletions benchmarks/source-datocms/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ module.exports = {
path: `${__dirname}/src/pages/`,
},
},
{
{
resolve: `gatsby-source-datocms`,
options: {
apiToken: process.env.DATOCMS_API_TOKEN,
previewMode: false,
disableLiveReload: false,
apiUrl: 'https://site-api.datocms.com',
apiUrl: `https://site-api.datocms.com`,
},
},
],
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/source-datocms/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const kebabCase = require(`lodash.kebabcase`)
exports.onCreateNode = ({ actions, node }) => {
const { createNodeField } = actions

if (node.internal.type === 'node__article') {
createNodeField({ node, name: "slug", value: kebabCase(node.title) })
if (node.internal.type === `node__article`) {
createNodeField({ node, name: `slug`, value: kebabCase(node.title) })
}
}

Expand All @@ -16,7 +16,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
articles: allDatoCmsArticle {
nodes {
id
path
slug
}
}
}
Expand All @@ -28,11 +28,11 @@ exports.createPages = async ({ actions, graphql, reporter }) => {

result.data.articles.nodes.map(article => {
createPage({
path: article.path,
path: article.slug,
component: require.resolve(`./src/templates/article.js`),
context: {
id: article.id,
}
},
})
})
}
4 changes: 2 additions & 2 deletions benchmarks/source-datocms/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Index = ({ data }) => {
<ul>
{data.articles.nodes.map(article => (
<li>
<Link to={article.path}>{article.title}</Link>
<Link to={article.slug}>{article.title}</Link>
</li>
))}
</ul>
Expand All @@ -29,7 +29,7 @@ export const query = graphql`
articles: allDatoCmsArticle {
nodes {
title
path
slug
}
}
}
Expand Down
18 changes: 9 additions & 9 deletions docs/blog/2020-03-26-service-relief-project/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ We woke up and the world was utterly changed. It's easy to be overwhelmed. I sat

State-mandated social distancing shutdowns are being rolled out across the country, closing down bars, entertainment venues, and restaurants - taking the livelihoods of countless service workers with them. "Shelter in place" orders also prevent independent workers like pet sitters and house cleaners from being able to do their jobs. And as independent small businesses classified as "nonessential," like bookstores and art galleries, are forced to close they also find themselves in the same increasingly dire situation.

Wonderfully, though, fundraisers are popping up all over the place to provide some emergency relief. Through them I saw a way to help out':' creating a fast, free and above all easy way for communities to gather local relief fundraisers in a single website, where donors can easily find and contribute. It turns out I wasn't the only one with this idea!
Wonderfully, though, fundraisers are popping up all over the place to provide some emergency relief. Through them I saw a way to help out: creating a fast, free and above all easy way for communities to gather local relief fundraisers in a single website, where donors can easily find and contribute. It turns out I wasn't the only one with this idea!

**In this post: **
**In this post:**

- [About the project](#about)
- [How it all began](#beginnings)
Expand All @@ -32,7 +32,7 @@ The Service Relief Project is a boilerplate for launching blazing-fast zero-cost

Here's what it does:

- Generates a static website using [GatsbyJS](https://gatsbyjs.org)
- Generates a static website using [Gatsby](https://gatsbyjs.org)
- Uses [Airtable](https://airtable.com) to manage your listings and categories
- Includes an Airtable form to collect local submissions and add them to Airtable for approval
- Can be personalized to a city or region without touching a line of code
Expand All @@ -42,7 +42,7 @@ Using Gatsby to build and generate a static website based on data from a remote

In order to provide the ability to launch a zero-cost directory of fundraisers for your local area, we've:

- Open-sourced the [entire project on Github](https://github.com/service-relief)
- Open-sourced the [entire project on GitHub](https://github.com/service-relief)
- Written [detailed instructions on how to get started](https://www.servicerelief.us/start/)
- Released a [Gatsby Starter](https://github.com/service-relief/gatsby-starter-service-relief) and a [Gatsby Theme](https://github.com/service-relief/service-relief/tree/master/themes/gatsby-theme-service-relief)
- Released a [one-click deployment to Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/service-relief/gatsby-starter-service-relief)
Expand All @@ -53,7 +53,7 @@ _This project was inspired by [Chicago Service Relief](https://chicagoservicerel

Here are a few of the sites that have already launched using this project:

- [Seattle Service Relief](http://seattleservicerelief.com/)
- [Seattle Service Relief](https://seattleservicerelief.com/)
- [Denver Service Relief](https://denverservicerelief.com/)
- [Austin Service Relief](https://austinservicerelief.com/)
- [Sioux Falls Service Relief](https://siouxfallsservicerelief.com/)
Expand All @@ -69,7 +69,7 @@ These are unprecedented times, and from my small home office in Omaha, Nebraska

Drew and I have worked together in the past and I've both built and managed several websites for him over the years. All of them have been powered by [WordPress](https://wordpress.org), but I knew that spinning up another WordPress website was going to be overkill for something this simple.

That's where Gatsby came in. For the Seattle Service Relief site, I generated a new site using LekoArts' [Gatsby Minimal Blog](https://www.gatsbyjs.org/starters/LekoArts/gatsby-starter-minimal-blog/) by running `gatsby new` and customizing a quick site. I had used the same starter on my personal site which helped speed up the process. A few hours later I messaged him back with a link to the live site.
That's where Gatsby came in. For the Seattle Service Relief site, I generated a new site using LekoArts' [Gatsby Minimal Blog](/starters/LekoArts/gatsby-starter-minimal-blog/) by running `gatsby new` and customizing a quick site. I had used the same starter on my personal site which helped speed up the process. A few hours later I messaged him back with a link to the live site.

![Text message conversation with Drew where I announced that seattleservicerelief.com was live](./images/conversation-drew-finished-site.png)

Expand Down Expand Up @@ -106,7 +106,7 @@ _A special thank-you to [Dustin Schau](https://twitter.com/SchauDustin), [Aisha

Over the next hour and a half, we developed a prototype using the following tool stack:

- Github, for hosting the code of the site
- GitHub, for hosting the code of the site
- Airtable, for managing data
- Gatsby, to generate the site based on Airtable data
- Netlify, for building and deploying the site
Expand Down Expand Up @@ -138,9 +138,9 @@ I'll also be publishing my personal workflow for building and deploying your Ser

Getting the word out to your network is the best way to raise awareness of this project. We'll be listing all published Service Relief websites on [https://www.servicerelief.us/](https://www.servicerelief.us/).

##### 3. Contribute to the project on Github
##### 3. Contribute to the project on GitHub

We've published this entire [project on Github](https://github.com/service-relief) to open it up for the world to contribute back. Here's what you'll see there:
We've published this entire [project on GitHub](https://github.com/service-relief) to open it up for the world to contribute back. Here's what you'll see there:

- `service-relief` - this is the monorepo for the entire project, including the ServiceRelief.us website, Gatsby Theme, and Gatsby Starter. You'll want to fork and submit your pull requests against this repository.
- `gatsby-starter-service-relief` - this is an automatically-generated Gatsby Starter based on the monorepo. When the monorepo is updated, this starter is automatically updated.
20 changes: 20 additions & 0 deletions docs/blog/2020-04-01-LA-2020-Mathews/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Gatsby Days LA 2020 Video 1: GatsbyJS CEO and Co-founder Kyle Mathews Shares His Vision for Gatsby’s Future"
date: 2020-04-01
author: Greg Thomas
excerpt: "How did Gatsby get started and where is it headed? Learn more about the past, present, and future of Gatsby in founder Kyle Mathews' keynote presentation from Gatsby Days LA 2020"
tags:
- gatsby-days
- themes
- plugins
- documentation
- community
---

_Welcome to the Gatsby Days 2020 Video Blog: Los Angeles Edition. In this series of eleven videos, you can catch up with all the wit and wisdom shared at the presentations from our February community gathering in LA. If you weren’t able to make it in person, these videos are the next best thing to owning a time machine! (Though owning a time machine would be super cool, joining us at our next Gatsby Days—currently scheduled for October 19th in Amsterdam—would also be pretty awesome)._

As the co-founder and CEO of Gatsby, Kyle Mathews kicked off Gatsby Days LA 2020 with a keynote address that spanned Gatsby’s past, present, and future. Learn what sparked Kyle and co-founder Sam Bhagwat to develop a framework that could combine the best of static-site generation, content management system (CMS), and React technologies. Next, hear how Gatsby today is helping produce amazing developer experiences for building ridiculously fast websites.

Kyle also shared his vision for the future of Gatsby, highlighting some of the “missing pieces” that are current focus areas for the company. For example, to help speed development, Gatsby is looking to significantly expand the collection of Gatsby themes, which provide building blocks for quickly adding functionality to websites. With help from a fast-growing community, Gatsby anticipates increasing contributions of themes, plugins, docs, and more.

[![Gatsby Days Los Angeles: Kickoff/Keynote video](https://res.cloudinary.com/marcomontalbano/image/upload/v1585686057/video_to_markdown/images/youtube--9Ta7L4rN3x4-c05b58ac6eb4c4700831b2b3070cd403.jpg)](http://www.youtube.com/watch?v=9Ta7L4rN3x4 "Gatsby Days Los Angeles - Kickoff/Keynote video and future of Gatsby")
21 changes: 21 additions & 0 deletions docs/blog/2020-04-02-LA-2020-Schau/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Gatsby Days LA 2020 Video 2: Live demo of Gatsby + Contentful developer workflow"
date: 2020-04-02
author: Greg Thomas
excerpt: "Watch in real time as Dustin Schau, Gatsby's head of product, updates a fully accessible Gatsby-built site using the Contentful headless CMS and then deploys to a CDN."
tags:
- gatsby-days
- contentful
- accessibility
- cdn
- diversity-and-inclusion
- gatsby-cloud
---

_Welcome to the Gatsby Days 2020 Video Blog: Los Angeles Edition. In this series of eleven videos, you can catch up with all the presentations from our February community gathering in LA. If you weren’t able to make it in person, these videos are the next best thing to owning a time machine! (Though owning a time machine would be super cool, joining us at our next Gatsby Days—currently scheduled for October 19th in Amsterdam—would also be pretty awesome)._

Dustin Shau, Gatsby's Head of Product, is a dedicated open source developer. He was first drawn to the framework by Gatsby’s exceptional performance and outstanding developer experience. Now a Gatsby team member, Dustin is focused on making Gatsby the fastest, most inclusive platform for building websites and web applications.

Watch Dustin demonstrate the impressive build-time performance of Gatsby and Gatsby Cloud by walking through typical developer workflows, including updating a website using Contentful's headless CMS and then rapidly deploying the results through a content delivery network (CDN). And discover how Gatsby enables developers to quickly incorporate accessibility capabilities—such as a SkipNav function—to deliver inclusive web experiences to the widest possible audience.

[![Gatsby Days LA Video 2: What's next for Gatsby and Gatsby Cloud](https://res.cloudinary.com/marcomontalbano/image/upload/v1585776287/video_to_markdown/images/youtube--zbR47FqMJYY-c05b58ac6eb4c4700831b2b3070cd403.jpg)](https://www.youtube.com/watch?v=zbR47FqMJYY "Gatsby Days LA Video 2: What's next for Gatsby and Gatsby Cloud")
Loading

0 comments on commit 3a9ed92

Please sign in to comment.