Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
yihong0618 committed Sep 19, 2020
1 parent 71c2242 commit 9a9b8fb
Show file tree
Hide file tree
Showing 50 changed files with 45,532 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Project dependencies
.cache
*.pyc
node_modules
yarn-error.log

/public
# Build directory
/build
.DS_Store
.sass-cache/
_posts/
_site/
db.csv
danpalmer.sql

.mypy_cache
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
# running_page
Make your own running page
# Build your own Running Page

## Install

- yarn install
- yarn develop

## server

- recommend vercel

## support

- Nike Run Club
- Strave
- Runstastic(Adidas Run)
2 changes: 2 additions & 0 deletions assets/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions assets/grid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 91 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
const path = require("path");

module.exports = {
siteMetadata: {
title: "Yihong0618",
siteUrl: "https://yihong.run",
description: "Personal site and blog",
},
plugins: [
"gatsby-plugin-react-helmet",
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
"gatsby-remark-responsive-iframe",
"gatsby-remark-smartypants",
"gatsby-remark-widows",
"gatsby-remark-external-links",
{
resolve: "gatsby-remark-autolink-headers",
options: {
className: "header-link",
},
},
{
resolve: "gatsby-remark-images",
options: {
maxWidth: 600,
quality: 80,
withWebp: { quality: 80 },
},
},
],
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "src",
path: `${__dirname}/posts`,
},
},
{
resolve: "gatsby-plugin-sass",
options: {
precision: 8,
},
},
"gatsby-transformer-yaml",
"gatsby-transformer-json",
{
resolve: "gatsby-source-filesystem",
options: {
path: "./data/",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: `${__dirname}/posts/images`,
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "static_images",
path: `${__dirname}/src/images`,
ignore: ["**/.(js|jsx|scss)"],
},
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /assets/
}
}
},
"gatsby-transformer-sharp",
"gatsby-plugin-sharp",
//"gatsby-redirect-from",
"gatsby-plugin-sitemap",
{
resolve: "gatsby-plugin-robots-txt",
options: {
policy: [{ userAgent: "*", allow: "/" }],
},
},
],
};
Loading

0 comments on commit 9a9b8fb

Please sign in to comment.