Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
copy button
Browse files
components/editor/main/snippet/javascript.tsx
CHANGED
@@ -90,7 +90,7 @@ export const JavascriptSnippet = ({
|
|
90 |
{generateJavascriptRequestFromEndpoint()}
|
91 |
</Highlight>
|
92 |
<div className="flex justify-end relative" onClick={handleCopy}>
|
93 |
-
<BiSolidCopy className="text-slate-500 cursor-pointer hover:text-slate-300 transition-all duration-75" />
|
94 |
<div
|
95 |
className={classNames(
|
96 |
"bg-indigo-500/60 text-slate-100 text-xs font-semibold absolute bottom-0 right-0 z-10 rounded-lg px-2 py-1 pointer-events-none -translate-y-full transition-all duration-200",
|
|
|
90 |
{generateJavascriptRequestFromEndpoint()}
|
91 |
</Highlight>
|
92 |
<div className="flex justify-end relative" onClick={handleCopy}>
|
93 |
+
<BiSolidCopy className="text-slate-400 dark:text-slate-500 cursor-pointer hover:text-slate-500 dark:hover:text-slate-300 transition-all duration-75" />
|
94 |
<div
|
95 |
className={classNames(
|
96 |
"bg-indigo-500/60 text-slate-100 text-xs font-semibold absolute bottom-0 right-0 z-10 rounded-lg px-2 py-1 pointer-events-none -translate-y-full transition-all duration-200",
|
components/editor/main/snippet/python.tsx
CHANGED
@@ -90,7 +90,7 @@ response = requests.${method.toLocaleLowerCase()}(
|
|
90 |
{generatePythonRequestFromEndpoint()}
|
91 |
</Highlight>
|
92 |
<div className="flex justify-end relative" onClick={handleCopy}>
|
93 |
-
<BiSolidCopy className="text-slate-500 cursor-pointer hover:text-slate-300 transition-all duration-75" />
|
94 |
<div
|
95 |
className={classNames(
|
96 |
"bg-indigo-500/60 text-slate-100 text-xs font-semibold absolute bottom-0 right-0 z-10 rounded-lg px-2 py-1 pointer-events-none -translate-y-full transition-all duration-200",
|
|
|
90 |
{generatePythonRequestFromEndpoint()}
|
91 |
</Highlight>
|
92 |
<div className="flex justify-end relative" onClick={handleCopy}>
|
93 |
+
<BiSolidCopy className="text-slate-400 dark:text-slate-500 cursor-pointer hover:text-slate-500 dark:hover:text-slate-300 transition-all duration-75" />
|
94 |
<div
|
95 |
className={classNames(
|
96 |
"bg-indigo-500/60 text-slate-100 text-xs font-semibold absolute bottom-0 right-0 z-10 rounded-lg px-2 py-1 pointer-events-none -translate-y-full transition-all duration-200",
|