HomePhabricator

[e.cash] Fix spline render

Description

[e.cash] Fix spline render

Summary:
Noticed a bunch of spline 3d errors in the console that were coming from the two instances of spline (mobile and desktop)

The css only conditional rendering apparently was not enough, so the mobile spline was still trying to load on desktop and vice versa, causing some WebGL console erros that you can see in master branch

Adding a media query hook to check the screen size and conditionally render the correct spline scene

Test Plan: Preview and check. Hero section should look the same, but no WebGL console erros compared to master

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D18533

Details

Provenance
johnkuneyAuthored on Aug 27 2025, 20:13
johnkuneyPushed on Aug 28 2025, 15:12
Reviewer
Restricted Project
Differential Revision
Restricted Differential Revision
Parents
rABCd62de36e7af6: [Cashtab] use ecash-lib instead of external dep for hashing NFT image uploads
Branches
Unknown
Tags
Unknown

Event Timeline