-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://github.com/greglobinski/gatsby-starter-hero-blog Signed-off-by: Outsider <[email protected]>
- Loading branch information
1 parent
61d1778
commit 608f20c
Showing
155 changed files
with
28,039 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
public/* | ||
static/* | ||
.cache/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" } | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
 | ||
|
||
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 | ||
|
||
 | ||
|
||
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
24
content/posts/2017-10-01--two-things-are-infinite/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
 | ||
|
||
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. |
Binary file added
BIN
+339 KB
.../posts/2017-10-01--two-things-are-infinite/photo-1490474418585-ba9bad8fd0ea.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.