about summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-04-13 05:13:53 +0100
committerGitHub <noreply@github.com>2024-04-13 05:13:53 +0100
commit4c966e5d6d1cbafe7a41d58268ffcb2cee31abe8 (patch)
treec16f28032012c6123ea956b657656b9122b4ab66 /assets
parent4b3ec5573241b9c71504dfd0bd5f181cbde19a49 (diff)
downloadvoidsky-4c966e5d6d1cbafe7a41d58268ffcb2cee31abe8.tar.zst
[Embeds] "Embed post" post dropdown option (#3513)
* add embed option to post dropdown menu

* put embed post button behind a gate

* increase line height in dialog

* add gate to gate name union

* hide embed button if PWI optout

* Ungate embed button

* Escape HTML, align implementations

* Make dialog conditionally rendered

* Memoize EmbedDialog

* Render dialog lazily

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'assets')
-rw-r--r--assets/icons/codeBrackets_stroke2_corner0_rounded.svg1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/icons/codeBrackets_stroke2_corner0_rounded.svg b/assets/icons/codeBrackets_stroke2_corner0_rounded.svg
new file mode 100644
index 000000000..0cc239210
--- /dev/null
+++ b/assets/icons/codeBrackets_stroke2_corner0_rounded.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M14.242 3.03a1 1 0 0 1 .728 1.213l-4 16a1 1 0 1 1-1.94-.485l4-16a1 1 0 0 1 1.213-.728ZM6.707 7.293a1 1 0 0 1 0 1.414L3.414 12l3.293 3.293a1 1 0 1 1-1.414 1.414l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 0 1 1.414 0Zm10.586 0a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 1 1-1.414-1.414L20.586 12l-3.293-3.293a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>