mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 00:35:56 +08:00
Merge branch 'feat/plugins' of github.com:langgenius/dify into feat/plugins
This commit is contained in:
commit
d00b2724cc
@ -1,16 +1,9 @@
|
||||
import Container from './Container'
|
||||
import ListItem from '@/app/components/plugins/list-item-for-test'
|
||||
|
||||
const PluginList = async () => {
|
||||
const mockList = ['Plugin 1', 'Plugin 2', 'Plugin 3']
|
||||
return (
|
||||
<>
|
||||
<Container />
|
||||
<div>
|
||||
{mockList.map(item => (
|
||||
<ListItem key={item} text={item} />
|
||||
))}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
14
web/app/(commonLayout)/plugins/test/card/page.tsx
Normal file
14
web/app/(commonLayout)/plugins/test/card/page.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
import Card from '@/app/components/plugins/card'
|
||||
const PluginList = async () => {
|
||||
return (
|
||||
<>
|
||||
<Card />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export const metadata = {
|
||||
title: 'Plugins - Card',
|
||||
}
|
||||
|
||||
export default PluginList
|
@ -1,15 +0,0 @@
|
||||
import React from 'react'
|
||||
|
||||
type ListItemProps = {
|
||||
text: string
|
||||
}
|
||||
|
||||
const ListItem: React.FC<ListItemProps> = ({ text }) => {
|
||||
return (
|
||||
<div>
|
||||
<p>{text}</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default ListItem
|
Loading…
x
Reference in New Issue
Block a user