fix: hide footer from all start block when search not found

This commit is contained in:
lyzno1 2025-10-17 21:28:57 +08:00
parent 58e4c0793a
commit 9cc3cfb63e
No known key found for this signature in database
1 changed files with 11 additions and 9 deletions

View File

@ -107,15 +107,17 @@ const AllStartBlocks = ({
)}
</div>
{/* Footer - Same as Tools tab marketplace footer */}
<Link
className='system-sm-medium sticky bottom-0 z-10 flex h-8 cursor-pointer items-center rounded-b-lg border-[0.5px] border-t border-components-panel-border bg-components-panel-bg-blur px-4 py-1 text-text-accent-light-mode-only shadow-lg'
href={getMarketplaceUrl('')}
target='_blank'
>
<span>{t('plugin.findMoreInMarketplace')}</span>
<RiArrowRightUpLine className='ml-0.5 h-3 w-3' />
</Link>
{!shouldShowEmptyState && (
// Footer - Same as Tools tab marketplace footer
<Link
className='system-sm-medium sticky bottom-0 z-10 flex h-8 cursor-pointer items-center rounded-b-lg border-[0.5px] border-t border-components-panel-border bg-components-panel-bg-blur px-4 py-1 text-text-accent-light-mode-only shadow-lg'
href={getMarketplaceUrl('')}
target='_blank'
>
<span>{t('plugin.findMoreInMarketplace')}</span>
<RiArrowRightUpLine className='ml-0.5 h-3 w-3' />
</Link>
)}
</div>
</div>
)