Skip to content

Commit 80173aa

Browse files
Update guidance.js
Signed-off-by: NISHANT SINGH <[email protected]>
1 parent 07dada4 commit 80173aa

1 file changed

Lines changed: 3 additions & 34 deletions

File tree

src/sections/Projects/Sistent/components/link/guidance.js

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Button, SistentThemeProvider, Link, ExternalLinkIcon} from "@layer5/sis
66
import { SistentLayout } from "../../sistent-layout";
77

88
import TabButton from "../../../../../reusecore/Button";
9+
import StyledButton from "../../../../../reusecore/Button";
910
import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode";
1011

1112
export const LinkGuidancePage = () => {
@@ -88,22 +89,9 @@ export const LinkGuidancePage = () => {
8889
</p>
8990
<Row $Hcenter className="image-container">
9091
<SistentThemeProvider initialMode={isDark ? "dark" : "light"}>
91-
<Link
92-
href="https://layer5.io/projects/sistent/components/link/guidance"
93-
style={{
94-
display: "inline-block",
95-
marginLeft: "10px",
96-
textDecoration: "none",
97-
color: "black",
98-
backgroundColor: "yellow",
99-
padding: "10px 20px",
100-
borderRadius: "4px",
101-
fontWeight: "bold",
102-
border: "2px solid black",
103-
}}
104-
>
92+
<StyledButton $primary $url="" className="button" $external={false}>
10593
Get Started
106-
</Link>
94+
</StyledButton>
10795
</SistentThemeProvider>
10896
</Row>
10997
<h3>External Links</h3>
@@ -129,25 +117,6 @@ export const LinkGuidancePage = () => {
129117
</Link>
130118
</SistentThemeProvider>
131119
</Row>
132-
<h3>Download Links</h3>
133-
<p>
134-
These links allow users to download files, documents, or resources. It’s essential to provide information about the file type and size to prepare users for what they’re downloading. You just have to pass Download as prop in link component.
135-
</p>
136-
<Row $Hcenter className="image-container">
137-
<SistentThemeProvider initialMode={isDark ? "dark" : "light"}>
138-
<Button
139-
href="https://layer5.io/projects/sistent/components/link/guidance"
140-
download
141-
style={{
142-
marginLeft: "10px",
143-
padding: "10px 20px",
144-
textDecoration: "none",
145-
}}
146-
>
147-
Download File
148-
</Button>
149-
</SistentThemeProvider>
150-
</Row>
151120
<a id="Labeling">
152121
<h2>Labeling</h2>
153122
</a>

0 commit comments

Comments
 (0)