Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: change app card layout follow by #10847 (#12317)

Nam Vua2105634a4ad
diff --git a/web/app/components/explore/app-card/index.tsx b/web/app/components/explore/app-card/index.tsx
index f1826395f7f..36034195ee3 100644
--- a/web/app/components/explore/app-card/index.tsx
+++ b/web/app/components/explore/app-card/index.tsx
@@ -52,11 +52,11 @@ const AppCard = ({
</span>
</div>
<div className='grow w-0 py-[1px]'>
- <div className='flex items-center text-sm leading-5 font-semibold text-gray-800'>
+ <div className='flex items-center text-sm leading-5 font-semibold text-text-secondary'>
<div className='truncate' title={appBasicInfo.name}>{appBasicInfo.name}</div>
</div>
- <div className='flex items-center text-[10px] leading-[18px] text-gray-500 font-medium'>
- {appBasicInfo.mode === 'advanced-chat' && <div className='truncate'>{t('app.types.chatbot').toUpperCase()}</div>}
+ <div className='flex items-center text-[10px] leading-[18px] text-text-tertiary font-medium'>
+ {appBasicInfo.mode === 'advanced-chat' && <div className='truncate'>{t('app.types.advanced').toUpperCase()}</div>}
{appBasicInfo.mode === 'chat' && <div className='truncate'>{t('app.types.chatbot').toUpperCase()}</div>}
{appBasicInfo.mode === 'agent-chat' && <div className='truncate'>{t('app.types.agent').toUpperCase()}</div>}
{appBasicInfo.mode === 'workflow' && <div className='truncate'>{t('app.types.workflow').toUpperCase()}</div>}
@@ -64,7 +64,7 @@ const AppCard = ({
</div>
</div>
</div>
- <div className="description-wrapper h-[90px] px-[14px] text-xs leading-normal text-gray-500 ">
+ <div className="description-wrapper h-[90px] px-[14px] text-xs leading-normal text-text-tertiary ">
<div className='line-clamp-4 group-hover:line-clamp-2'>
{app.description}
</div>