Skip to content

Commit

Permalink
[feat] favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
suu3 committed Mar 12, 2024
1 parent 1866b28 commit 8e6d996
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = {
},
},
{
resolve: `gatsby-plugin-manifest`,
resolve: `gatsby-plugin-manifest`, //https://www.gatsbyjs.com/plugins/gatsby-plugin-manifest/
options: {
name: `Suu3 Blog`,
short_name: `Suu3 Blog`,
Expand All @@ -124,7 +124,39 @@ module.exports = {
// https://css-tricks.com/meta-theme-color-and-trickery/
theme_color: `#ff6737`,
display: `minimal-ui`,
icon: `src/static/images/icon.png`, // This path is relative to the root of the site.
icon: `static/images/icon.png`, // This path is relative to the root of the site.
icons: [
{
src: `static/favicons/favicon-48x48.png`,
sizes: `48x48`,
type: `image/png`,
},
{
src: `static/favicons/favicon-72x72.png`,
sizes: `72x72`,
type: `image/png`,
},
{
src: `static/favicons/favicon-96x96.png`,
sizes: `96x96`,
type: `image/png`,
},
{
src: `static/favicons/favicon-144x144.png`,
sizes: `144x144`,
type: `image/png`,
},
{
src: `static/favicons/favicon-192x192.png`,
sizes: `192x192`,
type: `image/png`,
},
{
src: `static/favicons/favicon-512x512.png`,
sizes: `512x512`,
type: `image/png`,
},
],
},
},
{
Expand Down
Binary file added static/favicons/favicon-144x144.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 added static/favicons/favicon-192x192.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 added static/favicons/favicon-48x48.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 added static/favicons/favicon-512x512.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 added static/favicons/favicon-72x72.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 added static/favicons/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8e6d996

Please sign in to comment.