ui/ux
This commit is contained in:
parent
5cd6fdcb35
commit
5126c33113
3 changed files with 4 additions and 6 deletions
|
|
@ -9,7 +9,7 @@ import {
|
||||||
Wifi,
|
Wifi,
|
||||||
WifiOff,
|
WifiOff,
|
||||||
Server,
|
Server,
|
||||||
Pickaxe,
|
Hammer,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import { useWalletStore } from '../store/wallet';
|
import { useWalletStore } from '../store/wallet';
|
||||||
import { useNodeStore } from '../store/node';
|
import { useNodeStore } from '../store/node';
|
||||||
|
|
@ -24,7 +24,7 @@ const navItems = [
|
||||||
|
|
||||||
const advancedNavItems = [
|
const advancedNavItems = [
|
||||||
{ to: '/node', label: 'Node', icon: Server },
|
{ to: '/node', label: 'Node', icon: Server },
|
||||||
{ to: '/mining', label: 'Mining', icon: Pickaxe },
|
{ to: '/mining', label: 'Mining', icon: Hammer },
|
||||||
{ to: '/settings', label: 'Settings', icon: Settings },
|
{ to: '/settings', label: 'Settings', icon: Settings },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import {
|
import {
|
||||||
Pickaxe,
|
Hammer,
|
||||||
Play,
|
Play,
|
||||||
Pause,
|
Pause,
|
||||||
Square,
|
Square,
|
||||||
|
|
@ -17,7 +17,6 @@ import { useWalletStore } from '../../store/wallet';
|
||||||
export default function MiningDashboard() {
|
export default function MiningDashboard() {
|
||||||
const {
|
const {
|
||||||
status,
|
status,
|
||||||
stats,
|
|
||||||
recentBlocks,
|
recentBlocks,
|
||||||
hashrateHistory,
|
hashrateHistory,
|
||||||
defaultThreads,
|
defaultThreads,
|
||||||
|
|
@ -131,7 +130,7 @@ export default function MiningDashboard() {
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-bold text-white flex items-center gap-3">
|
<h1 className="text-2xl font-bold text-white flex items-center gap-3">
|
||||||
<Pickaxe size={28} />
|
<Hammer size={28} />
|
||||||
Mining
|
Mining
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-gray-400 mt-1">
|
<p className="text-gray-400 mt-1">
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ export default function NodeDashboard() {
|
||||||
status,
|
status,
|
||||||
syncProgress,
|
syncProgress,
|
||||||
peers,
|
peers,
|
||||||
preferredMode,
|
|
||||||
lastExternalUrl,
|
lastExternalUrl,
|
||||||
lastNetwork,
|
lastNetwork,
|
||||||
connectExternal,
|
connectExternal,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue