Commit 13a9fa34 by Arjun Jhukal

updated the glassy effect

parent 127909bd
...@@ -411,6 +411,7 @@ ...@@ -411,6 +411,7 @@
border: 1px solid rgba(255, 255, 255, 0.3); border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease; transition: transform 0.3s ease;
overflow: hidden;
} }
.glass::before { .glass::before {
......
...@@ -22,7 +22,7 @@ export default function CopyToClipboard({ text }: CopyToClipboardProps) { ...@@ -22,7 +22,7 @@ export default function CopyToClipboard({ text }: CopyToClipboardProps) {
return ( return (
<p onClick={handleCopy} className="cursor-pointer text-primary"> <p onClick={handleCopy} className="cursor-pointer text-primary">
<Copy className={`transition-all cursor-pointer ${copied ? 'text-green-500' : 'text-primary'}`} /> <Copy size={16} className={`transition-all cursor-pointer ${copied ? 'text-green-500' : 'text-primary'}`} />
</p> </p>
); );
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment