Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Website v2 (#3)
Browse files Browse the repository at this point in the history
patrick91 authored May 23, 2020

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
1 parent b1b187f commit 0dbebdd
Showing 69 changed files with 11,114 additions and 4,010 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
26 changes: 26 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
parser: "@typescript-eslint/parser",
extends: [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:react/recommended",
"plugin:prettier/recommended",
],
parserOptions: {
ecmaVersion: 2018,
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/camelcase": "off",
"react/prop-types": "off",
},
settings: {
react: {
version: "detect",
},
},
};
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -5,6 +5,8 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

schema.json

# Runtime data
pids
*.pid
@@ -67,3 +69,5 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity

__generated__/
12 changes: 12 additions & 0 deletions apollo.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
client: {
addTypename: false,
excludes: [],
includes: ["./src/**/*.tsx","./src/**/*.ts","./plugins/**/*.js","./node_modules/gatsby-source-contentful/src/*.js","./node_modules/gatsby-source-datocms/fragments/*.js","./node_modules/gatsby-transformer-sharp/src/*.js","./node_modules/gatsby-image/src/*.js"],
service: {
name: "gatsbySchema",
localSchemaFile: "./schema.json"
},
tagName: "graphql"
}
}
15 changes: 15 additions & 0 deletions content/acknowledgements/content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## In addition we'd like to thank also the following people:

- [Orlando Festa](https://twitter.com/druguinni) for the fantastic work on the Strawberry logo.
- [Lotte Bijlsma](https://twitter.com/BijlsmaLotte) for the amazing design of this website.

## Icons

We are using icons from [The Noun Project](https://thenounproject.com). Here's the list of icons we used on this website:

- Async by [Timofey Rostilov](https://thenounproject.com/t.rostilov/)
- Server by [Clea Doltz](https://thenounproject.com/clea.doltz)
- Python by [Zaenal Abidin](https://thenounproject.com/priyokumoro5/)
- Boxes by [Icons Bazaar](https://thenounproject.com/iconsbazaar89/)
- Navigation by [Flatart](https://thenounproject.com/Flatart/)
- Close by [Landan Lloyd](https://thenounproject.com/landan/)
Binary file removed content/assets/gatsby-icon.png
Binary file not shown.
20 changes: 0 additions & 20 deletions content/blog/hello-world/index.md

This file was deleted.

Binary file removed content/blog/hello-world/salty_egg.jpg
Binary file not shown.
107 changes: 0 additions & 107 deletions content/blog/hi-folks/index.md

This file was deleted.

13 changes: 0 additions & 13 deletions content/blog/my-second-post/index.md

This file was deleted.

56 changes: 0 additions & 56 deletions content/docs/hello-world.md

This file was deleted.

16 changes: 16 additions & 0 deletions content/home/hello-world.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
```python
import strawberry

@strawberry.type
class User:
name: str
age: int

@strawberry.type
class Query:
@strawberry.field
def user(self) -> User:
return User(name="Patrick", age=100)

schema = strawberry.Schema(query=Query)
```
8 changes: 1 addition & 7 deletions gatsby-browser.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
/**
* Implement Gatsby's Browser APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/browser-apis/
*/

// You can delete this file if you're not using it
export { wrapPageElement } from "./src/helpers/wrap-page-element";
Loading

2 comments on commit 0dbebdd

@vercel
Copy link

@vercel vercel bot commented on 0dbebdd May 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 0dbebdd May 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.