mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Merge remote-tracking branch 'origin' into samsung-icon-session
This commit is contained in:
BIN
src/pages/settings/assets/enchanting_table.webp
Normal file
BIN
src/pages/settings/assets/enchanting_table.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 324 KiB |
@@ -13,6 +13,7 @@ import {
|
||||
import Emoji from "../../../components/common/Emoji";
|
||||
import Checkbox from "../../../components/ui/Checkbox";
|
||||
import Tip from "../../../components/ui/Tip";
|
||||
import enchantingTableWEBP from "../assets/enchanting_table.webp";
|
||||
import tokiponaSVG from "../assets/toki_pona.svg";
|
||||
|
||||
type Props = {
|
||||
@@ -38,6 +39,12 @@ function Entry({ entry: [x, lang], locale }: { entry: Key } & Props) {
|
||||
<div className={styles.flag}>
|
||||
{lang.emoji === "🙂" ? (
|
||||
<img src={tokiponaSVG} width={42} />
|
||||
) : lang.emoji === "🪄" ? (
|
||||
<img
|
||||
src={enchantingTableWEBP}
|
||||
width={42}
|
||||
style={{ objectFit: "contain" }}
|
||||
/>
|
||||
) : (
|
||||
<Emoji size={42} emoji={lang.emoji} />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user