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 {
name: string
content: string
}
interface SEOMetaPropertyInterface {
property: string
content: string
}
export interface SEOInterface {
title: string
description?: string
lang?: string
meta?: Array<SEOMetaNameInterface | SEOMetaPropertyInterface>
title: string
meta?: Array<
| {
property: string
content: string
}
| {
name: string
content: string
}
>
}
export interface SEODataInterface {

View File

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