Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/drop heliumvsr support #2185

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
185 changes: 0 additions & 185 deletions HeliumVotePlugin/components/ClaimUnreleasedPositions.tsx

This file was deleted.

108 changes: 0 additions & 108 deletions HeliumVotePlugin/components/DelegateTokensModal.tsx

This file was deleted.

33 changes: 33 additions & 0 deletions HeliumVotePlugin/components/HeliumOverlay.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import Button from '@components/Button'
import Link from 'next/link'
import React from 'react'

export const HeliumOverlay = ({ symbol }: { symbol: string }) => {
if (!symbol || !['hnt', 'iot', 'mobile'].includes(symbol.toLowerCase())) {
return null
}

return (
<div className="flex flex-col h-full w-full justify-center items-center backdrop-blur-lg fixed inset-0 z-50 overflow-none">
<div className="flex flex-col p-6 rounded-md gap-8 max-w-xl bg-black/40">
<div className="flex flex-col flex-1">
<h1>Helium Vote Has Moved</h1>
<p className="text-lg">Important Update for the Helium Community</p>
</div>
<p className="max-w-md">
The Helium Vote platform, where our community comes together to shape
the future of the Network through decision-making, has transitioned to
a new domain.
</p>
<p className="max-w-md">
This move allows us to dedicate more resources and focus to enhance
your voting experience, ensuring that every voice is heard more
clearly and efficiently.
</p>
<Link href="https://heliumvote.com/">
<Button>Join Us at the New Helium Vote</Button>
</Link>
</div>
</div>
)
}
38 changes: 0 additions & 38 deletions HeliumVotePlugin/components/LockCommunityTokensBtn.tsx

This file was deleted.