feat: complete UI overhaul (liquid glass theme, i18n, FontAwesome)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { useState } from 'react';
|
||||
import { Check, Copy } from 'lucide-react';
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faCheck, faCopy } from "@fortawesome/free-solid-svg-icons";
|
||||
|
||||
interface CopyButtonProps {
|
||||
value: string;
|
||||
@@ -41,12 +42,12 @@ export function CopyButton({ value, label = 'Copy', className = '' }: CopyButton
|
||||
>
|
||||
{copied ? (
|
||||
<>
|
||||
<Check className="w-4 h-4 text-emerald-400" />
|
||||
<FontAwesomeIcon icon={faCheck} className="w-4 h-4 text-emerald-400" />
|
||||
<span>Copied!</span>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<Copy className="w-4 h-4" />
|
||||
<FontAwesomeIcon icon={faCopy} className="w-4 h-4" />
|
||||
<span>{label}</span>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user