Skip to content
Permalink
Browse files

Create base website

  • Loading branch information...
cmmartti committed Sep 11, 2018
0 parents commit 6aaa5cfc28204dc62c0f41d17efa7a1f76ace2c0
Showing with 20,866 additions and 0 deletions.
  1. +62 −0 .gitignore
  2. +7 −0 .prettierrc
  3. +21 −0 LICENSE
  4. +16 −0 README.md
  5. +23 −0 gatsby-config.js
  6. +12,337 −0 package-lock.json
  7. +18 −0 package.json
  8. BIN src/images/icon.png
  9. +3 −0 src/pages/index.js
  10. +8,379 −0 yarn.lock
@@ -0,0 +1,62 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

.cache/
public
yarn-error.log
@@ -0,0 +1,7 @@
{
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 4,
"bracketSpacing": false
}
21 LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Pokéapi, Charles Marttinen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,16 @@
# Pokeapi.co Static Website
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

This is http://pokeapi.co's source code. This website is built using [Gatsby](https://github.com/gatsbyjs/gatsby), which produces a static website that can be easily hosted on a CDN like Netlify.

## Running in development
Make sure that you have the Gatsby CLI program installed:

```sh
npm install --global gatsby-cli
```

Start a hot-reloading session
```sh
gatsby develop
```
@@ -0,0 +1,23 @@
module.exports = {
siteMetadata: {
title: 'Pokéapi',
siteUrl: 'https://pokeapi.co',
},
plugins: [
// `gatsby-plugin-sass`,
// 'gatsby-plugin-react-helmet',
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'PokéAPI',
short_name: 'PokéAPI',
start_url: '/',
background_color: '#000000',
theme_color: '#EF5350',
display: 'minimal-ui',
icon: 'src/images/icon.png', // This path is relative to the root of the site.
},
},
'gatsby-plugin-offline',
],
};

0 comments on commit 6aaa5cf

Please sign in to comment.
You can’t perform that action at this time.