This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d21127
commit 06acdf3
Showing
142 changed files
with
273 additions
and
66 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
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,41 @@ | ||
--- | ||
title: About | ||
--- | ||
|
||
This is a demo site of the [Personal**Blog**](https://github.com/greglobinski/gatsby-starter-personal-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) | ||
* **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) | ||
* **Material UI** (@next) | ||
|
||
### 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` | ||
* Contact **form validation** (react-material-ui-form-validator) | ||
|
||
## About me | ||
|
||
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 decided to share the love by contributing in this way, sharing my code as starters. I hope somebody find that useful. | ||
|
||
For sure it's not my last [Gatsby starter](/starters). If you want to be in touch follow my on Twitter [@greglobinski](https://twitter.com/greglobinski) | ||
|
||
PS: Please be understanding. The English language is not my native language. If you find any bug or not clear words you can always do PR to [gatsby-starter-personal-blog](https://github.com/greglobinski/gatsby-starter-personal-blog), the repo contains the actual code of this demo. |
File renamed without changes
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,20 @@ | ||
--- | ||
title: Other GatsbyJs starters | ||
menuTitle: My starters | ||
--- | ||
|
||
[Personal**Blog**](https://github.com/greglobinski/gatsby-starter-personal-blog) is not my first [GatsbyJs](https://www.gatsbyjs.org/) starter. | ||
|
||
![Simple**Landing**](./gatsby-starter-simple-landing.png) | ||
|
||
### SimpleLanding | ||
|
||
As the name says, it is a simple landing page. | ||
[Demo](gssl.greglobinski.com) | [Github repo](https://github.com/greglobinski/gatsby-starter-simple-landing) | ||
|
||
![Styled**Blog**](./gatsby-styled-blog-starter.jpg) | ||
|
||
### StyledBlog | ||
|
||
That is my first Gatsby starter. It is a forefather of the starter's demo you are looking at now. It will not be develop or update any longer. | ||
[Demo](gsbs.greglobinski.com) | [Github repo](https://github.com/greglobinski/gatsby-styled-blog-starter) |
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
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
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
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
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
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
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
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
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,72 @@ | ||
import React from "react"; | ||
import PropTypes from "prop-types"; | ||
import injectSheet from "react-jss"; | ||
import ReactSVG from "react-svg"; | ||
import Link from "gatsby-link"; | ||
|
||
const styles = theme => ({ | ||
wrapper: { | ||
position: "absolute", | ||
left: 0, | ||
bottom: "60px", | ||
width: "100%", | ||
padding: "1em 2em" | ||
}, | ||
box: { | ||
display: "flex", | ||
justifyContent: "center", | ||
flexWrap: "wrap" | ||
}, | ||
link: { | ||
display: "inline-block", | ||
padding: "8px" | ||
}, | ||
svg: { | ||
width: "24px", | ||
height: "24px" | ||
}, | ||
header: { | ||
textAlign: "center", | ||
fontSize: ".85em", | ||
letterSpacing: ".3em", | ||
width: "100%", | ||
margin: "0 0 .8em 0", | ||
fontWeight: 300 | ||
} | ||
}); | ||
|
||
const StackIcons = props => { | ||
const { classes } = props; | ||
|
||
const items = [ | ||
{ name: "gatsby", url: "https://www.gatsbyjs.org/" }, | ||
{ name: "react", url: "https://reactjs.org/" }, | ||
{ name: "graphql", url: "http://graphql.org/" }, | ||
{ name: "jss", url: "http://cssinjs.org/" }, | ||
{ name: "material-ui", url: "https://reactjs.org" }, | ||
{ name: "redux", url: "https://redux.js.org/" }, | ||
{ name: "algolia", url: "https://www.algolia.com/" }, | ||
{ name: "webpack", url: "https://webpack.js.org/" }, | ||
{ name: "babel", url: "https://babeljs.io/" }, | ||
{ name: "netlify", url: "https://www.netlify.com/" } | ||
]; | ||
|
||
return ( | ||
<div className={classes.wrapper}> | ||
<h5 className={classes.header}>built with:</h5> | ||
<div className={classes.box}> | ||
{items.map(item => ( | ||
<Link to={item.url} key={item.name} className={classes.link}> | ||
<ReactSVG path={`/svg/${item.name}.svg`} className={classes.svg} /> | ||
</Link> | ||
))} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
StackIcons.propTypes = { | ||
classes: PropTypes.object.isRequired | ||
}; | ||
|
||
export default injectSheet(styles)(StackIcons); |
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
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
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
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
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 @@ | ||
import React from "react"; | ||
import PropTypes from "prop-types"; | ||
|
||
const SvgEl = props => { | ||
return ( | ||
<svg | ||
version="1.1" | ||
xmlns="http://www.w3.org/2000/svg" | ||
xmlnsXlink="http://www.w3.org/1999/xlink" | ||
preserveAspectRatio="xMidYMid meet" | ||
viewBox={props.svg.attributes.viewBox} | ||
width="100%" | ||
height="100%" | ||
> | ||
{props.svg.content} | ||
</svg> | ||
); | ||
}; | ||
|
||
SvgEl.propTypes = { | ||
svg: PropTypes.shape({ | ||
attributes: PropTypes.object, | ||
content: PropTypes.node | ||
}).isRequired | ||
}; | ||
|
||
export default SvgEl; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,5 +0,0 @@ | ||
export const encode = data => { | ||
return Object.keys(data) | ||
.map(key => encodeURIComponent(key) + "=" + encodeURIComponent(data[key])) | ||
.join("&"); | ||
}; | ||
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 +1,3 @@ | ||
User-agent: * | ||
|
||
sitemap: https://gatsby-starter-personal-blog/sitemap.xml |
Oops, something went wrong.
Oops, something went wrong.