Skip to content

Commit

Permalink
Merge pull request #185 from pyth-network/frontend/unvested-modal
Browse files Browse the repository at this point in the history
update unvested modal flow
  • Loading branch information
guibescos authored Jun 7, 2022
2 parents fdd5b09 + acd15a3 commit e7c99a6
Show file tree
Hide file tree
Showing 6 changed files with 342 additions and 252 deletions.
2 changes: 1 addition & 1 deletion frontend/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Header = () => {
<img src="/pyth-logo-white.svg" className="h-30 mr-3" />
</Link>
</div>
<div className="hidden space-x-20 md:flex">
<div className="hidden space-x-10 md:flex">
<Link href="/staking">
<a
className={
Expand Down
20 changes: 20 additions & 0 deletions frontend/components/icons/CloseIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const CloseIcon = () => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-8 w-8 text-scampi hover:text-white"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
strokeWidth={2}
>
<path
strokeLinecap="round"
strokeLinejoin="round"
d="M6 18L18 6M6 6l12 12"
/>
</svg>
)
}

export default CloseIcon
14 changes: 7 additions & 7 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"react-dom": "^17.0.2",
"react-hot-toast": "^2.2.0",
"serve": "13.0.2",
"pyth-staking-api": "1.2.8"
"pyth-staking-api": "1.2.14"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.2",
Expand Down
Loading

0 comments on commit e7c99a6

Please sign in to comment.