20 lines
456 B
TypeScript
20 lines
456 B
TypeScript
|
import { t } from "../i18n";
|
||
|
import { shield } from "./icons";
|
||
|
import { Tooltip } from "./Tooltip";
|
||
|
|
||
|
const EncryptedIcon = () => (
|
||
|
<a
|
||
|
className="encrypted-icon tooltip"
|
||
|
href="https://blog.excalidraw.com/end-to-end-encryption/"
|
||
|
target="_blank"
|
||
|
rel="noopener noreferrer"
|
||
|
aria-label={t("encrypted.link")}
|
||
|
>
|
||
|
<Tooltip label={t("encrypted.tooltip")} long={true}>
|
||
|
{shield}
|
||
|
</Tooltip>
|
||
|
</a>
|
||
|
);
|
||
|
|
||
|
export default EncryptedIcon;
|