Skip to content

Commit

Permalink
docs: update travis-ci url (badge)
Browse files Browse the repository at this point in the history
refactor: remove deadcode + small things
  • Loading branch information
maxpou committed Oct 1, 2020
1 parent 910e2bb commit de5cb43
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/maxpou/gatsby-starter-morning-dew.svg?branch=master)](https://travis-ci.org/maxpou/gatsby-starter-morning-dew) [![Netlify Status](https://api.netlify.com/api/v1/badges/d68027bd-19b5-44fd-a2a3-d1f05fc8201e/deploy-status)](https://app.netlify.com/sites/gatsby-starter-morning-dew/deploys) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![Maintainability](https://api.codeclimate.com/v1/badges/e09f1ac1a5cdb2987a6f/maintainability)](https://codeclimate.com/github/maxpou/gatsby-starter-morning-dew/maintainability) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Build Status](https://travis-ci.com/maxpou/gatsby-starter-morning-dew.svg?branch=master)](https://travis-ci.com/maxpou/gatsby-starter-morning-dew) [![Netlify Status](https://api.netlify.com/api/v1/badges/d68027bd-19b5-44fd-a2a3-d1f05fc8201e/deploy-status)](https://app.netlify.com/sites/gatsby-starter-morning-dew/deploys) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![Maintainability](https://api.codeclimate.com/v1/badges/e09f1ac1a5cdb2987a6f/maintainability)](https://codeclimate.com/github/maxpou/gatsby-starter-morning-dew/maintainability) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)


# gatsby-starter-morning-dew
Expand Down
2 changes: 1 addition & 1 deletion src/components/DarkToggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const DarkToggle = ({ isExpanded = false }) => {
aria-label={`Activate ${oppositeColor} mode`}
>
{colorMode === 'dark' ? (
<img src={SunIcon} alt={'sun logo'} />
<img src={SunIcon} alt="sun logo" />
) : (
<img src={MoonIcon} alt="moon Logo" />
)}
Expand Down
6 changes: 0 additions & 6 deletions src/templates/blog-post-share-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import styled from 'styled-components'
import { createGlobalStyle } from 'styled-components'
import useSiteMetadata from '../hooks/use-site-config'
import useSiteImages from '../hooks/use-site-images'
import colors from '../tokens/colors'

const GlobalPageStyle = createGlobalStyle`
* {
Expand All @@ -18,11 +17,6 @@ const GlobalPageStyle = createGlobalStyle`
}
`

// styled.div.attrs({ color: p => p.color });
styled.div.attrs(p => ({
color: p.color,
}))

const Wrapper = styled.div`
width: ${props => props.width || 440}px;
height: ${props => props.height || 220}px;
Expand Down

0 comments on commit de5cb43

Please sign in to comment.