feat: update-layout & add uuid tool #4

Merged
typist merged 7 commits from feat/update-layout into main 2025-10-28 00:55:43 +08:00
3 changed files with 25 additions and 7 deletions
Showing only changes of commit df25315367 - Show all commits

View File

@@ -1,8 +1,14 @@
interface Tool {
name: string;
description: string;
icon: React.ReactNode;
component: React.ReactNode;
}
import { Hash } from 'lucide-react'
export const tools: Tool[] = [];
import type { Tool } from "./type";
import { UUID } from './uuid'
export const tools: Tool[] = [
{
path: "uuid",
name: "UUID Generator",
description: "Generate a UUID",
icon: <Hash />,
component: <UUID />,
}
];

View File

@@ -0,0 +1,9 @@
import type { ReactNode } from "react";
export interface Tool {
path: string;
name: string;
icon: ReactNode;
description: string;
component: ReactNode;
}

View File

@@ -0,0 +1,3 @@
import type { FC } from "react";
export const UUID: FC = () => <div>UUID</div>