mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-31 22:29:27 +01:00
feat: add Skills component and integrate skills data; enhance CommandPalette and MessageContainer with improved UI and animations
This commit is contained in:
@@ -55,14 +55,19 @@ export const collections = {
|
||||
}),
|
||||
skills: defineCollection({
|
||||
type: 'data',
|
||||
source: 'skills/*.json',
|
||||
source: 'skills.json',
|
||||
schema: z.object({
|
||||
name: z.string(),
|
||||
description: z.string(),
|
||||
items: z.object({
|
||||
name: z.string(),
|
||||
icon: z.string(),
|
||||
color: z.string(),
|
||||
id: z.string(),
|
||||
name: z.object({
|
||||
en: z.string(),
|
||||
fr: z.string(),
|
||||
es: z.string(),
|
||||
}),
|
||||
items: z.array(z.object({
|
||||
name: z.string(),
|
||||
icon: z.string(),
|
||||
})),
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user