updated image uri and format

web/dev
cat-milk 3 years ago
parent 336f139e1e
commit 97bf2cc07d

@ -1,9 +1,9 @@
/** @type {import('gatsby').GatsbyConfig} */ /** @type {import('gatsby').GatsbyConfig} */
module.exports = { module.exports = {
siteMetadata: { siteMetadata: {
title: ``, title: `Anime Girls Holding Programming Books`,
siteUrl: `https://www.yourdomain.tld`, siteUrl: `https://www.yourdomain.tld`,
pathPrefix: '/Anime-Girls-Holding-Programming-Books', pathPrefix: '/Anime-Girls-Holding-Programming-Books/',
}, },
plugins: [ plugins: [
'gatsby-plugin-postcss', 'gatsby-plugin-postcss',

@ -13,7 +13,7 @@
"serve": "gatsby serve", "serve": "gatsby serve",
"clean": "gatsby clean", "clean": "gatsby clean",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",
"deploy": "gatsby build --prefix-paths && gh-pages -d public" "deploy": "gatsby build --prefix-paths && gh-pages -d public --dest ../docs --branch web/prod"
}, },
"dependencies": { "dependencies": {
"@mdx-js/mdx": "^1.6.22", "@mdx-js/mdx": "^1.6.22",

@ -18,7 +18,7 @@ const useAnimeImages = (): AllImages => {
gatsbyImageData( gatsbyImageData(
width: 800 width: 800
placeholder: TRACED_SVG placeholder: TRACED_SVG
formats: [AUTO, JPG, PNG, AVIF] formats: [AUTO, PNG, AVIF]
) )
original { original {
src src

Loading…
Cancel
Save