feat: remove octicons icon pack

This commit is contained in:
Aarnav Tale 2025-08-21 11:33:45 -04:00
parent 356abab90a
commit ff3bdc1898
No known key found for this signature in database
8 changed files with 44 additions and 114 deletions

View file

@ -21,7 +21,6 @@ export default function Code({ isCopyable, children, className }: CodeProps) {
{children}
{isCopyable && (
<button
type="button"
className="bottom-0 right-0 absolute"
onClick={async (event) => {
const text = Array.isArray(children) ? children.join('') : children;
@ -40,6 +39,7 @@ export default function Code({ isCopyable, children, className }: CodeProps) {
}
}, 1000);
}}
type="button"
>
<Check className="h-4.5 w-4.5 p-1 hidden data-copied:block" />
<Copy className="h-4.5 w-4.5 p-1 block data-copied:hidden" />