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:
parent
8e386d0020
commit
32ef4b1327
23
src/@types/components/seo.d.ts
vendored
23
src/@types/components/seo.d.ts
vendored
@ -1,18 +1,17 @@
|
|||||||
interface SEOMetaNameInterface {
|
|
||||||
name: string
|
|
||||||
content: string
|
|
||||||
}
|
|
||||||
|
|
||||||
interface SEOMetaPropertyInterface {
|
|
||||||
property: string
|
|
||||||
content: string
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SEOInterface {
|
export interface SEOInterface {
|
||||||
|
title: string
|
||||||
description?: string
|
description?: string
|
||||||
lang?: string
|
lang?: string
|
||||||
meta?: Array<SEOMetaNameInterface | SEOMetaPropertyInterface>
|
meta?: Array<
|
||||||
title: string
|
| {
|
||||||
|
property: string
|
||||||
|
content: string
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
name: string
|
||||||
|
content: string
|
||||||
|
}
|
||||||
|
>
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SEODataInterface {
|
export interface SEODataInterface {
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user