mirror of https://gitee.com/answerdev/answer.git
feat: ui algolia plugin add link
This commit is contained in:
parent
ce970a073d
commit
faf6545f7e
|
@ -1430,7 +1430,7 @@ ui:
|
||||||
fields:
|
fields:
|
||||||
users:
|
users:
|
||||||
label: Bulk add user
|
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.
|
text: Separate “name, email, password” with commas. One user per line.
|
||||||
msg: "Please enter the user's email, one per line."
|
msg: "Please enter the user's email, one per line."
|
||||||
display_name:
|
display_name:
|
||||||
|
|
|
@ -22,10 +22,14 @@ const Index: FC = () => {
|
||||||
if (!data?.icon) return null;
|
if (!data?.icon) return null;
|
||||||
|
|
||||||
return (
|
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>
|
<span className="small text-secondary me-2">{t('search_by')}</span>
|
||||||
<SvgIcon base64={data?.icon} />
|
<SvgIcon base64={data?.icon} />
|
||||||
</div>
|
</a>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue