Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
Init git
Browse files Browse the repository at this point in the history
  • Loading branch information
greglobinski committed May 10, 2018
0 parents commit 4662818
Show file tree
Hide file tree
Showing 147 changed files with 31,855 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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

[*.md]
trim_trailing_whitespace = false
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"
}
}
]
}
67 changes: 67 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# 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
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
}
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2018 greglobinski

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.

Empty file added README.md
Empty file.
36 changes: 36 additions & 0 deletions Untitled-1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
"stylelint": {
"ignoreFiles": ["*/antd/**", "*/prismjs/**", "*/typeface-open-sans/*", "*/normalize.css/*"],
"extends": ["stylelint-config-standard", "stylelint-config-css-modules"],
"processors": [
[
"@mapbox/stylelint-processor-arbitrary-tags",
{
"startTag": "\\s*<style jsx>{`",
"endTag": "\\s*`}</style>"
}
]
],
"rules": {
"no-empty-source": null,
"property-no-unknown": true
}
},


"stylelint": {
"ignoreFiles": ["*/antd/**", "*/prismjs/**", "*/typeface-open-sans/*", "*/normalize.css/*"],
"extends": ["stylelint-config-standard", "stylelint-config-css-modules"],
"processors": [
[
"@mapbox/stylelint-processor-arbitrary-tags",
{
"fileFilterRegex": [],
"startTag": "\\s*<style jsx>{`",
"endTag": "\\s*`}</style>"
}
]
],
"rules": {
"no-empty-source": null
}
},
28 changes: 28 additions & 0 deletions content/meta/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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: "/",
manifestBackgroundColor: "white",
manifestThemeColor: "#666",
manifestDisplay: "standalone",
// social
authorSocialLinks: [
{ name: "github", url: "https://github.com/greglobinski" },
{ name: "twitter", url: "https://twitter.com/greglobinski" },
{ name: "facebook", url: "http://facebook.com/greglobinski" }
]
};
32 changes: 32 additions & 0 deletions content/pages/1--about/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: About
---

This is a demo site of the [Classic**Blog**](https://github.com/greglobinski/gatsby-starter-classic-blog) [GatsbyJs](https://www.gatsbyjs.org/) starter.

The starter is a ready to use, easy to customize 'like theme' starter. It has everything what blog should have and some more.

### Standard features:

* Easy editable content in **Markdown** files (posts, pages and parts)
* **CSS** with `styled-jsx`
* **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** (post list filtering)
* Full text **searching** (Algolia)
* **Contact** form (Netlify form handling)
* **RSS** feed
* **PWA** (manifes.json, offline support, favicons)
* Google **Analytics**
* **Favicons** generator (node script)

### Advanced features:

* Easy customizable base **styles** via `theme` object (fonts, colors, sizes)
* **Components** leazy loading (social sharing, comments)
* **ESLint** (google config)
* **Prettier** code styling
* Custom webpack `CommonsChunkPlugin` settings
* 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
---

**ClassicBlog** 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

![Simple**Landing**](./gatsby-starter-simple-landing.png)

As the name says, it is a simple landing page.
[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--for-gatsby/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Greg for GatsbyJS
menuTitle: For Gatsby
---

My name is **Greg**. I am a front-end web developer. I love working with [GatsbyJs](https://www.gatsbyjs.org/). I love the UX it delivers out of the box for the end users and DX it provides to me as a developer.

I'm writing about my GatsbyJS starters at [Greg for Gatsby](https://forgatsby.greglobinski.com)

For sure **ClassicBlog** it's not my last [GatsbyJS starter](/starters). If you want to be in touch follow my on Twitter [@greglobinski](https://twitter.com/greglobinski) or Github [@greglobinsi](https://github.com/greglobinski).

PS: Please be understanding. The English language is not my native one. If you find any bug or not clear words you can always do PR to [gatsby-starter-classic-blog](https://github.com/greglobinski/gatsby-starter-classic-blog), the repo contains the actual code of this demo.
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.
11 changes: 11 additions & 0 deletions content/parts/footnote.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: footnote
---

* it's a demo site of a [gatsby-starter](https://github.com/greglobinski/gatsby-starter-hero-blog)
* built by [greg lobinski](https://www.greglobinski.com)
* with [Gatsby](https://www.gatsbyjs.org/) & [React](https://reactjs.org)
* source code on [GitHub](https://github.com/greglobinski/gatsby-starter-personal-blog)
* deliverd 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 4662818

Please sign in to comment.