mirror of
https://github.com/sergeyyarkov/devthread.ru.git
synced 2026-10-11 02:09:04 +03:00
images quality fized
This commit is contained in:
parent
b1217a26d7
commit
7b19876c76
@ -40,10 +40,10 @@ const Article = ({
|
||||
<div className="article-info__time">
|
||||
<span>~ {time} мин</span>
|
||||
</div>
|
||||
<div className="article-info__views">
|
||||
{!amp ? <div className="article-info__views">
|
||||
<ViewsIcon />
|
||||
<ViewCounter id={pathname} />
|
||||
</div>
|
||||
</div> : null}
|
||||
</div>
|
||||
<div className="right-info">
|
||||
<div className="article-info__date">
|
||||
@ -103,6 +103,7 @@ const Article = ({
|
||||
: <img
|
||||
src={image.childImageSharp.fluid.src}
|
||||
height='350'
|
||||
alt={title}
|
||||
/>
|
||||
}
|
||||
</div>
|
||||
|
||||
@ -19,7 +19,7 @@ const ArticleCard = ({
|
||||
fluid={image.childImageSharp.fluid}
|
||||
alt={title}
|
||||
/>
|
||||
: <img src={image.childImageSharp.fluid.src} height='380' />
|
||||
: <img src={image.childImageSharp.fluid.src} height='380' alt={title} />
|
||||
}
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
@ -138,7 +138,7 @@ export const query = graphql`
|
||||
title
|
||||
image {
|
||||
childImageSharp {
|
||||
fluid {
|
||||
fluid(maxWidth: 500 quality: 90) {
|
||||
...GatsbyImageSharpFluid
|
||||
}
|
||||
}
|
||||
|
||||
@ -78,7 +78,7 @@ export const query = graphql`
|
||||
title
|
||||
image {
|
||||
childImageSharp {
|
||||
fluid(maxWidth: 960) {
|
||||
fluid(maxWidth: 500 quality: 90) {
|
||||
...GatsbyImageSharpFluid
|
||||
}
|
||||
}
|
||||
|
||||
@ -53,7 +53,7 @@ export const pageQuery = graphql`
|
||||
title
|
||||
image {
|
||||
childImageSharp {
|
||||
fluid(maxWidth: 1400) {
|
||||
fluid(maxWidth: 1400 quality: 100) {
|
||||
...GatsbyImageSharpFluid
|
||||
}
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@ export const pageQuery = graphql`
|
||||
title
|
||||
image {
|
||||
childImageSharp {
|
||||
fluid(maxWidth: 1400) {
|
||||
fluid(maxWidth: 880 quality: 100) {
|
||||
...GatsbyImageSharpFluid
|
||||
}
|
||||
}
|
||||
|
||||
@ -83,7 +83,7 @@ export const pageQuery = graphql`
|
||||
title
|
||||
image {
|
||||
childImageSharp {
|
||||
fluid(maxWidth: 1400) {
|
||||
fluid(maxWidth: 500 quality: 90) {
|
||||
...GatsbyImageSharpFluid
|
||||
}
|
||||
}
|
||||
|
||||
@ -80,7 +80,7 @@ export const pageQuery = graphql`
|
||||
title
|
||||
image {
|
||||
childImageSharp {
|
||||
fluid(maxWidth: 1400) {
|
||||
fluid(maxWidth: 500 quality: 90) {
|
||||
...GatsbyImageSharpFluid
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user