Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add carbon components react, sass, themes and update gatsby dependancies #20

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Build assets
public/

# Logs
logs
*.log
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,3 @@ MIT
* `npm install`
* `gatsby develop`
* visit http://localhost:8000

## Credit
* Forked from https://github.com/rwieruch/gatsby-mdx-starter-project
Binary file removed assets/logo.png
Binary file not shown.
Binary file removed content/blog/graphql-book/images/banner.jpg
Binary file not shown.
27 changes: 0 additions & 27 deletions content/blog/graphql-book/index.md

This file was deleted.

Binary file removed content/blog/mdx-example/images/banner.jpg
Binary file not shown.
68 changes: 0 additions & 68 deletions content/blog/mdx-example/index.md

This file was deleted.

Binary file removed content/blog/react-book/images/banner.jpg
Binary file not shown.
19 changes: 0 additions & 19 deletions content/blog/react-book/index.md

This file was deleted.

7 changes: 7 additions & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* Implement Gatsby's Browser APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/browser-apis/
*/

// You can delete this file if you're not using it
72 changes: 21 additions & 51 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,65 +1,35 @@
module.exports = {
pathPrefix: '/',
siteMetadata: {
siteUrl: 'https://www.robinwieruch.de/',
author: 'Robin Wieruch',
title: 'Gatsby MDX Starter Project',
description: 'My Gatsby MDX Starter Project',
keywords: [
'Software Engineer',
'Web Developer',
'Consultant',
'Freelancer',
],
title: `Gatsby Carbon Starter`,
description: `Kick off your next, great Gatsby project with this Carbon starter. This barebones starter ships with the main Gatsby configuration files you might need as well as Carbon React`,
author: `FED@IBM`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: 'gatsby-source-filesystem',
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/content/blog`,
name: 'blog',
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sass`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-mdx`,
resolve: `gatsby-plugin-manifest`,
options: {
extensions: ['.mdx', '.md'],
gatsbyRemarkPlugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 1035,
sizeByPixelDensity: true,
},
},
{
resolve: `gatsby-remark-prismjs`,
options: {
classPrefix: 'language-',
inlineCodeMarker: null,
aliases: {},
},
},
],
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
},
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-styled-components',
'gatsby-plugin-catch-links',
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'A learning, teaching and writing software engineer',
short_name: 'RWieruch',
start_url: '/',
background_color: '#fff',
theme_color: '#525dce',
display: 'standalone',
icon: 'assets/logo.png',
},
},
'gatsby-plugin-offline',
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.app/offline
// 'gatsby-plugin-offline',
],
};
Loading