feat: ui algolia plugin add link

This commit is contained in:
shuai 2023-08-17 10:49:31 +08:00
parent ce970a073d
commit faf6545f7e
2 changed files with 7 additions and 3 deletions

View File

@ -1430,7 +1430,7 @@ ui:
fields:
users:
label: Bulk add user
placeholder: "John Smith, john@example.com, BUSYopr2 \nAlice, alice@example.com, fpDntV8q"
placeholder: "John Smith, john@example.com, BUSYopr2\nAlice, alice@example.com, fpDntV8q"
text: Separate “name, email, password” with commas. One user per line.
msg: "Please enter the user's email, one per line."
display_name:

View File

@ -22,10 +22,14 @@ const Index: FC = () => {
if (!data?.icon) return null;
return (
<div className="d-flex align-items-center">
<a
className="d-flex align-items-center"
href="https://www.algolia.com/"
target="_blank"
rel="noopener noreferrer">
<span className="small text-secondary me-2">{t('search_by')}</span>
<SvgIcon base64={data?.icon} />
</div>
</a>
);
};