mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
20 lines
567 B
TypeScript
20 lines
567 B
TypeScript
import s from './page.module.css'
|
|
import { getLocaleOnServer } from '@/i18n/server'
|
|
import { useTranslation } from '@/i18n/i18next-serverside-config'
|
|
|
|
const PluginsComingSoon = async () => {
|
|
const locale = getLocaleOnServer()
|
|
const { t } = await useTranslation(locale, 'common')
|
|
|
|
return (
|
|
<div className='flex justify-center items-center w-full h-full bg-gray-100'>
|
|
<div className={s.bg}>
|
|
<div className={s.tag} />
|
|
<div className={s.text}>{t('menus.pluginsTips')}</div>
|
|
</div>
|
|
</div >
|
|
)
|
|
}
|
|
|
|
export default PluginsComingSoon
|