footer.tsx 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import React from 'react'
  2. // zlwu12 2025-09-18 注释
  3. // import Link from 'next/link'
  4. // type CustomLinkProps = {
  5. // href: string
  6. // children: React.ReactNode
  7. // }
  8. // const CustomLink = React.memo(({
  9. // href,
  10. // children,
  11. // }: CustomLinkProps) => {
  12. // return (
  13. // <Link
  14. // className='flex h-8 w-8 cursor-pointer items-center justify-center transition-opacity duration-200 ease-in-out hover:opacity-80'
  15. // target='_blank'
  16. // rel='noopener noreferrer'
  17. // href={href}
  18. // >
  19. // {children}
  20. // </Link>
  21. // )
  22. // })
  23. const Footer = () => {
  24. // zlwu12 2025-09-18 注释
  25. // const { t } = useTranslation()
  26. return (
  27. <footer className='relative shrink-0 grow-0 px-12 py-2'>
  28. {/* zlwu12 2025-09-18 注释 */}
  29. {/* <h3 className='text-gradient text-xl font-semibold leading-tight'>{t('app.join')}</h3>
  30. <p className='system-sm-regular mt-1 text-text-tertiary'>{t('app.communityIntro')}</p>
  31. <div className='mt-3 flex items-center gap-2'>
  32. <CustomLink href='https://github.com/langgenius/dify'>
  33. <RiGithubFill className='h-5 w-5 text-text-tertiary' />
  34. </CustomLink>
  35. <CustomLink href='https://discord.gg/FngNHpbcY7'>
  36. <RiDiscordFill className='h-5 w-5 text-text-tertiary' />
  37. </CustomLink>
  38. </div> */}
  39. </footer>
  40. )
  41. }
  42. export default React.memo(Footer)