Commit Graph

25 Commits

Author SHA1 Message Date
SatsAllDay e6ee7f73c4
Make the web manifest dynamic to incorporate preferred color scheme (#398)
Remove the static manifest file and serve it via an API route instead.

Change the background color of the PWA depending on the client hint provided data
2023-08-15 12:58:27 -05:00
SatsAllDay 1f6e144cb2
iOS splash screen for dark-theme (#393)
Add images for each supported iOS device for a dark-theme splash screen

Conditionally use light vs dark images based on the `(prefers-color-scheme: dark)`
media query

Note: Once the PWA is installed, it appears that iOS caches the splash screen image for an
unknown period of time, so if you change your device's preferred theme after installation,
the splash screen doesn't update to reflect it. The PWA must be re-installed for
this change to take effect.
2023-08-11 19:08:24 -05:00
keyan 3333cc86a2 inline dark mode script 2023-08-07 12:06:58 -05:00
keyan c606510930 update pwa blacks 2023-08-06 14:26:08 -05:00
keyan aea8948c45 dark-mode needs to block block 2023-08-04 20:45:12 -05:00
keyan 8d8e2859dd fix dark mode 2023-08-04 19:21:51 -05:00
keyan 8a5cd32be6 don't use next's script tag 2023-08-03 17:49:56 -05:00
keyan 59f7b6ff26 Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades""
This reverts commit 18910fa2ed.
2023-07-23 10:08:43 -05:00
keyan 18910fa2ed Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"
This reverts commit d0314ab73c.
2023-07-23 09:16:12 -05:00
keyan d0314ab73c shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades 2023-07-21 17:33:11 -05:00
keyan 0c51309520 enhance pwa presentation 2023-07-06 16:53:48 -05:00
keyan d4988694c8 make room in header to pwa back button 2023-06-01 19:34:26 -05:00
keyan 44f59f1f34 remove meta tags from _document.js 2022-05-19 11:50:38 -05:00
keyan 16957cba34 improve error pages 2022-05-18 15:55:06 -05:00
keyan f40fe85d5a font-display: swap 2022-04-15 11:23:37 -05:00
keyan dfea0db775 load darkmode script from cdn 2022-04-15 10:59:39 -05:00
keyan 9b8238616a make mobile shortcut icons pretty 2022-04-14 12:05:44 -05:00
keyan 3e977c020d fix lightning font loading 2022-02-23 21:17:10 -06:00
keyan 8c2a4dc76a add search SEO and capture 2022-02-05 11:29:41 -06:00
keyan 5776096eb1 remove font preload 2022-01-21 14:00:32 -06:00
keyan c89fb2716a don't load dark mode as a module 2021-11-16 14:55:40 -06:00
keyan d0687e626b fix dark mode flash on non-homepage 2021-11-16 13:17:13 -06:00
keyan 749b49c313 preload font, only show header items when they're done loading 2021-11-11 16:14:42 -06:00
keyan a3544fb67f dark mode with css variables instead 2021-11-09 16:43:56 -06:00
keyan 2d97314d33 dark mode without ability to switch 2021-11-04 14:22:03 -04:00