Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ module.exports = {
title: `Bitlogic`,
description: `Bitlogic Web es una empresa dedicada al diseño, ingeniería y desarrollo ágil de productos de software, especializada en la transformación digital de instituciones educativas .`,
author: `Bitlogic.io`,
// siteUrl: `https://www.bitlogic.io`,
siteUrl: `https://www.bitlogic.io`,
},
plugins: [
// `gatsby-plugin-sitemap`,
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-google-gtag`,
options: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"gatsby-plugin-react-helmet": "^4.12.0",
"gatsby-plugin-sass": "^4.12.0",
"gatsby-plugin-sharp": "^3.12.0",
"gatsby-plugin-sitemap": "^3.0.0",
"gatsby-remark-external-links": "^0.0.4",
"gatsby-source-filesystem": "^3.12.0",
"gatsby-source-strapi": "^1.0.2",
Expand Down
1 change: 0 additions & 1 deletion public/render-page.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Banners/BannerISO.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const BannerISO = ({ banner, title }) => {
></div>
</div>
<div className="bannerISO__image ">
<GatsbyImage image={getImage(logo.localFile)} alt={`img-${title}`} />
<GatsbyImage image={getImage(logo?.localFile)} alt={`img-${title}`} />
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Banners/BannerTop.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const BannerTop = ({ banner }) => {
const { image, imageDarkMode, title, summary } = banner
const { theme } = useTheme()

const imageBanner = getImage(image.localFile)
const imageDM = getImage(imageDarkMode.localFile)
const imageBanner = getImage(image?.localFile)
const imageDM = getImage(imageDarkMode?.localFile)

return (
<div className="banner">
Expand Down
2 changes: 1 addition & 1 deletion src/components/BitwayPage/Gallery/Gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Gallery = ({ content, ...extra }) => {
>
{fillGrid(elem.galleryImage, photos[elem.type]).map(
(image, index) => {
const prosImage = getImage(image.image.localFile)
const prosImage = getImage(image?.image?.localFile)
return (
<BgImage
className={"bitway-gallery-" + index + " bitway-gallery-item"}
Expand Down
2 changes: 1 addition & 1 deletion src/components/BlogPage/BlogArticle/BlogArticle.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const BlogArticle = ({ title, summary, image, slug, text }) => {
return (
<div className="article__container">
<GatsbyImage
image={getImage(image.localFile)}
image={getImage(image?.localFile)}
alt={title}
className="article__image"
/>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Cards/Cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const Cards = ({ tech }) => {
)
)

const icon = getImage(tech?.icon.localFile)
const iconDark = getImage(tech?.iconDarkMode.localFile)
const icon = getImage(tech?.icon?.localFile)
const iconDark = getImage(tech?.iconDarkMode?.localFile)

return (
<>
Expand Down
2 changes: 1 addition & 1 deletion src/components/SubModulesEdTech/SubModulesEdTech.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const SubModulesEdTech = ({ items, variant }) => {
const logoDark = getImage(logoDarkMode?.localFile)

// const logoSubmodule = logo && logoDarkMode (
// <GatsbyImage image={getImage(logo.localFile)} alt={`${title}-${id}`} />
// <GatsbyImage image={getImage(logo)} alt={`${title}-${id}`} />
// )

const classVariant = variant && `${variant}`
Expand Down
2 changes: 1 addition & 1 deletion src/templates/BlogItemDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const BlogDetail = ({ data }) => {
<div className="detail__box-author">
<div className="detail__box-author-image">
<GatsbyImage
image={getImage(author?.image.localFile)}
image={getImage(author?.image?.localFile)}
alt={author?.name}
/>
</div>
Expand Down
36 changes: 36 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,13 @@
dependencies:
regenerator-runtime "^0.13.4"

"@babel/runtime@^7.12.5":
version "7.16.7"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.7.tgz#03ff99f64106588c9c403c6ecb8c3bafbbdff1fa"
integrity sha512-9E9FJowqAsytyOY6LG+1KuueckRL+aQW+mKvXRXnuFGyRAyepJPmEo9vgMfXUA6O9u3IeEdv9MAkppFcaQwogQ==
dependencies:
regenerator-runtime "^0.13.4"

"@babel/runtime@^7.15.4":
version "7.15.4"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.4.tgz#fd17d16bfdf878e6dd02d19753a39fa8a8d9c84a"
Expand Down Expand Up @@ -6187,6 +6194,17 @@ gatsby-plugin-sharp@^3.12.0:
svgo "1.3.2"
uuid "3.4.0"

gatsby-plugin-sitemap@^3.0.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-sitemap/-/gatsby-plugin-sitemap-3.3.0.tgz#c269e2f9032802b8984addde90488541a0a2e7b0"
integrity sha512-ChkAeyOIzmWOWmeaLexDRMSH6fmEG46jEi5N8xN85AsbCanz36HY7IZxsjlSdDsLOuoG3RofvStoCDjz8ECCOQ==
dependencies:
"@babel/runtime" "^7.12.5"
common-tags "^1.8.0"
minimatch "^3.0.4"
pify "^3.0.0"
sitemap "^1.13.0"

gatsby-plugin-typescript@^3.12.0:
version "3.12.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-typescript/-/gatsby-plugin-typescript-3.12.0.tgz#fad15b7a6d6495949f7b3fc528b57d6054d463eb"
Expand Down Expand Up @@ -12248,6 +12266,14 @@ sisteransi@^1.0.5:
resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==

sitemap@^1.13.0:
version "1.13.0"
resolved "https://registry.yarnpkg.com/sitemap/-/sitemap-1.13.0.tgz#569cbe2180202926a62a266cd3de09c9ceb43f83"
integrity sha1-Vpy+IYAgKSamKiZs094Jyc60P4M=
dependencies:
underscore "^1.7.0"
url-join "^1.1.0"

slash@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
Expand Down Expand Up @@ -13418,6 +13444,11 @@ underscore.string@^3.3.5:
sprintf-js "^1.0.3"
util-deprecate "^1.0.2"

underscore@^1.7.0:
version "1.13.2"
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.13.2.tgz#276cea1e8b9722a8dbed0100a407dda572125881"
integrity sha512-ekY1NhRzq0B08g4bGuX4wd2jZx5GnKz6mKSqFL4nqBlfyMGiG10gDFhDTMEfYmDL6Jy0FUIZp7wiRB+0BP7J2g==

unherit@^1.0.4:
version "1.1.3"
resolved "https://registry.yarnpkg.com/unherit/-/unherit-1.1.3.tgz#6c9b503f2b41b262330c80e91c8614abdaa69c22"
Expand Down Expand Up @@ -13710,6 +13741,11 @@ urix@^0.1.0:
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=

url-join@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/url-join/-/url-join-1.1.0.tgz#741c6c2f4596c4830d6718460920d0c92202dc78"
integrity sha1-dBxsL0WWxIMNZxhGCSDQySIC3Hg=

url-loader@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-4.1.1.tgz#28505e905cae158cf07c92ca622d7f237e70a4e2"
Expand Down