feat: marketplace list url support search & tags

This commit is contained in:
StyleZhang
2024-11-19 15:08:39 +08:00
parent c5c06c18f1
commit 43d7a538dc
7 changed files with 96 additions and 89 deletions

View File

@ -57,7 +57,7 @@ const Marketplace = ({
</span>
{t('common.operation.in')}
<a
href={`${MARKETPLACE_URL_PREFIX}?language=${locale}`}
href={`${MARKETPLACE_URL_PREFIX}?language=${locale}&q=${searchPluginText}&tags=${filterPluginTags.join(',')}`}
className='flex items-center ml-1 system-sm-medium text-text-accent'
target='_blank'
>