Skip to content

Commit

Permalink
Tweak copy button styles to match hero
Browse files Browse the repository at this point in the history
  • Loading branch information
Pabl0cks committed Sep 13, 2024
1 parent 67bea3f commit f5f9932
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/nextjs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,15 @@ const Home: NextPage = () => {
<div className="flex items-center justify-between border-2 border-gray-300 rounded-xl px-3 py-2 text-xs sm:text-sm">
<p className="m-0 mr-2">npx create-eth@latest -e gitHubUsername/repoName</p>
{extensionCommandCopied ? (
<CheckCircleIcon className="h-5 w-5 flex-shrink-0 cursor-pointer" aria-hidden="true" />
<CheckCircleIcon
className="text-xl font-normal h-6 w-4 flex-shrink-0 cursor-pointer"
aria-hidden="true"
/>
) : (
<DocumentDuplicateIcon className="h-5 w-5 flex-shrink-0 cursor-pointer" aria-hidden="true" />
<DocumentDuplicateIcon
className="text-xl font-normal h-6 w-4 flex-shrink-0 cursor-pointer"
aria-hidden="true"
/>
)}
</div>
</CopyToClipboard>
Expand Down

0 comments on commit f5f9932

Please sign in to comment.