Skip to content

Commit 08d96bd

Browse files
fix build errors 1
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent 1212043 commit 08d96bd

6 files changed

Lines changed: 8 additions & 13 deletions

File tree

src/collections/handbook/about/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: "Learn about Layer5's mission, goals, and how to get started contri
44
type: Handbook
55
---
66

7-
import { HandbookWrapper } from "../../../sections/Community/Handbook/Handbook.style.js";
87
import { Container, Row, Col } from "../../../reusecore/Layout";
98
import NewcomersMap from "../../../sections/Community/Newcomers-guide/newcomers-map";
109
import IntraPage from "../../../components/handbook-navigation/intra-page";

src/collections/handbook/code-of-conduct/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ description: "Layer5 follows the CNCF Code of Conduct to ensure a welcoming and
44
type: Handbook
55
---
66

7-
import { HandbookWrapper } from "../../../sections/Community/Handbook/Handbook.style.js";
8-
import { Container } from "../../../reusecore/Layout";
97
import Point from "../community/bullet.svg";
108

119
<h2 className="heading-top">Community Code of Conduct</h2>

src/collections/handbook/community/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ description: "Community guidelines and resources for the Layer5 open source comm
44
type: Handbook
55
---
66

7-
import { HandbookWrapper } from "../../../sections/Community/Handbook/Handbook.style.js";
8-
import { Container } from "../../../reusecore/Layout";
97
import { Link } from "gatsby";
108
import Point from "./bullet.svg";
119
import IntraPage from "../../../components/handbook-navigation/intra-page";

src/collections/handbook/connect-with-us/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type: Handbook
55
---
66

77
import { Container } from "../../../reusecore/Layout";
8-
import { ReactComponent as TwitterIcon } from "../../../assets/images/socialIcons/twitter.svg";
8+
import twitter_icon from "../../../assets/images/socialIcons/twitter.svg";
99
import mail_icon from "../../../assets/images/socialIcons/mail_keppel.svg";
1010
import youtube_icon from "../../../assets/images/socialIcons/youtube-light.svg";
1111
import github_icon from "../../../assets/images/socialIcons/github-light.svg";
@@ -88,7 +88,7 @@ Layer5 is dedicated to empowering engineers and supporting the open source commu
8888

8989
<div>
9090
<p className="channels-para">
91-
<TwitterIcon className="twitter" />
91+
<img className="channels-img" src={twitter_icon} alt="twitter" />
9292
&nbsp;&nbsp;
9393
<a href="https://x.com/layer5">@layer5</a>,&nbsp;
9494
<a href="https://x.com/mesheryio">@mesheryio</a>

src/sections/Community/Handbook/handbook-single/HandbookPagination.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import React from "react";
22
import { Link } from "gatsby";
3-
import { PaginationWrapper } from "../../../../components/handbook-navigation/TocPagination.style";
3+
import TocPaginationWrapper from "../../../../components/handbook-navigation/TocPagination.style";
44

55
const HandbookPagination = ({ pages, currentSlug }) => {
66
const currentIndex = pages.findIndex(page => page.fields.slug === currentSlug);
77
const prevPage = currentIndex > 0 ? pages[currentIndex - 1] : null;
88
const nextPage = currentIndex < pages.length - 1 ? pages[currentIndex + 1] : null;
99

1010
return (
11-
<PaginationWrapper>
11+
<TocPaginationWrapper>
1212
{prevPage && (
1313
<Link to={prevPage.fields.slug} className="prev">
1414
{prevPage.frontmatter.title}
@@ -19,7 +19,7 @@ const HandbookPagination = ({ pages, currentSlug }) => {
1919
{nextPage.frontmatter.title}
2020
</Link>
2121
)}
22-
</PaginationWrapper>
22+
</TocPaginationWrapper>
2323
);
2424
};
2525

src/sections/Community/Handbook/handbook-single/HandbookTOC.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React from "react";
22
import { Link } from "gatsby";
3-
import { TocWrapper } from "../../../../components/handbook-navigation/toc.style";
3+
import TOCWrapper from "../../../../components/handbook-navigation/toc.style";
44

55
const HandbookTOC = ({ pages, currentSlug }) => {
66
return (
7-
<TocWrapper>
7+
<TOCWrapper>
88
<div className="toc-list go-top">
99
<h3>Community Handbook</h3>
1010
<ul>
@@ -17,7 +17,7 @@ const HandbookTOC = ({ pages, currentSlug }) => {
1717
))}
1818
</ul>
1919
</div>
20-
</TocWrapper>
20+
</TOCWrapper>
2121
);
2222
};
2323

0 commit comments

Comments
 (0)