Skip to content

Commit

Permalink
Added Tylermcginnis website (#9619)
Browse files Browse the repository at this point in the history
* Added  Tylermcginnis web site

* fix case

* further tweaks

* Update README.md
  • Loading branch information
suryapeddineni authored and DSchau committed Nov 6, 2018
1 parent 8a12253 commit 8cd5742
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 35 deletions.
24 changes: 12 additions & 12 deletions docs/docs/headless-cms.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ The guides in this section will walk through the process of setting up content s

Other CMS systems you can connect to include:

* [Shopify](https://www.gatsbyjs.org/packages/gatsby-source-shopify/?=gatsby-source-)
* [Contentstack](https://www.gatsbyjs.org/packages/gatsby-source-contentstack/?=gatsby-source-)
* [Ghost](https://www.gatsbyjs.org/packages/gatsby-source-ghost/?=gatsby-source-)
* [Prismic](https://www.gatsbyjs.org/packages/gatsby-source-prismic/?=gatsby-source-)
* [Strapi](https://www.gatsbyjs.org/packages/gatsby-source-strapi/?=gatsby-source-)
* [Directus](https://www.gatsbyjs.org/packages/gatsby-source-directus/?=gatsby-source-)
* [Cockpit](https://www.gatsbyjs.org/packages/gatsby-plugin-cockpit/?=gatsby-source-)
* [GraphCMS](https://www.gatsbyjs.org/packages/gatsby-source-graphcms-beta-patch/?=gatsby-source-)
* [CraftCMS](https://www.gatsbyjs.org/packages/gatsby-source-craftcms/?=gatsby-source-)
* [DatoCMS](https://www.gatsbyjs.org/packages/gatsby-source-datocms/?=gatsby-source-)
* [Storyblok](https://www.gatsbyjs.org/packages/gatsby-source-storyblok/?=gatsby-source-)
* [Kentico Cloud](https://www.gatsbyjs.org/packages/gatsby-source-kentico-cloud/?=gatsby-source-)
- [Shopify](https://www.gatsbyjs.org/packages/gatsby-source-shopify/?=gatsby-source-)
- [Contentstack](https://www.gatsbyjs.org/packages/gatsby-source-contentstack/?=gatsby-source-)
- [Ghost](https://www.gatsbyjs.org/packages/gatsby-source-ghost/?=gatsby-source-)
- [Prismic](https://www.gatsbyjs.org/packages/gatsby-source-prismic/?=gatsby-source-)
- [Strapi](https://www.gatsbyjs.org/packages/gatsby-source-strapi/?=gatsby-source-)
- [Directus](https://www.gatsbyjs.org/packages/gatsby-source-directus/?=gatsby-source-)
- [Cockpit](https://www.gatsbyjs.org/packages/gatsby-plugin-cockpit/?=gatsby-source-)
- [GraphCMS](https://www.gatsbyjs.org/packages/gatsby-source-graphcms-beta-patch/?=gatsby-source-)
- [CraftCMS](https://www.gatsbyjs.org/packages/gatsby-source-craftcms/?=gatsby-source-)
- [DatoCMS](https://www.gatsbyjs.org/packages/gatsby-source-datocms/?=gatsby-source-)
- [Storyblok](https://www.gatsbyjs.org/packages/gatsby-source-storyblok/?=gatsby-source-)
- [Kentico Cloud](https://www.gatsbyjs.org/packages/gatsby-source-kentico-cloud/?=gatsby-source-)

## How to add new guides to this section

Expand Down
5 changes: 2 additions & 3 deletions docs/docs/plugin-authoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ plugins

```javascript
module.exports = {
plugins: [
'my-own-plugin',
]
plugins: ["my-own-plugin"],
}
```

Expand All @@ -76,4 +74,5 @@ can place the files in a `src` subfolder and build them to the plugin folder
root.

## Publishing a plugin to the library

If you'd like to publish your plugin to the Gatsby Plugin Library (please do!), [follow these steps](/docs/submit-to-plugin-library/).
15 changes: 12 additions & 3 deletions docs/docs/source-plugin-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ Create a new file called `gatsby-node.js` in your `gatsby-source-pixabay` direct
const fetch = require("node-fetch")
const queryString = require("query-string")

exports.sourceNodes = ({ actions, createNodeId, createContentDigest }, configOptions) => {
exports.sourceNodes = (
{ actions, createNodeId, createContentDigest },
configOptions
) => {
const { createNode } = actions

// Gatsby adds a configOption that's not needed for this plugin, delete it
Expand Down Expand Up @@ -210,7 +213,10 @@ Update `gatsby-node.js` in your `plugins/gatsby-source-pixabay/` directory:
const fetch = require("node-fetch")
const queryString = require("query-string")

exports.sourceNodes = ({ actions, createNodeId, createContentDigest }, configOptions) => {
exports.sourceNodes = (
{ actions, createNodeId, createContentDigest },
configOptions
) => {
const { createNode } = actions

// Gatsby adds a configOption that's not needed for this plugin, delete it
Expand Down Expand Up @@ -269,7 +275,10 @@ You're adding a helper function on lines 11 to 27 and processing the data into a
const fetch = require("node-fetch")
const queryString = require("query-string")

exports.sourceNodes = ({ actions, createNodeId, createContentDigest }, configOptions) => {
exports.sourceNodes = (
{ actions, createNodeId, createContentDigest },
configOptions
) => {
const { createNode } = actions

// Gatsby adds a configOption that's not needed for this plugin, delete it
Expand Down
11 changes: 11 additions & 0 deletions docs/sites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3197,6 +3197,17 @@
- Technology
- Podcast
featured: false
- title: Tyler McGinnis
url: https://tylermcginnis.com/
main_url: https://tylermcginnis.com/
description: >
The linear, course based approach to learning web technologies.
categories:
- Education
- Technology
- Podcast
- Web Development
featured: false
- title: a11y with Lindsey
url: https://www.a11ywithlindsey.com/
main_url: https://www.a11ywithlindsey.com/
Expand Down
10 changes: 5 additions & 5 deletions docs/tutorial/part-eight/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,17 @@ Lighthouse is a great tool for site improvements and learning -- Continue lookin

### Official Documentation

* [Official Documentation](https://www.gatsbyjs.org/docs/): View our Official Documentation for *[Quick Start](https://www.gatsbyjs.org/docs/)*, *[Detailed Guides](https://www.gatsbyjs.org/docs/preparing-your-environment/)*, *[API References](https://www.gatsbyjs.org/docs/gatsby-link/)* and much more.
- [Official Documentation](https://www.gatsbyjs.org/docs/): View our Official Documentation for _[Quick Start](https://www.gatsbyjs.org/docs/)_, _[Detailed Guides](https://www.gatsbyjs.org/docs/preparing-your-environment/)_, _[API References](https://www.gatsbyjs.org/docs/gatsby-link/)_ and much more.

### Official Plugins

* [Official Plugins](https://github.com/gatsbyjs/gatsby/tree/master/packages): The complete list of all the Official Plugins maintained by Gatsby.
- [Official Plugins](https://github.com/gatsbyjs/gatsby/tree/master/packages): The complete list of all the Official Plugins maintained by Gatsby.

### Official Starters

1. [Gatsby's Default Starter](https://github.com/gatsbyjs/gatsby-starter-default): Kick off your project with this default boilerplate. This barebones starter ships with the main Gatsby configuration files you might need. *[working example](http://gatsbyjs.github.io/gatsby-starter-default/)*
2. [Gatsby's Blog Starter](https://github.com/gatsbyjs/gatsby-starter-blog): Gatsby starter for creating an awesome and blazing-fast blog. *[working example](http://gatsbyjs.github.io/gatsby-starter-blog/)*
3. [Gatsby's Hello-World Starter](https://github.com/gatsbyjs/gatsby-starter-blog): Gatsby Starter with the bare essentials needed for a Gatsby site. *[working example](https://gatsby-starter-hello-world-demo.netlify.com/)*
1. [Gatsby's Default Starter](https://github.com/gatsbyjs/gatsby-starter-default): Kick off your project with this default boilerplate. This barebones starter ships with the main Gatsby configuration files you might need. _[working example](http://gatsbyjs.github.io/gatsby-starter-default/)_
2. [Gatsby's Blog Starter](https://github.com/gatsbyjs/gatsby-starter-blog): Gatsby starter for creating an awesome and blazing-fast blog. _[working example](http://gatsbyjs.github.io/gatsby-starter-blog/)_
3. [Gatsby's Hello-World Starter](https://github.com/gatsbyjs/gatsby-starter-blog): Gatsby Starter with the bare essentials needed for a Gatsby site. _[working example](https://gatsby-starter-hello-world-demo.netlify.com/)_

## That's all, folks

Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/part-two/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ yet for your favorite CSS option,
- [Emotion](/packages/gatsby-plugin-emotion/)
- [JSS](/packages/gatsby-plugin-jss/)
- [Stylus](/packages/gatsby-plugin-stylus/)
and more!

and more!

## What's coming next?

Expand Down
2 changes: 1 addition & 1 deletion examples/using-cxs/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"globals": {
"graphql": false
}
}
}
4 changes: 3 additions & 1 deletion examples/using-cxs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ class IndexPage extends React.Component {
}}
>
<div className={wrapperClassName}>
<div className={titleClassName}>Hello World, this is my first styled component!</div>
<div className={titleClassName}>
Hello World, this is my first styled component!
</div>
<p>
<a href="https://www.gatsbyjs.org/packages/gatsby-plugin-styled-components/">
gatsby-plugin-styled-component docs
Expand Down
4 changes: 1 addition & 3 deletions packages/gatsby-plugin-cxs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ Add the plugin to `gatsby-config.js`

```javascript
module.exports = {
plugins: [
`gatsby-plugin-cxs`
],
plugins: [`gatsby-plugin-cxs`],
}
```

Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-google-gtag/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ To use it, simply import it and use it like you would the `<a>` element e.g.
import React from "react"
import { OutboundLink } from "gatsby-plugin-google-gtag"

export default () => {
export default () => (
<div>
<OutboundLink href="https://www.gatsbyjs.org/packages/gatsby-plugin-google-gtag/">
Visit the Google Global Site Tag plugin page!
</OutboundLink>
</div>
}
)
```

## The "gtagConfig.anonymize_ip" option
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ const writePages = async () => {
// where more specific patterns come before less specific patterns.
// This ensures explicit routes will match before general.
// Specificity is inferred from number of path segments.
.sortBy(p => `${p.matchPath ? 9999 - p.matchPath.split(`/`).length : `0000`}${p.path}`)
.sortBy(
p =>
`${p.matchPath ? 9999 - p.matchPath.split(`/`).length : `0000`}${
p.path
}`
)
.value()
const newHash = crypto
.createHash(`md5`)
Expand Down
4 changes: 2 additions & 2 deletions www/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ class IndexRoute extends React.Component {
{` `}
<TechWithIcon icon={WebpackIcon}>Webpack</TechWithIcon>,
{` `}
modern JavaScript and CSS and more — all set up and waiting
for you to start building.
modern JavaScript and CSS and more — all set up and
waiting for you to start building.
</FuturaParagraph>
</Card>
<Card>
Expand Down

0 comments on commit 8cd5742

Please sign in to comment.