feat(App): update navigation button to switch to Tools page and remove unused icons
This commit is contained in:
parent
7892ce699e
commit
d0a7cc4882
|
|
@ -1,5 +1,5 @@
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { Cpu, Settings, Wifi, Network, HardDrive, Activity, MoreHorizontal, Search, Wrench, User, LogOut, Bell, FileText, AppWindow, Folder, Edit, Eye, Database, Upload, Download, Code2, LayoutList, Image, ChevronLeft, Loader2, Check, AlertCircle, RefreshCw, Terminal, Link, Printer, Maximize2, Minimize2 } from 'lucide-react';
|
import { Cpu, Settings, Wifi, Network, HardDrive, Activity, Search, Wrench, User, LogOut, Bell, FileText, AppWindow, Folder, Edit, Eye, Database, Upload, Download, Code2, LayoutList, Image, ChevronLeft, Loader2, Check, AlertCircle, RefreshCw, Terminal, Link, Printer, Maximize2, Minimize2 } from 'lucide-react';
|
||||||
import { Toaster } from 'sonner';
|
import { Toaster } from 'sonner';
|
||||||
import StatusPage from './components/StatusPage';
|
import StatusPage from './components/StatusPage';
|
||||||
import DevicesPage from './components/DevicesPage';
|
import DevicesPage from './components/DevicesPage';
|
||||||
|
|
@ -325,11 +325,11 @@ function AppPage({ title, onBack }: { title: string; onBack: () => void }) {
|
||||||
<span className="text-xs text-white">Network</span>
|
<span className="text-xs text-white">Network</span>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
onClick={() => setCurrentPage('devices')}
|
onClick={() => setCurrentPage('tools')}
|
||||||
className="flex-1 flex flex-col items-center gap-1 py-2"
|
className="flex-1 flex flex-col items-center gap-1 py-2"
|
||||||
>
|
>
|
||||||
<MoreHorizontal className="w-5 h-5 text-white" />
|
<Wrench className="w-5 h-5 text-white" />
|
||||||
<span className="text-xs text-white">More</span>
|
<span className="text-xs text-white">Tools</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user