Skip to content

Commit 06fe978

Browse files
fix build
Signed-off-by: saurabhraghuvanshii <saurabhsraghuvanshi@gmail.com>
1 parent 4c716f4 commit 06fe978

6 files changed

Lines changed: 24 additions & 16 deletions

File tree

package-lock.json

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@
7070
"gatsby-plugin-preload-fonts": "^4.11.0",
7171
"gatsby-plugin-purgecss": "^6.2.1",
7272
"gatsby-plugin-robots-txt": "^1.8.0",
73-
"gatsby-plugin-sharp": "^5.11.0",
73+
"gatsby-plugin-sharp": "^5.15.0",
7474
"gatsby-plugin-sitemap": "^6.11.0",
7575
"gatsby-plugin-styled-components": "^6.14.0",
7676
"gatsby-plugin-svgr": "^3.0.0-beta.0",
7777
"gatsby-redirect-from": "1.0.4",
7878
"gatsby-source-filesystem": "^5.14.0",
79-
"gatsby-transformer-sharp": "^5.11.0",
79+
"gatsby-transformer-sharp": "^5.15.0",
8080
"gbimage-bridge": "^0.2.2",
8181
"gray-matter": "^4.0.3",
8282
"gsap": "^3.12.2",

src/collections/blog/2021/2021-04-24-buf-protocols/index.mdx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ A tool to make Protobuf reliable and easy to use for service owners and clients,
3333
Our organization should not have to reinvent the wheel to create, maintain, and consume Protobuf APIs efficiently and effectively. It will handle our Protobuf management strategy for us, so we can focus on what matters.
3434

3535
<div className="fact">
36-
Learn more about Buf Protocol, visit{" "}
36+
Learn more about Buf Protocol, visit
3737
<a href="https://buf.build" rel="nofollow">
38-
Buf Protocol
39-
</a>{" "}
40-
or their documentation at{" "}
38+
{" "}
39+
Buf Protocol{" "}
40+
</a>
41+
or their documentation at
4142
<a href="https://docs.buf.build/" rel="nofollow">
42-
Buf Protocol Docs
43+
{" "}
44+
Buf Protocol Docs{" "}
4345
</a>
4446
</div>
4547

@@ -92,10 +94,10 @@ In consideration of the use of Buf, we would adopt it in phases, starting with t
9294
- For example, type change.
9395

9496
<div className="intro">
95-
If these topics excite you and you want to explore more{" "}
96-
<a href="/resources">cloud native technolgies</a>, come and say "Hi" on the
97-
community <a href="http://slack.layer5.io">Slack</a> and you are sure to be
98-
warmly welcomed. <span>😀</span>
97+
If these topics excite you and you want to explore more
98+
<a href="/resources"> cloud native technolgies </a>, come and say "Hi" on the community{" "}
99+
<a href="http://slack.layer5.io"> Slack </a> and you are sure to be warmly welcomed.{" "}
100+
<span>😀</span>
99101
</div>
100102

101103
</BufProtocol>

src/components/Inline-quotes/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState, useEffect } from "react";
2-
import styled, { css } from "styled-components";
2+
import styled from "styled-components";
33
import { useInView } from "react-intersection-observer";
44

55
const QuotesWrapper = styled.div`

src/sections/Community/Web-based-from/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ const validatePictureUrl = (value) => {
3232
if (!allowedImageExtensions.includes(extension)) {
3333
error = "URL must point to an image file (jpg, jpeg, png, svg, webp or gif).";
3434
}
35-
} catch (_) {
35+
} catch (error) {
36+
console.error("Error in validatePictureUrl:", error);
3637
error = "Please enter a URL to an image file.";
3738
}
3839
}

src/sections/Home/Banner/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const RotationalBanner = () => {
1010
let initialValue;
1111
try {
1212
initialValue = sessionStorage.getItem("banner") || 1;
13-
} catch (e) {
13+
} catch (error) {
14+
console.error("Error in sessionStorage.getItem('banner'):", error);
1415
initialValue = 1;
1516
}
1617

0 commit comments

Comments
 (0)