| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- import React from 'react'
- // zlwu12 2025-09-18 注释
- // import Link from 'next/link'
- // type CustomLinkProps = {
- // href: string
- // children: React.ReactNode
- // }
- // const CustomLink = React.memo(({
- // href,
- // children,
- // }: CustomLinkProps) => {
- // return (
- // <Link
- // className='flex h-8 w-8 cursor-pointer items-center justify-center transition-opacity duration-200 ease-in-out hover:opacity-80'
- // target='_blank'
- // rel='noopener noreferrer'
- // href={href}
- // >
- // {children}
- // </Link>
- // )
- // })
- const Footer = () => {
- // zlwu12 2025-09-18 注释
- // const { t } = useTranslation()
- return (
- <footer className='relative shrink-0 grow-0 px-12 py-2'>
- {/* zlwu12 2025-09-18 注释 */}
- {/* <h3 className='text-gradient text-xl font-semibold leading-tight'>{t('app.join')}</h3>
- <p className='system-sm-regular mt-1 text-text-tertiary'>{t('app.communityIntro')}</p>
- <div className='mt-3 flex items-center gap-2'>
- <CustomLink href='https://github.com/langgenius/dify'>
- <RiGithubFill className='h-5 w-5 text-text-tertiary' />
- </CustomLink>
- <CustomLink href='https://discord.gg/FngNHpbcY7'>
- <RiDiscordFill className='h-5 w-5 text-text-tertiary' />
- </CustomLink>
- </div> */}
- </footer>
- )
- }
- export default React.memo(Footer)
|