From f2cf3559db86f2170e4ba43cc9c3ff3dcb78a7e3 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 4 Aug 2021 19:22:13 +0100 Subject: [PATCH] Add Toki Pona SVG. --- src/pages/settings/assets/toki_pona.svg | 28 +++++++++++++++++++++++++ src/pages/settings/panes/Languages.tsx | 7 ++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 src/pages/settings/assets/toki_pona.svg diff --git a/src/pages/settings/assets/toki_pona.svg b/src/pages/settings/assets/toki_pona.svg new file mode 100644 index 00000000..e29c05f6 --- /dev/null +++ b/src/pages/settings/assets/toki_pona.svg @@ -0,0 +1,28 @@ + + + + +Created by potrace 1.5, written by Peter Selinger 2001-2004 + + + + + + + + + + \ No newline at end of file diff --git a/src/pages/settings/panes/Languages.tsx b/src/pages/settings/panes/Languages.tsx index b0329dc6..6acba84e 100644 --- a/src/pages/settings/panes/Languages.tsx +++ b/src/pages/settings/panes/Languages.tsx @@ -13,6 +13,7 @@ import { import Emoji from "../../../components/common/Emoji"; import Checkbox from "../../../components/ui/Checkbox"; import Tip from "../../../components/ui/Tip"; +import tokiponaSVG from "../assets/toki_pona.svg"; type Props = { locale: Language; @@ -35,7 +36,11 @@ function Entry({ entry: [x, lang], locale }: { entry: Key } & Props) { } }}>
- + {lang.emoji === "🙂" ? ( + + ) : ( + + )}
{lang.display}