diff --git a/web/_img/canvas-log-low-res.png b/web/_img/canvas-log-low-res.png new file mode 100644 index 0000000000000000000000000000000000000000..6ab8c588f941a1d955f22c9fb2d447ab04c2505a Binary files /dev/null and b/web/_img/canvas-log-low-res.png differ diff --git a/web/_js/favicon.js b/web/_js/favicon.js deleted file mode 100644 index 688e5f672e3bfc0345031d845cc987144895b147..0000000000000000000000000000000000000000 --- a/web/_js/favicon.js +++ /dev/null @@ -1,27 +0,0 @@ -// Based on GitHub's favicon switcher. Temporary(?) fix for Chromium based browsers that won't dynamically update embedded CSS media query inside of SVG -function updateFavicon(colorScheme) { - const favicon = document.head.querySelector('.js-site-favicon[type="image/svg+xml"]') - const faviconFallback = document.head.querySelector('.js-site-favicon[type="image/png"]') - if (favicon && faviconFallback) { - if (colorScheme || colorScheme === 'dark') { - favicon.href = '_img/favicon-dark.svg' - faviconFallback.href = '_img/favicon-dark.png' - } else { - favicon.href = '_img/favicon.svg' - faviconFallback.href = '_img/favicon.png' - } - } -} - -function prefersDarkColorScheme() { - return window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches -} - -if (prefersDarkColorScheme()) { - // update favicon to dark on page load - updateFavicon('dark') -} - -window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => { - updateFavicon(prefersDarkColorScheme()) -}) diff --git a/web/about.html b/web/about.html index 9ef11bdaad8ba0f3206aab751f89e85a482674e1..d586f89e426c098371527294e8efce97c7c48983 100644 --- a/web/about.html +++ b/web/about.html @@ -39,14 +39,11 @@ - - + - - @@ -54,8 +51,7 @@
- - + The 2023 r/place Atlas diff --git a/web/index.html b/web/index.html index 0d1d4643f1f17bc1ed55cc8056f5f5fd97586763..38fd97bfd96f60ec5b0d792fcba06a8be1fb7be7 100644 --- a/web/index.html +++ b/web/index.html @@ -39,15 +39,13 @@ - - + -
@@ -63,8 +61,7 @@