Skip to content

Commit

Permalink
init with gatsby-starter-hero-blog
Browse files Browse the repository at this point in the history
  • Loading branch information
outsideris committed Jun 29, 2019
1 parent 61d1778 commit 608f20c
Show file tree
Hide file tree
Showing 155 changed files with 28,039 additions and 455 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
public/*
static/*
.cache/*
51 changes: 51 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"parser": "babel-eslint",
"extends": [
"google",
"prettier",
"prettier/react",
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["prettier", "react", "jsx-a11y", "import", "graphql"],
"env": {
"browser": true,
"es6": true,
"node": true
},
"rules": {
"arrow-body-style": "off",
"camelcase": "warn",
"func-names": "off",
"global-require": "warn",
"import/no-dynamic-require": "warn",
"import/no-extraneous-dependencies": "off",
"no-console": "off",
"no-multi-assign": "off",
"no-param-reassign": "warn",
"no-plusplus": "off",
"no-shadow": "warn",
"no-underscore-dangle": "warn",
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"no-nested-ternary": "off",
"no-unused-vars": "warn",
"prefer-destructuring": "off",
"prettier/prettier": ["error"],
"react/jsx-uses-vars": "error"
},
"overrides": [
{
"files": ["*.spec.js", "*.integration.js"],
"rules": {
"no-unused-expressions": "off"
}
}
]
}
119 changes: 67 additions & 52 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,55 +1,70 @@
*.py[cod]

# C extensions
*.so

# Packages
*.egg
*.egg-info
.eggs
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
nosetests.xml
test_media
.coveralls.yml
coverage.xml
.python-version

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

.ropeproject

# Virtual environments, e.g. virtualenv
venv

# PyCharm
.idea/*
# 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/
.DS_Store
public/
yarn-error.log

# editors
.idea/
.vscode

# Build result
_build/translations
_build/feeds
_build/index.html
# other
report/
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 100,
"singleQuote": false
}
39 changes: 39 additions & 0 deletions content/meta/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
module.exports = {
siteTitle: "HeroBlog - a GatsbyJS starter", // <title>
shortSiteTitle: "HeroBlog - GatsbyJS starter", // <title> ending for posts and pages
siteDescription: "HeroBlog is a GatsbyJS starter.",
siteUrl: "https://gatsby-starter-hero-blog.greglobinski.com",
// pathPrefix: "",
siteImage: "preview.jpg",
siteLanguage: "en",

/* author */
authorName: "greg lobinski",
authorTwitterAccount: "greglobinski",

/* info */
headerTitle: "greg lobinski",
headerSubTitle: "presents another one GatsbyJS starter",

/* manifest.json */
manifestName: "HeroBlog - a GatsbyJS starter",
manifestShortName: "HeroBlog", // max 12 characters
manifestStartUrl: "/index.html",
manifestBackgroundColor: "white",
manifestThemeColor: "#666",
manifestDisplay: "standalone",

// gravatar
// Use your Gravatar image. If empty then will use src/images/jpg/avatar.jpg
// Replace your email adress with md5-code.
// Example https://www.gravatar.com/avatar/g.strainovic@gmail.com ->
// gravatarImgMd5: "https://www.gravatar.com/avatar/1db853e4df386e8f699e4b35505dd8c6",
gravatarImgMd5: "",

// social
authorSocialLinks: [
{ name: "github", url: "https://github.com/greglobinski" },
{ name: "twitter", url: "https://twitter.com/greglobinski" },
{ name: "facebook", url: "http://facebook.com/greglobinski" }
]
};
27 changes: 27 additions & 0 deletions content/pages/1--about/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: About
---

