feat: add-tool currency (#12)

Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #12
This commit is contained in:
2025-10-30 09:22:29 +08:00
parent 62350492e9
commit 97f38b44f5
10 changed files with 1093 additions and 1 deletions

View File

@@ -1,10 +1,11 @@
import { lazy, type ReactNode, type ComponentType } from 'react';
import { FileJson, Hash, Binary, Network, Globe, Activity, Gauge, Wifi, MapPin } from 'lucide-react'
import { FileJson, Hash, Binary, Network, Globe, Activity, Gauge, Wifi, MapPin, Coins } from 'lucide-react'
// 懒加载工具组件
const UUID = lazy(() => import('./uuid'))
const JSON = lazy(() => import('./json'))
const Base64 = lazy(() => import('./base64'))
const Currency = lazy(() => import('./currency'))
const DNS = lazy(() => import('./network/dns'))
const Ping = lazy(() => import('./network/ping'))
const TCPing = lazy(() => import('./network/tcping'))
@@ -42,6 +43,13 @@ export const tools: Tool[] = [
icon: <Binary />,
component: Base64,
},
{
path: "currency",
name: "Currency Converter",
description: "Real-time currency exchange rates",
icon: <Coins />,
component: Currency,
},
{
path: "network",
name: "Network Tools",