fix hero pill
This commit is contained in:
parent
4fbd6c3ff4
commit
b6ce119bb1
@ -36,25 +36,29 @@ function HeroPill() {
|
|||||||
animate={{ opacity: 1, y: 0 }}
|
animate={{ opacity: 1, y: 0 }}
|
||||||
transition={{ duration: 0.8, ease }}
|
transition={{ duration: 0.8, ease }}
|
||||||
>
|
>
|
||||||
<Button
|
<Link
|
||||||
variant={"outline"}
|
href={"/agents/explore"}
|
||||||
className="flex w-auto items-center space-x-2 rounded-full bg-primary/20 px-2 py-1 ring-1 ring-accent whitespace-pre"
|
className="flex w-auto items-center space-x-2 rounded-full bg-primary/20 px-2 py-1 ring-1 ring-accent whitespace-pre"
|
||||||
onClick={() => {
|
// variant={"outline"}
|
||||||
if (data && data.address) {
|
// onClick={() => {
|
||||||
navigator.clipboard.writeText(data.address);
|
// if (data && data.address) {
|
||||||
toast.info("Copied to clipboard!");
|
// navigator.clipboard.writeText(data.address);
|
||||||
}
|
// toast.info("Copied to clipboard!");
|
||||||
}}
|
// }
|
||||||
|
// }}
|
||||||
>
|
>
|
||||||
<div className="w-fit rounded-full bg-accent px-2 py-0.5 text-center text-xs font-medium text-primary sm:text-sm">
|
<div className="w-fit rounded-full bg-accent px-2 py-0.5 text-center text-xs font-medium text-primary sm:text-sm">
|
||||||
📣 Content Address :
|
📣 Announcement
|
||||||
</div>
|
</div>
|
||||||
{isLoading && (
|
<p className="text-xs font-medium text-primary sm:text-sm pr-2">
|
||||||
|
Introducing beactio.ai
|
||||||
|
</p>
|
||||||
|
{/* {isLoading && (
|
||||||
<div className="px-6 flex items-center">
|
<div className="px-6 flex items-center">
|
||||||
<Spinner />
|
<Spinner />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)} */}
|
||||||
{isError && (
|
{/* {isError && (
|
||||||
<p className="text-xs font-medium text-primary sm:text-sm">
|
<p className="text-xs font-medium text-primary sm:text-sm">
|
||||||
There is something wrong.
|
There is something wrong.
|
||||||
</p>
|
</p>
|
||||||
@ -63,8 +67,8 @@ function HeroPill() {
|
|||||||
<p className="text-xs font-medium text-primary sm:text-sm pr-1">
|
<p className="text-xs font-medium text-primary sm:text-sm pr-1">
|
||||||
{data?.address}
|
{data?.address}
|
||||||
</p>
|
</p>
|
||||||
)}
|
)} */}
|
||||||
</Button>
|
</Link>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user