(feat:sources) card ui

This commit is contained in:
ManishMadan2882
2025-08-12 18:04:40 +05:30
parent 65c33ad915
commit 5c615d6f2d
10 changed files with 44 additions and 14 deletions

View File

@@ -533,14 +533,14 @@ const Chunks: React.FC<ChunksProps> = ({
</div>
<button
className="bg-purple-30 hover:bg-violets-are-blue flex h-[38px] w-full sm:w-auto min-w-[108px] items-center justify-center rounded-full px-4 text-[14px] whitespace-normal text-white shrink-0 font-medium"
title={t('settings.sources.addNew')}
title={t('settings.sources.addChunk')}
onClick={() => {
setIsAddingChunk(true);
setEditingTitle('');
setEditingText('');
}}
>
{t('settings.sources.addNew')}
{t('settings.sources.addChunk')}
</button>
</div>
{loading ? (