Skip to content

Commit

Permalink
feat: swap auto fill, vault history, staking charts, logo and more
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakMooney committed May 17, 2024
1 parent 2b4d641 commit a5f4681
Show file tree
Hide file tree
Showing 17 changed files with 822 additions and 15 deletions.
14 changes: 14 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@web3modal/wagmi": "^4.0.5",
"axios": "^1.6.8",
"ethers": "^6.11.1",
"moment": "^2.30.1",
"react": "^18.2.0",
"react-apexcharts": "^1.4.1",
"react-daisyui": "^5.0.0",
Expand Down
2 changes: 2 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import DashLayout from "./components/ui/DashLayout";
import Home from './pages/Home';
import Vaults from './pages/vaults/Vaults';
import Vault from './pages/vault/Vault';
import VaultHistory from './pages/vault/VaultHistory';
import LiquidationPools from './pages/liquidation-pools/LiquidationPools';
import './App.css';
import 'react-toastify/dist/ReactToastify.min.css';
Expand All @@ -28,6 +29,7 @@ function App() {
<Route path="/" element={<Home />} />
<Route path="vaults" element={<DashLayout><Vaults /></DashLayout>} />
<Route path="vault/:vaultId" element={<DashLayout><Vault /></DashLayout>} />
<Route path="vault/:vaultId/history" element={<DashLayout><VaultHistory /></DashLayout>} />
<Route path="liquidation-pools" element={<DashLayout><LiquidationPools /></DashLayout>} />
<Route path="*" element={<Home/>} />
</Routes>
Expand Down
Binary file modified src/assets/bg-dark.webp
Binary file not shown.
19 changes: 19 additions & 0 deletions src/assets/standardiologo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/liquidation-pools/StakedAssets.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const StakedAssets = ({
<>
<Card className="card-compact w-full">
<div className="card-body">
<Typography variant="h2" className="card-title">Vault List</Typography>
<Typography variant="h2" className="card-title">Staked Assets</Typography>

<div className="overflow-x-auto">
<table className="table table-zebra">
Expand Down
2 changes: 1 addition & 1 deletion src/components/liquidation-pools/Staking.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const Staking = () => {
<>
<Card className="card-compact w-full">
<div className="card-body">
<Typography variant="h2" className="card-title justify-between">
<Typography variant="h2" className="card-title flex justify-between">
Deposit

<Button size="sm" onClick={() => setHelpOpen(true)}>
Expand Down
Loading

0 comments on commit a5f4681

Please sign in to comment.