Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(apps): move app list components to components folder
  • Loading branch information
WTW0313 committed Jul 17, 2025
commit 947dbd8854865e963580747a40bf0ab7508c7d27
3 changes: 0 additions & 3 deletions web/app/(commonLayout)/apps/assets/add.svg

This file was deleted.

4 changes: 0 additions & 4 deletions web/app/(commonLayout)/apps/assets/chat-solid.svg

This file was deleted.

3 changes: 0 additions & 3 deletions web/app/(commonLayout)/apps/assets/chat.svg

This file was deleted.

4 changes: 0 additions & 4 deletions web/app/(commonLayout)/apps/assets/completion-solid.svg

This file was deleted.

3 changes: 0 additions & 3 deletions web/app/(commonLayout)/apps/assets/completion.svg

This file was deleted.

3 changes: 0 additions & 3 deletions web/app/(commonLayout)/apps/assets/discord.svg

This file was deleted.

17 changes: 0 additions & 17 deletions web/app/(commonLayout)/apps/assets/github.svg

This file was deleted.

3 changes: 0 additions & 3 deletions web/app/(commonLayout)/apps/assets/link-gray.svg

This file was deleted.

3 changes: 0 additions & 3 deletions web/app/(commonLayout)/apps/assets/link.svg

This file was deleted.

3 changes: 0 additions & 3 deletions web/app/(commonLayout)/apps/assets/right-arrow.svg

This file was deleted.

12 changes: 0 additions & 12 deletions web/app/(commonLayout)/apps/layout.tsx

This file was deleted.

28 changes: 2 additions & 26 deletions web/app/(commonLayout)/apps/page.tsx
Original file line number Diff line number Diff line change
@@ -1,32 +1,8 @@
'use client'
import { useTranslation } from 'react-i18next'
import { RiDiscordFill, RiGithubFill } from '@remixicon/react'
import Link from 'next/link'
import style from '../list.module.css'
import Apps from './Apps'
import { useEducationInit } from '@/app/education-apply/hooks'
import { useGlobalPublicStore } from '@/context/global-public-context'
import Apps from '@/app/components/apps'

const AppList = () => {
const { t } = useTranslation()
useEducationInit()
const { systemFeatures } = useGlobalPublicStore()
return (
<div className='relative flex h-0 shrink-0 grow flex-col overflow-y-auto bg-background-body'>
<Apps />
{!systemFeatures.branding.enabled && <footer className='shrink-0 grow-0 px-12 py-6'>
<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'>
<Link className={style.socialMediaLink} target='_blank' rel='noopener noreferrer' href='https://github.com/langgenius/dify'>
<RiGithubFill className='h-5 w-5 text-text-tertiary' />
</Link>
<Link className={style.socialMediaLink} target='_blank' rel='noopener noreferrer' href='https://discord.gg/FngNHpbcY7'>
<RiDiscordFill className='h-5 w-5 text-text-tertiary' />
</Link>
</div>
</footer>}
</div >
<Apps />
)
}

Expand Down
217 changes: 0 additions & 217 deletions web/app/(commonLayout)/list.module.css

This file was deleted.

Loading