Skip to content

Commit

Permalink
move to gatsby to make the site quicker :)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoblind committed Sep 19, 2018
1 parent 07d6eed commit 42f3b29
Show file tree
Hide file tree
Showing 22 changed files with 16,063 additions and 7,353 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
@@ -1,5 +1,6 @@
node_modules
dist
public
.cache
/.idea
generated
Expand Down
5 changes: 5 additions & 0 deletions .prettierrc
@@ -0,0 +1,5 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
}
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -44,10 +44,10 @@ Make sure you use NPM 8 or later

```sh
npm install
npm run start
gatsby develop
```

Point your browser to http://localhost:1234
Point your browser to http://localhost:8000

## Contributing

Expand Down
7 changes: 7 additions & 0 deletions gatsby-browser.js
@@ -0,0 +1,7 @@
/**
* 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
82 changes: 82 additions & 0 deletions gatsby-config.js
@@ -0,0 +1,82 @@
module.exports = {
siteMetadata: {
title: 'Webpack config tool',
description:
'Webpack config tool - create your own webpack config with React, Vue, Typescript and other libraries',
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'gatsby-starter-default',
short_name: 'starter',
start_url: '/',
background_color: '#663399',
theme_color: '#663399',
display: 'minimal-ui',
icon: 'src/images/gatsby-icon.png', // This path is relative to the root of the site.
},
},
'gatsby-plugin-offline',
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-43679645-5',
head: false,
// Avoids sending pageview hits from custom paths
exclude: ['/preview/**', '/do-not-track/me/too/'],
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-prismjs`,
options: {
// Class prefix for <pre> tags containing syntax highlighting;
// defaults to 'language-' (eg <pre class="language-js">).
// If your site loads Prism into the browser at runtime,
// (eg for use with libraries like react-live),
// you may use this to prevent Prism from re-processing syntax.
// This is an uncommon use-case though;
// If you're unsure, it's best to use the default value.
classPrefix: 'language-js',
// This is used to allow setting a language for inline code
// (i.e. single backticks) by creating a separator.
// This separator is a string and will do no white-space
// stripping.
// A suggested value for English speakers is the non-ascii
// character '›'.
inlineCodeMarker: null,
// This lets you set up language aliases. For example,
// setting this to '{ sh: "bash" }' will let you use
// the language "sh" which will highlight using the
// bash highlighter.
aliases: {},
// This toggles the display of line numbers alongside the code.
// To use it, add the following line in src/layouts/index.js
// right after importing the prism color scheme:
// `require("prismjs/plugins/line-numbers/prism-line-numbers.css");`
// Defaults to false.
showLineNumbers: false,
},
},
],
},
},
{
resolve: `gatsby-plugin-favicon`,
options: {
logo: './images/favicon.png',
},
},
{
resolve: `gatsby-plugin-drip-widget`,
options: {
account: '8328291',
},
},
],
}
7 changes: 7 additions & 0 deletions gatsby-node.js
@@ -0,0 +1,7 @@
/**
* Implement Gatsby's Node APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/node-apis/
*/

// You can delete this file if you're not using it
7 changes: 7 additions & 0 deletions gatsby-ssr.js
@@ -0,0 +1,7 @@
/**
* Implement Gatsby's SSR (Server Side Rendering) APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/ssr-apis/
*/

// You can delete this file if you're not using it
Binary file added images/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 42f3b29

Please sign in to comment.