
Co-authored-by: AkaraChen <akarachen@outlook.com> Co-authored-by: Yi <yxiaoisme@gmail.com> Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: JzoNg <jzongcode@gmail.com> Co-authored-by: twwu <twwu@dify.ai> Co-authored-by: kurokobo <kuro664@gmail.com> Co-authored-by: Hiroshi Fujita <fujita-h@users.noreply.github.com>
21 lines
606 B
TypeScript
21 lines
606 B
TypeScript
import PluginPage from '@/app/components/plugins/plugin-page'
|
|
import PluginsPanel from '@/app/components/plugins/plugin-page/plugins-panel'
|
|
import Marketplace from '@/app/components/plugins/marketplace'
|
|
import { getLocaleOnServer } from '@/i18n/server'
|
|
|
|
const PluginList = async () => {
|
|
const locale = await getLocaleOnServer()
|
|
return (
|
|
<PluginPage
|
|
plugins={<PluginsPanel />}
|
|
marketplace={<Marketplace locale={locale} pluginTypeSwitchClassName='top-[60px]' searchBoxAutoAnimate={false} />}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export const metadata = {
|
|
title: 'Plugins - Dify',
|
|
}
|
|
|
|
export default PluginList
|