Skip to content

Commit

Permalink
Update favicon (#84)
Browse files Browse the repository at this point in the history
* Don't bundle gatsby cli with this project

* Remove unused code

* Tweak the image cropping algorithm

* Remove commented out code hidden from linter

* Update the favicon
  • Loading branch information
lucaskjaero authored Jan 10, 2020
1 parent b4eeac1 commit 48654a1
Show file tree
Hide file tree
Showing 31 changed files with 3 additions and 353 deletions.
312 changes: 0 additions & 312 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
"eslint-plugin-mocha": "^6.2.2",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.10.0",
"gatsby-cli": "^2.8.22",
"json-loader": "^0.5.7",
"postcss": "^7.0.26",
"postcss-cli": "^5.0.1",
Expand Down
Binary file modified src/images/app-icons/apple-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/app-icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 0 additions & 29 deletions src/layouts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,32 +182,3 @@ Layout.propTypes = {
};

export default Layout;

// eslint-disable-next-line no-undef
/*
export const postQuery = graphql`
query LayoutQuery {
pages: allMarkdownRemark(
filter: { fileAbsolutePath: { regex: "//pages//" }, fields: { prefix: { regex: "/^\\d+$/" } } }
sort: { fields: [fields___prefix], order: ASC }
) {
edges {
node {
fields {
slug
prefix
}
frontmatter {
title
}
}
}
}
footnote: markdownRemark(fileAbsolutePath: { regex: "/footnote/" }) {
id
html
}
}
`;
*/
9 changes: 3 additions & 6 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ IndexPage.propTypes = {

export default IndexPage;

// eslint-disable-next-line no-undef
export const query = graphql`
query IndexQuery {
posts: allMarkdownRemark(
Expand Down Expand Up @@ -110,21 +109,19 @@ export const query = graphql`
}
}
bgDesktop: imageSharp(fluid: { originalName: { regex: "/lucas-background/" } }) {
resize(width: 1200, quality: 90, cropFocus: CENTER) {
resize(width: 1200, quality: 90, cropFocus: ATTENTION) {
src
}
}
bgTablet: imageSharp(fluid: { originalName: { regex: "/lucas-background/" } }) {
resize(width: 800, height: 600, quality: 90, cropFocus: CENTER) {
resize(width: 800, height: 600, quality: 90, cropFocus: ATTENTION) {
src
}
}
bgMobile: imageSharp(fluid: { originalName: { regex: "/lucas-background/" } }) {
resize(width: 600, height: 350, quality: 90, cropFocus: CENTER) {
resize(width: 600, height: 350, quality: 90, cropFocus: ATTENTION) {
src
}
}
}
`;

// hero-background
Loading

0 comments on commit 48654a1

Please sign in to comment.