├── gatsby-browser.js
├── src
├── styles
│ └── global.css
└── gatsby-theme-blog
│ ├── components
│ └── bio-content.js
│ └── gatsby-plugin-theme-ui
│ └── colors.js
├── content
├── assets
│ └── avatar.png
└── posts
│ ├── my-second-post.mdx
│ └── hello-world.mdx
├── .prettierrc
├── package.json
├── gatsby-config.js
├── README.md
├── LICENSE
└── .gitignore
/gatsby-browser.js:
--------------------------------------------------------------------------------
1 | import "./src/styles/global.css"
--------------------------------------------------------------------------------
/src/styles/global.css:
--------------------------------------------------------------------------------
1 | a {
2 | color: black;
3 | text-decoration: none;
4 | }
5 |
6 |
--------------------------------------------------------------------------------
/content/assets/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/the-akira/subject2/master/content/assets/avatar.png
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "endOfLine": "lf",
3 | "semi": false,
4 | "singleQuote": false,
5 | "tabWidth": 2,
6 | "trailingComma": "es5"
7 | }
8 |
--------------------------------------------------------------------------------
/src/gatsby-theme-blog/components/bio-content.js:
--------------------------------------------------------------------------------
1 | import React, { Fragment } from "react"
2 |
3 | export default () => (
4 |
5 | Computer Science
6 | {` `}
7 |
8 | by Gabriel Felippe
9 |
10 | )
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "gatsby-starter-blog-theme",
3 | "private": true,
4 | "version": "0.0.1",
5 | "scripts": {
6 | "develop": "gatsby develop",
7 | "start": "gatsby develop",
8 | "build": "gatsby build"
9 | },
10 | "dependencies": {
11 | "gatsby": "^2.17.6",
12 | "gatsby-theme-blog": "^1.1.11",
13 | "react": "^16.11.0",
14 | "react-dom": "^16.11.0"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/content/posts/my-second-post.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: My Second Post! (example)
3 | date: 2019-05-15
4 | ---
5 |
6 | Wow! I love blogging so much already.
7 |
8 | Did you know that "despite its name, salted duck eggs can also be made from chicken eggs, though the taste and texture will be somewhat different, and the egg yolk will be less rich."? ([Wikipedia Link](http://en.wikipedia.org/wiki/Salted_duck_egg))
9 |
10 | Yeah, I didn't either.
11 |
12 | ```python
13 | for i in range(100):
14 | print(i)
15 | ```
--------------------------------------------------------------------------------
/content/posts/hello-world.mdx:
--------------------------------------------------------------------------------
1 | ---
2 | title: Hello World Gatsby
3 | date: 2019-04-15
4 | ---
5 |
6 | Hello, world! This is a demo post for `gatsby-theme-blog`.
7 |
8 | Delete me, and get writing!
9 |
10 | ```python
11 | print('Hello World')
12 | ```
13 |
14 | This is another paragraph after the code block.
15 |
16 | ## This is a secondary heading
17 |
18 | ```jsx
19 | import React from "react";
20 | import { ThemeProvider } from "theme-ui";
21 | import theme from "./theme";
22 |
23 | export default props => (
24 | {props.children}
25 | );
26 | ```
--------------------------------------------------------------------------------
/gatsby-config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: [
3 | {
4 | resolve: `gatsby-theme-blog`,
5 | options: {},
6 | },
7 | ],
8 | // Customize your site metadata:
9 | siteMetadata: {
10 | title: ``,
11 | author: `Gabriel Felippe`,
12 | description: `Blog de Computação & Programação`,
13 | social: [
14 | {
15 | name: `twitter`,
16 | url: `https://twitter.com/akirascientist`,
17 | },
18 | {
19 | name: `github`,
20 | url: `https://github.com/the-akira`,
21 | },
22 | ],
23 | },
24 | }
25 |
--------------------------------------------------------------------------------
/src/gatsby-theme-blog/gatsby-plugin-theme-ui/colors.js:
--------------------------------------------------------------------------------
1 | import merge from "deepmerge"
2 | import defaultThemeColors from "gatsby-theme-blog/src/gatsby-plugin-theme-ui/colors"
3 |
4 | const blueGray = `#282c35`
5 | const white = `#cccccc`
6 |
7 | export default merge(defaultThemeColors, {
8 | heading: white,
9 | text: white,
10 | background: blueGray,
11 | primary: white,
12 | highlight: white,
13 | modes: {
14 | dark: {
15 | text: blueGray,
16 | primary: blueGray,
17 | heading: blueGray,
18 | highlight: blueGray,
19 | background: white,
20 | },
21 | },
22 | })
23 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 | Gatsblog
3 |
4 |
5 | ## 🚀 How to use
6 |
7 | 1. **Clone the Repository**
8 |
9 | ```shell
10 | git clone https://github.com/the-akira/subject2.git
11 | ```
12 |
13 | 2. **Install Packages**
14 |
15 | Navigate into the site’s directory and:
16 |
17 | ```shell
18 | npm install
19 | ```
20 |
21 | 3. **Start developing**
22 |
23 | Navigate into the site’s directory and start it up.
24 |
25 | ```shell
26 | gatsby develop
27 | ```
28 |
29 | 4. **Build**
30 |
31 | Navigate into the site’s directory and build it up.
32 |
33 | ```shell
34 | gatsby build
35 | ```
36 |
37 | 5. **Deploy**
38 |
39 | You can easily deploy the static content to [Netlify](https://www.netlify.com/)
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2019 Gatsbyjs
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 |
8 | # Runtime data
9 | pids
10 | *.pid
11 | *.seed
12 | *.pid.lock
13 |
14 | # Directory for instrumented libs generated by jscoverage/JSCover
15 | lib-cov
16 |
17 | # Coverage directory used by tools like istanbul
18 | coverage
19 |
20 | # nyc test coverage
21 | .nyc_output
22 |
23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24 | .grunt
25 |
26 | # Bower dependency directory (https://bower.io/)
27 | bower_components
28 |
29 | # node-waf configuration
30 | .lock-wscript
31 |
32 | # Compiled binary addons (http://nodejs.org/api/addons.html)
33 | build/Release
34 |
35 | # Dependency directories
36 | node_modules/
37 | jspm_packages/
38 |
39 | # Typescript v1 declaration files
40 | typings/
41 |
42 | # Optional npm cache directory
43 | .npm
44 |
45 | # Optional eslint cache
46 | .eslintcache
47 |
48 | # Optional REPL history
49 | .node_repl_history
50 |
51 | # Output of 'npm pack'
52 | *.tgz
53 |
54 | # dotenv environment variable files
55 | .env*
56 |
57 | # gatsby files
58 | .cache/
59 | public
60 |
61 | # Mac files
62 | .DS_Store
63 |
64 | # Yarn
65 | yarn-error.log
66 | .pnp/
67 | .pnp.js
68 | # Yarn Integrity file
69 | .yarn-integrity
70 |
--------------------------------------------------------------------------------