mirror of
https://github.com/sergeyyarkov/devthread.ru.git
synced 2026-10-11 10:19:13 +03:00
fixed remark images
This commit is contained in:
parent
4d2db20caf
commit
f17c1253a5
@ -174,8 +174,8 @@ module.exports = {
|
|||||||
showSpinner: false,
|
showSpinner: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"gatsby-plugin-sharp",
|
|
||||||
"gatsby-transformer-sharp",
|
"gatsby-transformer-sharp",
|
||||||
|
"gatsby-plugin-sharp",
|
||||||
{
|
{
|
||||||
resolve: `gatsby-transformer-remark`,
|
resolve: `gatsby-transformer-remark`,
|
||||||
options: {
|
options: {
|
||||||
@ -189,11 +189,11 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
resolve: `gatsby-remark-images`,
|
resolve: `gatsby-remark-images`,
|
||||||
options: {
|
options: {
|
||||||
maxWidth: 2400,
|
maxWidth: 900,
|
||||||
quality: 100,
|
quality: 85,
|
||||||
withWebp: true,
|
withWebp: true,
|
||||||
loading: "lazy",
|
loading: "lazy",
|
||||||
linkImagesToOriginal: false,
|
linkImagesToOriginal: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
`gatsby-remark-responsive-iframe`,
|
`gatsby-remark-responsive-iframe`,
|
||||||
@ -215,10 +215,6 @@ module.exports = {
|
|||||||
elements: [`h1`, `h2`, `h3`, `h4`],
|
elements: [`h1`, `h2`, `h3`, `h4`],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
resolve: `gatsby-transformer-remark`,
|
|
||||||
options: {
|
|
||||||
plugins: [
|
|
||||||
{
|
{
|
||||||
resolve: `gatsby-remark-prismjs`,
|
resolve: `gatsby-remark-prismjs`,
|
||||||
options: {
|
options: {
|
||||||
@ -252,9 +248,6 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"gatsby-plugin-netlify-cms",
|
"gatsby-plugin-netlify-cms",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,7 +5,7 @@ const Newsletter = () => {
|
|||||||
<div className="newsletter">
|
<div className="newsletter">
|
||||||
<div className="newsletter-heading">Новостная рассылка</div>
|
<div className="newsletter-heading">Новостная рассылка</div>
|
||||||
<div className="newsletter-content">
|
<div className="newsletter-content">
|
||||||
<form action="#">
|
<form action="#" target='Новостная рассылка'>
|
||||||
<p>
|
<p>
|
||||||
<span role="img" aria-label="hot">
|
<span role="img" aria-label="hot">
|
||||||
🔥
|
🔥
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user