Skip to content

Commit 3376ff0

Browse files
committed
fix(staking): update to latest icons & images
1 parent 853b777 commit 3376ff0

File tree

13 files changed

+93
-88
lines changed

13 files changed

+93
-88
lines changed
-23.5 KB
Loading

apps/staking/src/components/Guide/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ export const Guide = ({ title, description, steps, ...props }: Props) => {
6363
id={index.toString()}
6464
className="group flex cursor-pointer flex-row items-center gap-4 border border-neutral-600/50 px-6 py-4 transition focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400 selected:cursor-default selected:border-pythpurple-600 selected:bg-pythpurple-600/20 md:flex-1 md:px-4 md:py-2 lg:border-b lg:border-x-transparent lg:border-t-transparent lg:bg-black/40 lg:px-4 lg:py-6 lg:selected:border-neutral-600/50 lg:selected:border-b-transparent lg:selected:bg-black/40 xl:px-10 2xl:px-20"
6565
>
66-
<div className="relative isolate opacity-50 transition group-selected:opacity-100">
67-
<Icon className="size-10 flex-none fill-black/80" />
68-
<div className="absolute inset-0 rounded-full bg-pythpurple-600 mix-blend-overlay" />
69-
</div>
66+
<Icon className="size-10 flex-none opacity-50 transition group-selected:opacity-100" />
7067
<div className="flex flex-col justify-between">
7168
<div className="text-sm tracking-[0.5rem] opacity-50 md:tracking-wide">
7269
STEP {index + 1}

apps/staking/src/components/Header/help-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const HelpMenu = () => {
3737
return (
3838
<>
3939
<MenuTrigger>
40-
<Button className="group -mx-2 flex flex-row items-center gap-2 p-2 focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400">
40+
<Button className="group -mx-2 flex flex-row items-center gap-2 rounded-sm px-2 transition hover:bg-white/10 focus:outline-none focus-visible:ring-1 focus-visible:ring-pythpurple-400 pressed:bg-white/10 sm:-mx-4 sm:px-4">
4141
<QuestionMarkCircleIcon className="size-6 flex-none" />
4242
<span className="sr-only">Help</span>
4343
<ChevronDownIcon className="size-4 flex-none opacity-60 transition duration-300 group-data-[pressed]:-rotate-180" />

apps/staking/src/components/NoWalletHome/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import { Tabs, TabList, Tab, TabPanel } from "react-aria-components";
1616

1717
import governance from "./governance.png";
1818
import Info from "./info.svg";
19+
import ObtainRewards from "./obtain-rewards.svg";
1920
import ois from "./ois.png";
2021
import Safebox from "./safebox.svg";
21-
import SecurePyth from "./secure-pyth.svg";
2222
import SelectPublishers from "./select-publishers.svg";
2323
import TokenWarmup from "./token-warmup.svg";
2424
import { Button } from "../Button";
@@ -146,7 +146,7 @@ export const NoWalletHome = () => {
146146
{
147147
title: "Secure Pyth to Obtain Rewards",
148148
body: "The protocol programmatically distributes rewards to publishers who contributed high quality data, and then distributes remaining rewards to the stakers who supported these publishers. Rewards are generated every epoch—one week period.",
149-
icon: SecurePyth,
149+
icon: ObtainRewards,
150150
},
151151
]}
152152
/>
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 17 additions & 0 deletions
Loading
Lines changed: 27 additions & 27 deletions
Loading

0 commit comments

Comments
 (0)