This is a demo site of the [HeroBlog](https://github.com/greglobinski/gatsby-starter-hero-blog), a [GatsbyJS](https://www.gatsbyjs.org/) starter.

### Features:

* Easy editable content in **Markdown** files (posts, pages and parts)
* **CSS** with `styled-jsx` and `PostCSS`
* **SEO** (sitemap generation, robot.txt, meta and OpenGraph Tags)
* **Social** sharing (Twitter, Facebook, Google, LinkedIn)
* **Comments** (Facebook)
* **Images** lazy loading and `webp` support (gatsby-image)
* Post **categories** (category based post list)
* Full text **searching** (Algolia)
* **Contact** form (Netlify form handling)
* **RSS** feed
* 100% **PWA** (manifest.webmanifest, offline support, favicons)
* Google **Analytics**
* App **favicons** generator (node script)
* Easy customizable base **styles** via `theme` object generated from `yaml` file (fonts, colors, sizes)
* React **v.16** (gatsby-plugin-react-next)
* **Components** lazy loading (social sharing)
* **ESLint** (google config)
* **Prettier** code styling
* Webpack `BundleAnalyzerPlugin`
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions content/pages/2--starters/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Other GatsbyJS starters
menuTitle: Starters
---

**HeroBlog** is not my first [GatsbyJS](https://www.gatsbyjs.org/) starter.

### PersonalBlog

![PersonalBlog](./gatsby-starter-personal-blog.png)

A ready to use, easy to customize Gatsby starter with 'like app' layout transitions. [Demo](https://gatsby-starter-personal-blog.greglobinski.com/) | [Github repo](https://github.com/greglobinski/gatsby-starter-personal-blog)

### SimpleLanding

![SimpleLanding](./gatsby-starter-simple-landing.png)

As the name says, it is a simple landing page starter.
[Demo](https://gatsby-starter-simple-landing.greglobinski.com/) | [Github repo](https://github.com/greglobinski/gatsby-starter-simple-landing)
12 changes: 12 additions & 0 deletions content/pages/3--front-end-dev/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Front-end web development with Greg
menuTitle: With Greg
---

[Front-end web development with Greg](https://dev.greglobinski.com) is a blog I have just launched.

It will be a home for all instruction and tutorial articles relating to my GatsbyJS starters. The dominant subject areas will be of course GatsbyJS but also ReactJS, EcmaScript 2015+ and CSS in JS.

If you want to be informed about new content on the blog follow me on Twitter - [@greglobinski](https://twitter.com/greglobinski).

Are you thinking about a particular subject, relating to the starters, I could write about? Tweet me.
9 changes: 9 additions & 0 deletions content/pages/4--privacy/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Privacy Policy
---

Rviverra sodales ipsum gravida nec. Integer gravida nisi ut magna mollis molestie. Nullam pharetra accumsan sagittis. Proin tristique rhoncus orci, eget vulputate nisi sollicitudin et. Quisque lacus augue, mollis non mollis et, ullamcorper in purus. Morbi et sem orci.

Praesent accumsan odio in ante ullamcorper id pellentesque mauris rhoncus. Duis vitae neque dolor. Duis sed purus at eros bibendum cursus nec a nulla. Donec turpis quam, ultricies id pretium sit amet, gravida eget leo.

Fusce a metus eu diam varius congue nec nec sapien. Nunc convallis accumsan justo. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec malesuada vehicula lectus, viverra sodales ipsum gravida nec. Integer gravida nisi ut magna mollis molestie. Nullam pharetra accumsan sagittis. Proin tristique rhoncus orci, eget vulputate nisi sollicitudin et. Quisque lacus augue, mollis non mollis et, ullamcorper in purus. Morbi et sem orci.
9 changes: 9 additions & 0 deletions content/pages/5--terms/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Terms and Conditions
---

Fusce a metus eu diam varius congue nec nec sapien. Nunc convallis accumsan justo. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec malesuada vehicula lectus, viverra sodales ipsum gravida nec. Integer gravida nisi ut magna mollis molestie. Nullam pharetra accumsan sagittis. Proin tristique rhoncus orci, eget vulputate nisi sollicitudin et. Quisque lacus augue, mollis non mollis et, ullamcorper in purus. Morbi et sem orci.

Rviverra sodales ipsum gravida nec. Integer gravida nisi ut magna mollis molestie. Nullam pharetra accumsan sagittis. Proin tristique rhoncus orci, eget vulputate nisi sollicitudin et. Quisque lacus augue, mollis non mollis et, ullamcorper in purus. Morbi et sem orci.

Praesent accumsan odio in ante ullamcorper id pellentesque mauris rhoncus. Duis vitae neque dolor. Duis sed purus at eros bibendum cursus nec a nulla. Donec turpis quam, ultricies id pretium sit amet, gravida eget leo.
6 changes: 6 additions & 0 deletions content/pages/success/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Success
---

Thank you. <br />
I will answer to your message as soon as possible.
5 changes: 5 additions & 0 deletions content/parts/author.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: author
---

**Mr. Gatsby** Proin ornare ligula eu tellus tempus elementum. Aenean [bibendum](/) iaculis mi, nec blandit lacus interdum vitae. Vestibulum non nibh risus, a scelerisque purus. Blandit lacus interdum vitae. Vestibulum non nibh risus, a scelerisque purus.
10 changes: 10 additions & 0 deletions content/parts/footnote.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: footnote
---

* it's a demo site of the [gatsby-starter-hero-blog](https://github.com/greglobinski/gatsby-starter-hero-blog)
* built by [greg lobinski](https://www.greglobinski.com)
* Check [Front-end web development with Greg](https://dev.greglobinski.com)
* delivered by [Netlify](https://www.netlify.com/)
* photos by [unsplash.com](https://unsplash.com)
* graphic by [pixabay.com](https://pixabay.com)
24 changes: 24 additions & 0 deletions content/posts/2017-10-01--two-things-are-infinite/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: Two things are infinite the universe and human stupidity
category: "sayings"
cover: photo-1490474418585-ba9bad8fd0ea.jpg
author: greg lobinski
---

Proin suscipit luctus orci placerat fringilla. Donec hendrerit laoreet risus eget adipiscing. Suspendisse in urna ligula, a volutpat mauris. Sed enim mi, [adipiscing](http://google.com) eu pulvinar vel, sodales vitae dui. :thumbsup: :smile: :sparkler:

Pellentesque sed sapien lorem, at lacinia urna. In hac habitasse platea dictumst. Vivamus vel justo in leo laoreet ullamcorper non vitae lorem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum ullamcorper rutrum.

Fusce a metus eu diam varius congue nec nec sapien. Vestibulum orci tortor, sollicitudin ac euismod non, placerat ac augue. Nunc convallis accumsan justo. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec malesuada vehicula lectus, viverra sodales ipsum gravida nec.

> Proin ornare ligula eu tellus tempus elementum. Aenean bibendum iaculis mi, nec blandit lacus interdum vitae. Vestibulum non nibh risus, a scelerisque purus. Ut vel arcu ac tortor adipiscing hendrerit vel sed massa. Fusce sem libero, lacinia vulputate interdum non, porttitor non quam. Aliquam sed felis ligula. Duis non nulla magna.
Nullam eros mi, mollis in sollicitudin non, tincidunt sed enim. Sed et felis metus, rhoncus ornare nibh. Ut at magna leo. Suspendisse egestas est ac dolor imperdiet pretium. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam porttitor, erat sit amet venenatis luctus, augue libero ultrices quam, ut congue nisi risus eu purus. Cras semper consectetur elementum.

### Cras semper consectetur elementum

Pellentesque sed sapien lorem, at lacinia urna. In hac habitasse platea dictumst. Vivamus vel justo in leo laoreet ullamcorper non vitae lorem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum ullamcorper rutrum.

![unsplash.com](./photo-1490474418585-ba9bad8fd0ea.jpg)

Proin suscipit luctus orci placerat fringilla. Donec hendrerit laoreet risus eget adipiscing. Suspendisse in urna ligula, a volutpat mauris. Sed enim mi, bibendum eu pulvinar vel, sodales vitae dui. Pellentesque sed sapien lorem, at lacinia urna. In hac habitasse platea dictumst. Vivamus vel justo in leo laoreet ullamcorper non vitae lorem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin bibendum ullamcorper rutrum.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 608f20c

Please sign in to comment.