2024-10-09 11:35:07 +08:00
|
|
|
import Card from '@/app/components/plugins/card'
|
2024-10-09 17:50:23 +08:00
|
|
|
import { extensionDallE, modelGPT4, toolNotion } from '@/app/components/plugins/card-mock'
|
|
|
|
|
2024-10-09 11:35:07 +08:00
|
|
|
const PluginList = async () => {
|
|
|
|
return (
|
2024-10-09 18:12:14 +08:00
|
|
|
<div className='pb-3 bg-white'>
|
|
|
|
<div className='mx-3 '>
|
|
|
|
<h2 className='my-3'>Dify Plugin list</h2>
|
|
|
|
<div className='grid grid-cols-4 gap-3'>
|
|
|
|
<Card payload={toolNotion as any} />
|
|
|
|
<Card payload={extensionDallE as any} />
|
|
|
|
<Card payload={modelGPT4 as any} />
|
|
|
|
<Card payload={toolNotion as any} />
|
|
|
|
<Card payload={toolNotion as any} />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2 className='my-3'>Install Plugin / Package under bundle</h2>
|
|
|
|
<div className='w-[512px] rounded-2xl bg-background-section-burn p-2'>
|
|
|
|
<Card
|
|
|
|
payload={toolNotion as any}
|
|
|
|
descriptionLineRows={1}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<h3 className='my-1'>Installed</h3>
|
|
|
|
<div className='w-[512px] rounded-2xl bg-background-section-burn p-2'>
|
|
|
|
<Card
|
|
|
|
payload={toolNotion as any}
|
|
|
|
descriptionLineRows={1}
|
|
|
|
installed
|
|
|
|
/>
|
|
|
|
</div>
|
2024-10-09 17:50:23 +08:00
|
|
|
</div>
|
2024-10-09 18:12:14 +08:00
|
|
|
</div>
|
2024-10-09 11:35:07 +08:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const metadata = {
|
|
|
|
title: 'Plugins - Card',
|
|
|
|
}
|
|
|
|
|
|
|
|
export default PluginList
|