Skip to content

Commit

Permalink
Merge pull request #1074 from multiversx/ag/ask-ai
Browse files Browse the repository at this point in the history
Ag/ask ai
  • Loading branch information
andreigiura authored Feb 28, 2025
2 parents 39da04e + 80fd7f2 commit 63c0187
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/AskAiButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ const AskAiButton = () => {
</button> */}

<button
className="rounded-lg bg-black dark:bg-teal-400 px-2.5 py-1.5 text-sm font-semibold text-teal-300 dark:text-black shadow-sm hover:bg-neutral-800 dark:hover:bg-teal-500 outline-none border-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-teal-600 inline-flex items-center justify-center"
className="rounded-lg bg-black dark:bg-teal-400 px-2.5 py-1.5 text-sm font-semibold text-teal-300 dark:text-black shadow-sm hover:bg-neutral-800 dark:hover:bg-teal-500 outline-none border-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-teal-600 inline-flex items-center justify-center"
onClick={openModal}
style={{ position: "relative", marginRight: "auto" }}
>
<FontAwesomeIcon
icon={faRobot}
className="text-center text-primary text-sm dark:text-black text-teal-300"
width="16px"
height="16px"
/>
<span className="pl-2">Ask AI</span>
<div className="absolute -top-2 right-full lg:left-full lg:right-auto -mr-3 lg:-ml-5 lg:mr-0 h-5 px-1 bg-gradient-to-tr from-[#bc82f3] via-[#FFAC73] to-[#c686ff] rounded-lg justify-center items-center inline-flex pointer-events-none">
Expand Down

0 comments on commit 63c0187

Please sign in to comment.