-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.ts
77 lines (70 loc) · 1.73 KB
/
constants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/**
* Constants and data structures for application tools.
*
* This module exports an array of tool objects, each representing a feature or functionality of the application.
*
* @module tools
*/
import { Code, ImageIcon, MessageSquare, Music, VideoIcon } from "lucide-react";
/**
* Maximum number of free counts allowed.
*
* @constant {number}
*/
export const MAX_FREE_COUNTS = 3;
/**
* Array of tool objects.
*
* Each tool object contains metadata for a specific application feature or functionality.
*
* @constant {object[]}
* @property {string} label - Human-readable label for the tool.
* @property {string} href - URL path for the tool.
* @property {React.Component} icon - Icon component for the tool.
* @property {string} color - Foreground color for the tool.
* @property {string} bgColor - Background color for the tool.
*
* @example
* import { tools } from './tools';
*
* tools.forEach((tool) => {
* console.log(tool.label); // Output: Conversation, Code Generation, ...
* });
*/
export const tools = [
{
label: "Conversation",
href: "/conversation",
icon: MessageSquare,
color: "text-violet-500",
bgColor: "text-violet-500/10",
},
{
label: "Code Generation",
href: "/code",
icon: Code,
color: "text-green-500",
bgColor: "text-green-500/10",
},
{
label: "Image Generation",
href: "/image",
icon: ImageIcon,
color: "text-pink-500",
bgColor: "text-pink-500/10",
},
{
label: "Music Generation",
href: "/music",
icon: Music,
color: "text-red-500",
bgColor: "text-red-500/10",
},
{
label: "Video Generation",
href: "/video",
icon: VideoIcon,
color: "text-orange-500",
bgColor: "text-orange-500/10",
},
];