File tree Expand file tree Collapse file tree 2 files changed +17
-12360
lines changed Expand file tree Collapse file tree 2 files changed +17
-12360
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const BlogDetail = ({ data }) => {
4343 "dateModified" : updated_at ,
4444 "mainEntityOfPage" : {
4545 "@type" : "WebPage" ,
46- "@id" : `https://en.bitlogic.io/blog/${ data ?. allStrapiArticle ?. nodes [ 0 ] ?. slug } ` , // <-- EN
46+ "@id" : `https://en.bitlogic.io/blog/${ data ?. allStrapiArticle ?. nodes [ 0 ] ?. slug } ` ,
4747 } ,
4848 "publisher" : {
4949 "@type" : "Organization" ,
@@ -183,7 +183,7 @@ BlogDetail.propTypes = {
183183
184184export const query = graphql `
185185 query($slug: String!) {
186- allStrapiArticle: allStrapiEnglishArticle(filter: { slug: { eq: $slug } }) { # <-- alias mantiene el mismo nombre en props
186+ allStrapiArticle: allStrapiEnglishArticle(filter: { slug: { eq: $slug } }) {
187187 nodes {
188188 title
189189 description
@@ -198,8 +198,13 @@ export const query = graphql`
198198 descripcion
199199 totalMinutes
200200 tieneHowTo
201- tools { name }
202- steps { name text }
201+ tools {
202+ name
203+ }
204+ steps {
205+ name
206+ text
207+ }
203208 }
204209 }
205210 seo {
@@ -215,7 +220,10 @@ export const query = graphql`
215220 localFile {
216221 childImageSharp {
217222 gatsbyImageData
218- original { width height }
223+ original{
224+ width
225+ height
226+ }
219227 }
220228 }
221229 }
@@ -227,7 +235,10 @@ export const query = graphql`
227235 localFile {
228236 childImageSharp {
229237 gatsbyImageData
230- original { width height }
238+ original{
239+ width
240+ height
241+ }
231242 }
232243 }
233244 }
You can’t perform that action at this time.
0 commit comments