Skip to content

Commit

Permalink
Update code.js
Browse files Browse the repository at this point in the history
Signed-off-by: NISHANT SINGH <[email protected]>
  • Loading branch information
NishantSinghhhhh authored Oct 22, 2024
1 parent cc645d8 commit 34692ae
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions src/sections/Projects/Sistent/components/link/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,13 @@ const codes = [
fontSize: "16px",
padding: "6px",
marginLeft: "10px",
borderBottom: "2px dashed green",
borderBottom: "2px dashed blue",
}}
>
Customized Link
</Link>
</SistentThemeProvider>`,

` <SistentThemeProvider initialMode={isDark ? "dark" : "light"}>
<Link
href="/path-to-file.zip"
download="file.zip"
style={{
fontWeight: "bold",
fontSize: "16px",
padding: "6px",
marginLeft: "10px",
}}
>
Download File
</Link>
</SistentThemeProvider>`,

` <SistentThemeProvider initialMode={isDark ? "dark" : "light"}>
<Link
href="https://your-link.com"
Expand Down Expand Up @@ -268,7 +252,7 @@ export const LinkCode = () => {
</Link>
</SistentThemeProvider>
</div>
<CodeBlock name="secure_links" code={codes[5]} />
<CodeBlock name="secure_links" code={codes[4]} />
</div>
</div>
</div>
Expand Down

0 comments on commit 34692ae

Please sign in to comment.