1
0
mirror of https://github.com/alrayyes/my-opinionated-gatsby-starter synced 2023-11-14 15:56:29 +00:00

converted image to webp_tracedSVG

This commit is contained in:
Ryan Kes 2020-06-23 17:13:58 +02:00
parent 8e386d0020
commit 32ef4b1327
2 changed files with 12 additions and 13 deletions

View File

@ -1,18 +1,17 @@
interface SEOMetaNameInterface { export interface SEOInterface {
name: string title: string
content: string description?: string
} lang?: string
meta?: Array<
interface SEOMetaPropertyInterface { | {
property: string property: string
content: string content: string
} }
| {
export interface SEOInterface { name: string
description?: string content: string
lang?: string }
meta?: Array<SEOMetaNameInterface | SEOMetaPropertyInterface> >
title: string
} }
export interface SEODataInterface { export interface SEODataInterface {

View File

@ -20,7 +20,7 @@ const Image: React.FC = () => {
placeholderImage: file(relativePath: { eq: "gatsby-astronaut.png" }) { placeholderImage: file(relativePath: { eq: "gatsby-astronaut.png" }) {
childImageSharp { childImageSharp {
fluid(maxWidth: 300) { fluid(maxWidth: 300) {
...GatsbyImageSharpFluid ...GatsbyImageSharpFluid_withWebp_tracedSVG
} }
} }
} }