* fix(client): add cache-busting hashes to chunks
* fix: create cache-busting names for the workers
Prior to this PR the first webpack compilation gave the workers static
names. This can cause caching problems, so this PR adds hashes to
their names to invalidate the cache.
In order for Gatsby to find them, the names are added to the
config directory.
Users can now press ctrl/cmd+f1 to toggle the screen reader mode, in
addition to using the accessibility tooltip. The mode now persists
between challenges.
If screen reader mode is on, the instructions are focused by default so
the user is not required to navigate to them before reading starts.
* [ FIXES ] - fixed function keyword not misspelled
* Update client/src/pages/learn/javascript-algorithms-and-data-structures/debugging/index.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix: added comment back into example code
Removed the donate page tests, which seemed weirdly depending on
the rendered tree. Unreliable at the best.
We sould be adding comprehensive tests to the components instead.
This commit removed the donate modal and related wiring,
although some of the state mapping is still around.
The remaining state mapping can either be removed, or kept
for now, because it will be replaced as is for the newer
motivation based donation prompts
* feat: download solution as non-json text file
* fix: added missing end of line character
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Fixed the issue of icon background
* Removed background from icons
* Reverted the margin in last icon and fixed the slight color change on hover.
* Update client/src/components/profile/components/social-icons.css
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: null <mathew@sovereignwallet.network>
* fix: Removed MathJax CDN from header and set it up to download whenever a user goes to a Rosetta Code challenge
* Reworked slightly so that MathJax CDN script is only rendered once
* Simplified further
* Resolved conflicts and updated MathJax fallback to work like the one on donate.js
* Escaped backticks in scriptLoaders.js
* refactor: remove reliance on state
* fix: Remove stripe iframes when navigating away from /donate while still leaving two that may/may not be essential to Stripe
* Moved MutationObserver code into Header component
* fix: make MutationObserver remove old iframes
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>