diff --git a/icons.config.js b/icons.config.js
index 831cd7c4..9bd03c75 100644
--- a/icons.config.js
+++ b/icons.config.js
@@ -4,6 +4,7 @@ const config = {
"node_modules/@fontsource-variable/material-symbols-rounded/files/material-symbols-rounded-latin-full-normal.woff2",
outputPath: "src/lib/assets/icons.min.woff2",
icons: [
+ "rocket_launch",
"deployed_code_update",
"adjust",
"add",
diff --git a/src/lib/chat/events/MatrixEvent.svelte b/src/lib/chat/events/MatrixEvent.svelte
index 2c9d6424..bffe20e6 100644
--- a/src/lib/chat/events/MatrixEvent.svelte
+++ b/src/lib/chat/events/MatrixEvent.svelte
@@ -191,6 +191,14 @@
onmouseout={() => (toolbarHover = false)}
onblur={() => (toolbarHover = false)}
>
+ {#if event.getType() === "m.room.message"}
+ {@const message = event.event.content?.["body"]}
+ rocket_launch
+ {/if}
{#if event.event.content?.["m.replay"]}
@@ -231,6 +239,21 @@
word-wrap: break-word;
}
+ @keyframes rocket {
+ 0% {
+ transform: translate(0, 0);
+ }
+ 90% {
+ transform: translate(4px, -4px);
+ }
+ 100% {
+ transform: translate(0, 0);
+ }
+ }
+ .icon.rocket {
+ animation: rocket 2s;
+ }
+
.toolbar {
position: absolute;
top: -26px;
@@ -242,6 +265,7 @@
display: flex;
z-index: 100;
+ a,
button {
font-size: 16px;
width: 24px;