Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit ba0cacd

Browse files
committed
optimize performance of images.
1 parent 77e4c26 commit ba0cacd

File tree

94 files changed

+787
-546
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+787
-546
lines changed

gatsby-config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,20 @@ module.exports = {
8686
'gatsby-plugin-typescript',
8787
'gatsby-plugin-sharp',
8888
'gatsby-transformer-sharp',
89+
{
90+
resolve: `gatsby-source-filesystem`,
91+
options: {
92+
path: `./src/resources/`,
93+
name: `resources`
94+
}
95+
},
96+
{
97+
resolve: `gatsby-source-filesystem`,
98+
options: {
99+
path: `./static`,
100+
name: `static`
101+
}
102+
},
89103
'gatsby-plugin-react-helmet',
90104
'gatsby-plugin-catch-links',
91105
{

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"classnames": "^2.2.6",
3131
"env-cmd": "^10.1.0",
3232
"gatsby": "^2.22.12",
33+
"gatsby-background-image": "^1.4.0",
3334
"gatsby-image": "^2.4.5",
3435
"gatsby-plugin-algolia-docsearch": "^1.0.5",
3536
"gatsby-plugin-canonical-urls": "^2.3.2",

src/blog/build-a-webhook-for-google-assistant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: Wed Jun 26 2019 11:57:00 GMT+0000 (UTC)
44
author: anudeepreddy
55
subtitle: Build and test your webhook using Gitpod
66
title: Build a Webhook for Google Assistant Action
7-
image: https://res-3.cloudinary.com/anudeepc/image/upload/q_auto/v1/blog-images/Build-and-test-your-webhook.png
7+
image: /Build-and-test-your-webhook.png
88
---
99

1010
This post is all about how to build your webhook for your Google Assistant action and host it temporarily on Gitpod and test your code.

src/blog/dev-env-as-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
subtitle: How to streamline developer onboarding
33
title: Dev environments as code
44
date: Mon Nov 19 2018 15:39:56 GMT+0000 (UTC)
5-
image: /dev-env-gilbert.gif
5+
image: /dev-env-gilbert.png
66
author: svenefftinge
77
url: /dev-env-gilbert.gif
88
---

src/blog/developing-nuxtjs-in-browser.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ url: https://medium.com/gitpod/developing-a-nuxt-js-app-entirely-in-your-browser
33
date: Fri Sep 21 2018 13:23:34 GMT+0000 (UTC)
44
author: svenefftinge
55
title: Developing a Nuxt.js app entirely in your browser
6-
image: https://cdn-images-1.medium.com/max/10368/0*YlpGv4nlbQP5sEPr
7-
teaserImage: https://cdn-images-1.medium.com/max/10368/0*YlpGv4nlbQP5sEPr
6+
image: /developing-nuxtjs-in-a-browser.jpeg
87
---
98

109
A walkthrough to create a fully working Nuxt.js web application with only a browser, using Gitpod.io the online IDE for GitHub.

src/blog/docker-in-gitpod.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ url: https://medium.com/gitpod/bring-your-own-docker-image-to-gitpod-52db1aa861d
33
date: Wed Sep 12 2018 08:25:15 GMT+0000 (UTC)
44
author: geropl
55
title: Bring your own (Docker) image to Gitpod
6-
image: https://images.unsplash.com/photo-1493946740644-2d8a1f1a6aff
7-
teaserImage: https://images.unsplash.com/photo-1493946740644-2d8a1f1a6aff
6+
image: /docker-in-gitpod.jpeg
87
---
98

109
Since we released Gitpod into Public Beta it has been incredibly exciting to see people from all over the world use our service. Even more so with feedback like this:

src/blog/frictionless-oss-contributions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ subtitle: Frictionless Open Source Contributions For Everyone
33
title: Announcing contribute.dev — Open Source in One Click
44
date: Mon Oct 7 2019
55
author: nisarhassan12
6-
teaserImage: https://user-images.githubusercontent.com/46004116/66325437-b11a9980-e940-11e9-9db4-69af48a0a52a.png
7-
image: https://user-images.githubusercontent.com/46004116/66325437-b11a9980-e940-11e9-9db4-69af48a0a52a.png
6+
image: /frictionless-oss-contributions.png
87
---
98

109
To celebrate Open Source and Hacktoberfest, we're stoked <span aria-hidden="true">🧙✨🥰</span> to announce <a href="https://contribute.dev" target="blank">contribute.dev</a>, a list of welcoming open-source projects featuring ready-to-code Gitpod setups.

src/blog/github-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: Thu Jul 05 2018 11:49:24 GMT+0000 (UTC)
44
author: svenefftinge
55
subtitle: Stop setting up, start coding!
66
title: A Better GitHub Flow
7-
image: https://cdn-images-1.medium.com/max/2048/0*f260tcqJvgvCguFu
7+
image: /a-better-github-flow.png
88
---
99

1010
As software developers, we already spend a lot of our time in browsers. Be it for searching Google/StackOverflow, checking our latest Continuous Integration builds on Jenkins resp. Travis, or doing code reviews on GitHub, Bitbucket, or Gerrit. Also, communication with the team happens in web applications, such as Gmail, Google Hangout or Slack. The convenience of web applications and OAuth-based authentication allows us to use any computer to do most of our work immediately.

src/blog/gitpod-launch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Once you've installed the app for your GitHub repository, it will pre-build dev
4646

4747
We call this feature prebuilt workspaces and you can read more about it in [Chris' post](/blog/prebuilds/).
4848

49-
![Prebuilt Workspaces](./gitpod-launch/prebuilt-workspaces.png)
49+
![Prebuilt Workspaces](/prebuilt-workspaces.png)
5050

5151
## More Flow
5252
Your dev environment opens differently depending on the GitHub page you are coming from. You can, for instance, open branches or files by simply going to the respective GitHub page and pressing the button (or prefixing the URL) there.
-153 KB
Binary file not shown.

0 commit comments

Comments
 (0)