From 402c59c8ebd22faa929a27fa79a06c0e98c5ec22 Mon Sep 17 00:00:00 2001 From: Ukpaa Chigozie Date: Wed, 27 Nov 2024 21:01:22 +0100 Subject: [PATCH 1/8] Added staking page feature --- frontend/src/App.jsx | 3 + frontend/src/components/NavigationLinks.jsx | 4 + frontend/src/pages/vault/VaultLayout.jsx | 34 +++ frontend/src/pages/vault/stake/Stake.jsx | 102 +++++++ frontend/src/pages/vault/stake/stake.css | 254 ++++++++++++++++++ frontend/src/pages/vault/vaultLayout.css | 138 ++++++++++ .../src/pages/vault/withdraw/Withdraw.jsx | 3 + 7 files changed, 538 insertions(+) create mode 100644 frontend/src/pages/vault/VaultLayout.jsx create mode 100644 frontend/src/pages/vault/stake/Stake.jsx create mode 100644 frontend/src/pages/vault/stake/stake.css create mode 100644 frontend/src/pages/vault/vaultLayout.css diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index b0b68c49..95815808 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -15,6 +15,7 @@ import Documentation from 'pages/spotnet/documentation/Documentation'; import Withdraw from 'pages/vault/withdraw/Withdraw'; import { useConnectWallet } from 'hooks/useConnectWallet'; import { Notifier } from 'components/Notifier/Notifier'; +import Stake from 'pages/vault/stake/Stake'; function App() { const [walletId, setWalletId] = useState(localStorage.getItem('wallet_id')); @@ -98,6 +99,8 @@ function App() { } /> } /> } /> + + } />