feat(web): add light client memory block and scroll animations
This commit is contained in:
parent
769e25a705
commit
e865df33a4
8 changed files with 311 additions and 6 deletions
|
|
@ -23,3 +23,5 @@ Central status Footer
|
|||
```
|
||||
|
||||
Review: a giant neutral product screenshot alone would feel like any desktop-app page. The hero instead explains persistent voice while browsing text through an intentionally small, labelled diagram. Real native-client imagery appears where it supports the appearance/settings explanation. Sand is the approved V brand colour, not a secondary decorative accent.
|
||||
|
||||
Motion: sections fade in on scroll (IntersectionObserver), the hero enters once, the voice waveform and connection dots pulse softly, buttons and cards lift on hover. The memory block draws a short sand bar for VNOX against a long stone bar and counts up to 120 MB when it scrolls into view. All of it is plain CSS plus a small script, and it is switched off under `prefers-reduced-motion: reduce` (the final values are shown at once). Memory numbers and their sources: `docs/memory-sources.md`.
|
||||
|
|
|
|||
17
docs/memory-sources.md
Normal file
17
docs/memory-sources.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Memory figures on the site
|
||||
|
||||
Block "A light client" on the landing page. All numbers were measured on Linux with `/proc` (RSS and PSS summed over all processes of the app).
|
||||
|
||||
| App | State | RSS | PSS |
|
||||
| --- | --- | --- | --- |
|
||||
| VNOX client (Rust + Slint, release build) | idle, connection screen | 121 MB | 96 MB |
|
||||
| Discord in the Vesktop Electron client, 8 processes | in use | 1333 MB | 1103 MB |
|
||||
|
||||
The site says "about 120 MB" for VNOX (RSS 121 MB, not rounded to 100) and "about 1.3 GB" for Discord by the same RSS metric; PSS is stated in the text. The states differ (idle vs in use), and the site says so. Bar length is 1.3 GB.
|
||||
|
||||
General statement "Electron clients often use from a few hundred MB to a gigabyte and more" rests on press reports, not on our measurement:
|
||||
|
||||
- PCWorld, 9 December 2025, https://www.pcworld.com/article/3005317/discord-admits-windows-11-app-hogs-ram-tries-solving-it-with-auto-restarts.html : Discord's memory use is typically around 1 GB; Discord tests an automatic restart above 4 GB.
|
||||
- Windows Latest, 27 September 2026, https://www.windowslatest.com/2026/09/27/electron-is-one-of-windows-11s-biggest-ram-offenders-and-discords-game-mode-doesnt-fix-it/ : a Discord employee said normal usage should stay under 1 GB (December 2025). No measurement method is given there.
|
||||
|
||||
No other product is given a number. Electron apps vary widely, so no claim is made about them as a group beyond "often".
|
||||
Loading…
Add table
Add a link
Reference in a new issue