diff options
| author | kj_sh604 | 2026-03-15 16:19:35 -0400 |
|---|---|---|
| committer | kj_sh604 | 2026-03-15 16:19:35 -0400 |
| commit | bfc2cec7d43eb8eaa46dd3f91084932381257059 (patch) | |
| tree | 0857e3aac2cff922826d4871ff54536b26fad6fc /excalidraw-app/components/EncryptedIcon.tsx | |
| parent | 225db4a7805befe009fe055fc2ef5daedd6c04f9 (diff) | |
refactor: excalidraw-app/
Diffstat (limited to 'excalidraw-app/components/EncryptedIcon.tsx')
| -rw-r--r-- | excalidraw-app/components/EncryptedIcon.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/excalidraw-app/components/EncryptedIcon.tsx b/excalidraw-app/components/EncryptedIcon.tsx new file mode 100644 index 0000000..a3a8417 --- /dev/null +++ b/excalidraw-app/components/EncryptedIcon.tsx @@ -0,0 +1,21 @@ +import { shield } from "@excalidraw/excalidraw/components/icons"; +import { Tooltip } from "@excalidraw/excalidraw/components/Tooltip"; +import { useI18n } from "@excalidraw/excalidraw/i18n"; + +export const EncryptedIcon = () => { + const { t } = useI18n(); + + return ( + <a + className="encrypted-icon tooltip" + href="https://plus.excalidraw.com/blog/end-to-end-encryption" + target="_blank" + rel="noopener noreferrer" + aria-label={t("encrypted.link")} + > + <Tooltip label={t("encrypted.tooltip")} long={true}> + {shield} + </Tooltip> + </a> + ); +}; |
