Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

page.tsx 1.4KB

123456789101112131415161718192021222324252627282930313233
  1. 'use client'
  2. import { useTranslation } from 'react-i18next'
  3. import { RiDiscordFill, RiGithubFill } from '@remixicon/react'
  4. import Link from 'next/link'
  5. import style from '../list.module.css'
  6. import Apps from './Apps'
  7. import { useEducationInit } from '@/app/education-apply/hooks'
  8. import { useGlobalPublicStore } from '@/context/global-public-context'
  9. const AppList = () => {
  10. const { t } = useTranslation()
  11. useEducationInit()
  12. const { systemFeatures } = useGlobalPublicStore()
  13. return (
  14. <div className='relative flex h-0 shrink-0 grow flex-col overflow-y-auto bg-background-body'>
  15. <Apps />
  16. {!systemFeatures.branding.enabled && <footer className='shrink-0 grow-0 px-12 py-6'>
  17. <h3 className='text-gradient text-xl font-semibold leading-tight'>{t('app.join')}</h3>
  18. <p className='system-sm-regular mt-1 text-text-tertiary'>{t('app.communityIntro')}</p>
  19. <div className='mt-3 flex items-center gap-2'>
  20. <Link className={style.socialMediaLink} target='_blank' rel='noopener noreferrer' href='https://github.com/langgenius/dify'>
  21. <RiGithubFill className='h-5 w-5 text-text-tertiary' />
  22. </Link>
  23. <Link className={style.socialMediaLink} target='_blank' rel='noopener noreferrer' href='https://discord.gg/FngNHpbcY7'>
  24. <RiDiscordFill className='h-5 w-5 text-text-tertiary' />
  25. </Link>
  26. </div>
  27. </footer>}
  28. </div >
  29. )
  30. }
  31. export default AppList