about summary refs log tree commit diff
path: root/src/alf
diff options
context:
space:
mode:
authorAlex Benzer <abenzer@users.noreply.github.com>2025-09-04 07:20:46 -0700
committerGitHub <noreply@github.com>2025-09-04 07:20:46 -0700
commit625b4e61dbf11c1d485bf8e8265df4d5af0c9657 (patch)
tree8d36b6564cb2b679269dea4b1fc3a8d3887d2fd2 /src/alf
parent0b02d9d9a7ca33dab256a35e4fc9b8feabe20d34 (diff)
downloadvoidsky-625b4e61dbf11c1d485bf8e8265df4d5af0c9657.tar.zst
Welcome modal on logged-out homepage (#8944)
* Adds welcome modal to logged-out homepage

* Adds metrics and feature gate for welcome modal

* Slightly smaller text for mobile screens to avoid wrapping

* Remove unused SVG

* Adds text gradient and "X" close button

* Fix color on "Already have an account?" text

* tweak hooks, react import

* rm stylesheet

* use hardcoded colors

* add focus guards and scope

* no such thing as /home

* reduce spacign

* use css animations

* use session storage

* fix animation fill mode

* add a11y props

* Fix link/button color mismatch, reduce gap between buttons, show modal until user dismisses it

* Fix "Already have an account?" line left-aligning in small window sizes

* Adds "dismissed" and "presented" metric events

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Diffstat (limited to 'src/alf')
-rw-r--r--src/alf/atoms.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/alf/atoms.ts b/src/alf/atoms.ts
index ae88f457d..dc5d9f59c 100644
--- a/src/alf/atoms.ts
+++ b/src/alf/atoms.ts
@@ -1063,6 +1063,7 @@ export const atoms = {
   }),
   fade_out: web({
     animation: 'fadeOut ease-out 0.15s',
+    animationFillMode: 'forwards',
   }),
   zoom_in: web({
     animation: 'zoomIn ease-out 0.1s',