From b8b9b4fc9faac4228c6568f480f5475d8cc7e333 Mon Sep 17 00:00:00 2001 From: Juana Date: Tue, 13 May 2025 11:28:31 -0300 Subject: [PATCH 1/2] Se agregan las dependencias de React-Helmet y se agregan hreflang en ambos lenguajes --- gatsby-config.js | 2 ++ package.json | 1 + src/components/Seo/Seo.js | 11 ++++++++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 54088b4..b18beb0 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -165,5 +165,7 @@ module.exports = { }, "gatsby-plugin-offline", `gatsby-plugin-sass`, + "gatsby-plugin-webpack-bundle-analyser-v2", + "gatsby-plugin-react-helmet" ], } diff --git a/package.json b/package.json index c93d895..00b38ad 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "gatsby-plugin-image": "^2.6.0", "gatsby-plugin-manifest": "^4.6.0", "gatsby-plugin-offline": "^5.6.0", + "gatsby-plugin-react-helmet": "^2.0.12-5", "gatsby-plugin-purgecss": "^6.2.1", "gatsby-plugin-robots-txt": "1.7.1", "gatsby-plugin-sass": "^5.6.0", diff --git a/src/components/Seo/Seo.js b/src/components/Seo/Seo.js index 4f8c790..e7f7241 100644 --- a/src/components/Seo/Seo.js +++ b/src/components/Seo/Seo.js @@ -76,7 +76,16 @@ function Seo({ description, lang, meta, title, keywords }) { content: metaDescription, }, ].concat(meta)} - // link={[]} + link={[{ + rel: "alternate", + hrefLang: 'es', + href:'https://es.bitlogic.io', + }, + { + rel: "alternate", + hrefLang: 'en', + href:'https://en.bitlogic.io', + }]} /> ) } From 7be32b3019622dae8272ea4df3b92d52531b0e4e Mon Sep 17 00:00:00 2001 From: Juana Date: Fri, 23 May 2025 11:27:13 -0300 Subject: [PATCH 2/2] Se agrega dependencia wekpack-bundle-analyser --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 00b38ad..9cffe52 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ "webpack-filter-warnings-plugin": "^1.2.1" }, "devDependencies": { + "gatsby-plugin-webpack-bundle-analyser-v2": "^1.1.32", "prettier": "2.2.1" }, "keywords": [