StealThis .dev
Pages Hard

Web3 — Staking / Yield (APR · stake · claim)

A dark, glassy DeFi staking page for the fictional NOVA token on Lumen Chain: a gradient-bordered hero with big APR, TVL, and a pending-rewards counter that ticks up live in monospace; a stake/unstake card with MAX button, lock-period selector (Flexible to 1 year) driving an APR multiplier and projected-earnings calculator; a confirm-sign-success modal with risk warnings; a claim animation; and a selectable list of five other pools — all vanilla JS, UI-only simulation.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Staking / Yield (APR · stake · claim)

A full staking page for the fictional NOVA pool on Lumen Chain. The gradient-bordered hero card shows the headline APR with a neon gradient treatment, TVL, staker count, and the reward-token contract, next to a glassy “Your position” panel where pending rewards tick up in real time (tabular monospace digits) with a live USD equivalent and a Claim button that plays a sheen + fly-up animation and credits your wallet balance.

The stake/unstake card has Stake and Unstake tabs, a decimal-sanitized amount input with MAX and live USD value, and a lock-period selector (Flexible / 30d / 90d / 1y) whose multiplier (1.00×–2.20×) feeds a projection box: effective APR, daily earnings, projected total over the horizon, and the unlock date — with an amber lock-up warning when a fixed term is chosen. The primary button validates the amount (“Enter an amount” / “Insufficient balance”) and opens a confirm modal summarizing action, amount, lock, APR, unlock date, and network fee plus a risk notice, then steps through a broadcasting spinner to an animated success check with a fake tx hash and block number.

Below, an “All pools” list offers five more fictional pools (LUM, AURUM boosted, ZPHR, high-risk OBSIDIAN, and a disabled coming-soon HELIX); selecting one swaps the hero stats, balances, token logo, and calculator over to that pool. Toast notifications confirm every action, and the layout collapses cleanly down to 360px.

UI-only simulation — no real wallet, RPC, or on-chain calls. Mock data, fictional tokens.