feat: base card component
parent
67acd174ac
commit
36800eeaba
@ -0,0 +1,3 @@
|
|||||||
|
<svg width="13" height="20" viewBox="0 0 13 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path id="Shape" d="M0 0H13V20C9.98017 20 7.26458 18.1615 6.14305 15.3576L0 0Z" fill="#F9FAFB"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 200 B |
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"icon": {
|
||||||
|
"type": "element",
|
||||||
|
"isRootNode": true,
|
||||||
|
"name": "svg",
|
||||||
|
"attributes": {
|
||||||
|
"width": "13",
|
||||||
|
"height": "20",
|
||||||
|
"viewBox": "0 0 13 20",
|
||||||
|
"fill": "none",
|
||||||
|
"xmlns": "http://www.w3.org/2000/svg"
|
||||||
|
},
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "element",
|
||||||
|
"name": "path",
|
||||||
|
"attributes": {
|
||||||
|
"id": "Shape",
|
||||||
|
"d": "M0 0H13V20C9.98017 20 7.26458 18.1615 6.14305 15.3576L0 0Z",
|
||||||
|
"fill": "currentColor"
|
||||||
|
},
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "LeftCorner"
|
||||||
|
}
|
||||||
@ -0,0 +1 @@
|
|||||||
|
export { default as LeftCorner } from './LeftCorner'
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
// GENERATE BY script
|
||||||
|
// DON NOT EDIT IT MANUALLY
|
||||||
|
|
||||||
|
import * as React from 'react'
|
||||||
|
import data from './CuteRobote.json'
|
||||||
|
import IconBase from '@/app/components/base/icons/IconBase'
|
||||||
|
import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase'
|
||||||
|
|
||||||
|
const Icon = React.forwardRef<React.MutableRefObject<SVGElement>, Omit<IconBaseProps, 'data'>>((
|
||||||
|
props,
|
||||||
|
ref,
|
||||||
|
) => <IconBase {...props} ref={ref} data={data as IconData} />)
|
||||||
|
|
||||||
|
Icon.displayName = 'CuteRobote'
|
||||||
|
|
||||||
|
export default Icon
|
||||||
@ -0,0 +1,49 @@
|
|||||||
|
import { PluginType } from './types'
|
||||||
|
|
||||||
|
export const toolNotion = {
|
||||||
|
type: PluginType.tool,
|
||||||
|
org: 'Notion',
|
||||||
|
name: 'notion page search',
|
||||||
|
latest_version: '1.0.0',
|
||||||
|
icon: 'https://via.placeholder.com/150',
|
||||||
|
label: {
|
||||||
|
'en-US': 'Notion Page Search',
|
||||||
|
'zh-Hans': 'Notion 页面搜索',
|
||||||
|
},
|
||||||
|
brief: {
|
||||||
|
'en-US': 'Description: Search Notion pages and open visited ones faster. No admin access required.',
|
||||||
|
'zh-Hans': '搜索 Notion 页面并更快地打开已访问的页面。无需管理员访问权限。',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
export const extensionDallE = {
|
||||||
|
type: PluginType.extension,
|
||||||
|
org: 'OpenAI',
|
||||||
|
name: 'DALL-E',
|
||||||
|
latest_version: '1.0.0',
|
||||||
|
icon: 'https://via.placeholder.com/150',
|
||||||
|
label: {
|
||||||
|
'en-US': 'DALL-E',
|
||||||
|
'zh-Hans': 'DALL-E',
|
||||||
|
},
|
||||||
|
brief: {
|
||||||
|
'en-US': 'Description: A simple plugin to use OpenAI DALL-E model.',
|
||||||
|
'zh-Hans': '一个使用 OpenAI DALL-E 模型的简单插件。',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
export const modelGPT4 = {
|
||||||
|
type: PluginType.model,
|
||||||
|
org: 'OpenAI',
|
||||||
|
name: 'GPT-4',
|
||||||
|
latest_version: '1.0.0',
|
||||||
|
icon: 'https://via.placeholder.com/150',
|
||||||
|
label: {
|
||||||
|
'en-US': 'GPT-4',
|
||||||
|
'zh-Hans': 'GPT-4',
|
||||||
|
},
|
||||||
|
brief: {
|
||||||
|
'en-US': 'Description: A simple plugin to use OpenAI GPT-4 model.',
|
||||||
|
'zh-Hans': '一个使用 OpenAI GPT-4 模型的简单插件。',
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue