Skip to content

Commit acaa760

Browse files
committed
fixing CI check fails
Signed-off-by: yash37158 <yash37158@gmail.com>
1 parent 1cddd7a commit acaa760

5 files changed

Lines changed: 13 additions & 24 deletions

File tree

src/components/SistentNavigation/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import React, { useState } from "react";
22
import { HiOutlineChevronLeft } from "@react-icons/all-files/hi/HiOutlineChevronLeft";
33
import { Link } from "gatsby";
4-
import { IoMdClose } from "@react-icons/all-files/io/IoMdClose";
5-
import { IoIosArrowDropdownCircle } from "@react-icons/all-files/io/IoIosArrowDropdownCircle";
64
import { IoIosArrowForward } from "@react-icons/all-files/io/IoIosArrowForward";
75
import { componentsData } from "../../sections/Projects/Sistent/components/content";
86

97
import TOCWrapper from "./toc.style";
108
import { IoIosArrowDown } from "@react-icons/all-files/io/IoIosArrowDown";
11-
import { IoIosArrowUp } from "@react-icons/all-files/io/IoIosArrowUp";
129

1310
import { useLocation } from "@reach/router";
1411

src/sections/Kanvas/Kanvas-visualize/kanvas-visualize-features.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,17 @@ const KanvasisualizerFeatures = () => {
164164
</div>
165165
</Col>
166166
<Col $sm={12} $md={6} $lg={4}>
167-
<a href="https://docs.layer5.io/kanvas/operator/" style={{ textDecoration: 'none', color: 'inherit', display: 'block' }}>
168-
<div className={(isHovered && hoveredFeature != "Feature3") ? "project__block__inner darken" : "project__block__inner"} onMouseOver={() => handleMouseOver(3)} onMouseOut={handleMouseOut}>
169-
<div className="feature-image">
170-
<img src={InteractiveTerminal} alt="Interactive Terminal" style={{ position: "absolute", width: "80%", zIndex: "0" }} />
171-
<img src={InteractiveTerminalCode} alt="" className={hoveredFeature == "Feature3" ? "secondary-image-visible" : "secondary-image"} style={{ position: "relative", width: "80%", zIndex: "10" }} />
167+
<a href="https://docs.layer5.io/kanvas/operator/" style={{ textDecoration: "none", color: "inherit", display: "block" }}>
168+
<div className={(isHovered && hoveredFeature != "Feature3") ? "project__block__inner darken" : "project__block__inner"} onMouseOver={() => handleMouseOver(3)} onMouseOut={handleMouseOut}>
169+
<div className="feature-image">
170+
<img src={InteractiveTerminal} alt="Interactive Terminal" style={{ position: "absolute", width: "80%", zIndex: "0" }} />
171+
<img src={InteractiveTerminalCode} alt="" className={hoveredFeature == "Feature3" ? "secondary-image-visible" : "secondary-image"} style={{ position: "relative", width: "80%", zIndex: "10" }} />
172+
</div>
173+
<h3>Interactive Terminal</h3>
174+
<p>Establish sessions with one or more pods at a time.</p>
175+
<DocsIcon style={{ position: "absolute", top: "16px", right: "16px", color: "#00D3A9" }} className="docs" />
172176
</div>
173-
<h3>Interactive Terminal</h3>
174-
<p>Establish sessions with one or more pods at a time.</p>
175-
<DocsIcon style={{ position: 'absolute', top: '16px', right: '16px', color: '#00D3A9' }} className="docs" />
176-
</div>
177-
</a>
177+
</a>
178178
</Col>
179179
<Col $sm={12} $md={6} $lg={4}>
180180
<div className={(isHovered && hoveredFeature != "Feature4") ? "project__block__inner darken" : "project__block__inner"} onMouseOver={() => handleMouseOver(4)} onMouseOut={handleMouseOut}>
@@ -191,7 +191,7 @@ const KanvasisualizerFeatures = () => {
191191
<div className="feature-image">
192192
<img src={isDark ? ServicePerformanceGearDark : ServicePerformanceGearLight} alt="Service Performance" style={{ position: "absolute", zIndex: "0" }} />
193193
<ServicePerformanceMeter alt="" className={hoveredFeature == "Feature5" ? "meter-visible" : "secondary-image"}
194-
style={{ height: "auto", width: "70%",position: "relative", zIndex: "10", transformOrigin: "center center" }}
194+
style={{ height: "auto", width: "70%", position: "relative", zIndex: "10", transformOrigin: "center center" }}
195195
/>
196196
</div>
197197
<h3>Service Performance</h3>

src/sections/Meshery/Meshery-mange-mesh/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import React from "react";
2-
import { Col, Container, Row } from "../../../reusecore/Layout";
2+
import { Container } from "../../../reusecore/Layout";
33
import styled from "styled-components";
4-
import Button from "../../../reusecore/Button";
5-
import { GiClockwork } from "@react-icons/all-files/gi/GiClockwork";
6-
import { StaticImage } from "gatsby-plugin-image";
74
import KanvasVisualizerViews from "../../Home/Playground-home";
8-
const MultiMesh = "./multi-mesh.svg";
95

106
const ManageMeshWrapper = styled.div`
117
margin: 4rem auto;

src/sections/Projects/Sistent/components/text-input/code.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState } from "react";
1+
import React from "react";
22
import { navigate } from "gatsby";
33
import { useLocation } from "@reach/router";
44

@@ -58,7 +58,6 @@ const codes = [
5858
const TextInputCode = () => {
5959
const location = useLocation();
6060
const { isDark } = useStyledDarkMode();
61-
const [inputValue, setInputValue] = useState("");
6261

6362
return (
6463
<SistentLayout title="Text Input">

src/sections/Projects/Sistent/identity/color/code.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@ const componentColors = [
404404

405405
const CopyColor = ({ hex , token }) => {
406406
const [copyText, setCopyText] = useState("Copy");
407-
const [showCopy, setShowCopy] = useState(false);
408407

409408
const handleCopy = async () => {
410409
await copyToClipboard(hex || token);
@@ -433,8 +432,6 @@ const CopyColor = ({ hex , token }) => {
433432
theme.palette.action?.hover || "rgba(0, 0, 0, 0.04)",
434433
},
435434
}}
436-
onMouseEnter={() => setShowCopy(true)}
437-
onMouseLeave={() => setShowCopy(false)}
438435
onClick={handleCopy}
439436
>
440437
<span>{hex || token }</span>

0 commit comments

Comments
 (0)