+
+ {/* Second code (background) - shown when slider is on left */}
- {/* Second code (foreground) with clip-path */}
+ {/* First code (foreground) with clip-path - revealed when slider moves right */}
@@ -256,7 +343,7 @@ export const CodeCompare = ({
className="absolute top-0 bottom-0"
style={{
right: "50%",
- width: "80px",
+ width: "60px",
background:
"linear-gradient(to left, rgba(0, 102, 255, 0.15) 0%, transparent 100%)",
}}
diff --git a/snippets/overview-tables/cookbook-guides-table.mdx b/snippets/overview-tables/cookbook-guides-table.mdx
index bcafa882..decb9cf0 100644
--- a/snippets/overview-tables/cookbook-guides-table.mdx
+++ b/snippets/overview-tables/cookbook-guides-table.mdx
@@ -46,11 +46,41 @@
Transfer between light-token and SPL accounts |