mirror of
https://github.com/snowykami/web-tools.git
synced 2025-09-08 13:36:34 +00:00
feat: add MTR display board and train info components
Some checks failed
Build and Push Container Image, Deploy to Host / build-and-push-and-deploy (push) Has been cancelled
Some checks failed
Build and Push Container Image, Deploy to Host / build-and-push-and-deploy (push) Has been cancelled
- Implemented MtrDisplayBoard component to show train schedules with weather information. - Created MtrTrainInfo component to manage state and render MtrDisplayBoard. - Added ScreenshotTaker component for downloading screenshots of the display board. - Introduced theme toggle functionality with ThemeToggle component. - Developed various UI components including Button, Card, ColorPicker, DropdownMenu, Input, Label, Popover, Select, Separator, Switch, Tabs, and Textarea. - Added utility functions for class name merging and tool definitions.
This commit is contained in:
23
src/lib/tools.ts
Normal file
23
src/lib/tools.ts
Normal file
@ -0,0 +1,23 @@
|
||||
export interface Tool {
|
||||
title: string;
|
||||
description: string;
|
||||
href: string;
|
||||
}
|
||||
|
||||
export const tools: Tool[] = [
|
||||
{
|
||||
title: "Rail Transit Guide",
|
||||
description: "轨道交通导视生成器",
|
||||
href: "/rt-guide",
|
||||
},
|
||||
{
|
||||
title: "URL Encoder/Decoder",
|
||||
description: "Encode or decode URLs and strings.",
|
||||
href: "/url-encoder",
|
||||
},
|
||||
{
|
||||
title: "Base64 Encoder/Decoder",
|
||||
description: "Encode or decode strings to and from Base64.",
|
||||
href: "/base64-encoder",
|
||||
},
|
||||
];
|
Reference in New Issue
Block a user