page.tsx 606 B

1234567891011121314151617181920
  1. import PluginPage from '@/app/components/plugins/plugin-page'
  2. import PluginsPanel from '@/app/components/plugins/plugin-page/plugins-panel'
  3. import Marketplace from '@/app/components/plugins/marketplace'
  4. import { getLocaleOnServer } from '@/i18n/server'
  5. const PluginList = async () => {
  6. const locale = await getLocaleOnServer()
  7. return (
  8. <PluginPage
  9. plugins={<PluginsPanel />}
  10. marketplace={<Marketplace locale={locale} pluginTypeSwitchClassName='top-[60px]' searchBoxAutoAnimate={false} />}
  11. />
  12. )
  13. }
  14. export const metadata = {
  15. title: 'Plugins - Dify',
  16. }
  17. export default PluginList