From 2487e3276291557b315740b234bd273e97d16830 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 25 Nov 2026 17:22:37 +0000 Subject: [PATCH] Public pages: share previews, favicons and /favicon.ico Fill in the missing Open Graph and Twitter card tags on the public pages (og:url always equals the page's canonical link), give each one an og:image, link the site's favicon from every public page, and add a /favicon.ico so pages that don't link an icon (and ascoding11.com, which answered /favicon.ico with the home page) get one. Head tags only. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Cw2rMBK2QHAgbnRk2f4Ra4 --- README.md | 2 +- about/index.html | 5 +++++ boxed/guide/index.html | 7 +++++++ boxed/index.html | 8 +++++++- contact/index.html | 5 +++++ daedalus/index.html | 4 ++++ docket/guide/index.html | 7 +++++++ docket/index.html | 3 +++ engineering/index.html | 9 +++++++++ favicon.ico | Bin 0 -> 3257 bytes harvest-steps/index.html | 12 ++++++++++++ hype-cycle-exchange/guide/index.html | 7 +++++++ hype-cycle-exchange/index.html | 3 +++ marketplace/index.html | 10 ++++++++++ productivity/index.html | 9 +++++++++ prompted/guide/index.html | 7 +++++++ prompted/index.html | 3 +++ showcase/index.html | 4 ++++ 18 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 favicon.ico diff --git a/README.md b/README.md index dd93abe6..f032ec8e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Personal site hosted with GitHub Pages at **https://ascoding11.github.io**, the - `site.css`: styles shared by the home, Web Development Projects and Productivity pages - `theme.js`: the site's light/dark switch, with three choices: Auto (follow the device's light or dark mode, the default), Light and Dark. Loaded with a plain `` in the ``, just before the stylesheet (not deferred, so it runs before the page is drawn and there's no flash), by every page that uses `site.css` and nothing else of its own for colours (home, Web Development Projects, Productivity, Engineering Projects, Marketplace, About, Project Daedalus, the Docket, Prompted, Boxed and Hype Cycle Exchange guides), by Docket and Prompted, the Back Room page, the phone page and the showcase landing page (which has no top bar, so no switch; it follows the choice made on any other page). **The switch** is one small button showing the current choice (half circle, sun or moon) that opens a menu with the three; theme.js puts it at the end of the page's `.topbar` by itself (its menu opens leftwards, or rightwards when the top bar has wrapped it to the left edge, as on a phone held sideways), right after the Sign in button (so `account/` is unchanged), which makes it the same place on every page with the top bar, the Back Room included; any other empty element with `data-theme-switch` is filled in too (the phone page has one in its header, since it has no top bar). **Storage:** localStorage `theme` (`light` or `dark`; removed for Auto), so the choice carries to every page; pages already open in other tabs, and pages inside frames (the home page's phone-version frame), follow a change straight away through the `storage` event. Nothing is stored online. **How the CSS follows it:** an explicit choice puts `data-theme="light"` or `data-theme="dark"` on ``, and Auto leaves it off. Each dark-mode block is written twice: inside `@media (prefers-color-scheme: dark)` as `:root:not([data-theme="light"])` (Auto, or Dark on a dark device), and again as `:root[data-theme="dark"]` (Dark on a light device). That's how `site.css`, `games.css`, Docket and Prompted do it; the phone page is dark by itself, so it does the opposite with its light look. A new page that uses `site.css` only needs the script line; a page with its own dark colours needs both blocks too. The shared Back Room scripts that add their own styles (party.js, avatar.js, miles.js, leaderboard.js, news.js, social.js, account-nudge.js, events.js, feedback.js and the rest) take their colours from the page's variables, so they follow without changes. `SiteTheme.get()` / `.set('auto'|'light'|'dark')` / `.wire(el)`, and a `site-theme` event on `window` after a change (seasons.js redoes its seasonal tint on it). **Pages that don't follow it** keep their own look: every game (each has its own fixed look, light or dark), the Daily Puzzles page, the admin page, and the pages that follow the device with their own CSS only: Boxed, Hype Cycle Exchange, the analytics dashboard and the privacy policy. - `offline.js`, `sw.js`, `offline.html`: offline mode (version 2). `offline.js` (a deferred ` + + +
diff --git a/boxed/guide/index.html b/boxed/guide/index.html index fee51083..94173d17 100644 --- a/boxed/guide/index.html +++ b/boxed/guide/index.html @@ -12,11 +12,18 @@ + + + + + + +
diff --git a/boxed/index.html b/boxed/index.html index 74bbe0fc..065b809c 100644 --- a/boxed/index.html +++ b/boxed/index.html @@ -13,7 +13,10 @@ - + + + + + + +
diff --git a/docket/index.html b/docket/index.html index df0b5406..69b95e8a 100644 --- a/docket/index.html +++ b/docket/index.html @@ -240,6 +240,9 @@ .lvl button{min-width:36px;height:36px;border-radius:8px;border:1px solid var(--line);background:var(--panel-2);cursor:pointer;font-family:var(--mono);font-size:13px;font-weight:600;color:var(--ink-2)} .lvl button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--ground)} + + +
diff --git a/engineering/index.html b/engineering/index.html index 93179d90..dd43157a 100644 --- a/engineering/index.html +++ b/engineering/index.html @@ -7,6 +7,15 @@ + + + + + + + + + diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..86e58c34ecd686c18187b1a144e2558697c7563c GIT binary patch literal 3257 zcmaKtS5VViw1@wp1(04tkuJqT7l{EC2+}dq5wRdmL^>vvKqyj_UZg{)D!mHQ1*CTb zrG%G-{BsleFU!yX z02>tm$jkqiF?0X`{d=Mj#yZT5{EUBJne}wxCV%@s6WHkg{sF=y%3}ZkFb>G@Kp?33}fCH|DaP?3l3XRgvllZj-}VksmDV(j2dV5VlwJ zwO8&~)_7FAj@_!#pT<2rAW-Bmn=3~j#pFD;sX=VSK9E-6e$P-DYg$#kH;Vk;E|AF5 zRMlo-wcJ!ePE6=D^)K1nUF3b~0VdP*Od}8M={jd#Aia~qxo}%$FN9*zBp$H#-txc` z;6{5uyp;O|9{%$T2GQjYtAhi3&i2@?J339MuCnt3*B1KS&71h#KD;w^`Lm=5>Pnsv zU``B|@Glh2jZtB-F~Yor{6M8`j6LiuIK-EnftKU!u!1{Y=wmbk7Q(OCNY%ubBPK;4 z|FrmFG`7J7U99atIInA^SgWC7f&bRpi@$1}k<83^d6oi_sJ?zTCW49OP&L?l@Oa*o z4jjN$C~9#n)ftfh&m3-2g|3m;g@OCo*@==$UkcVTQ*mm&ic*V}y2-PXT?h8J7q*ky zZ4)csN;`iZEPJdN38D7`(_Yc~)%amUFiFFTfz!2TmLdK93LjY0qh4tJW>ICE#xp9W zf7$D48^bF#ABFxOWJUfm75SH}x4-`{0HEIek8E4oh?}4`*UJtYbDWZTn3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WnZb_6}~Q$ z5S^O=&}9*gC>Zr^B*mLwHl6;{OIU{PQA11Hs0@z&lvdLngcr?+(HMQ*FkHaVp2h-~ z)q{!WM}9fT5$)&8%r6#I=UpVl5&MTw`)=7LiX)fjV6ZIVrC~s!AuoCl4bSul%^7^( zY^IhzU+RwMOcyP1JN(uY#1ci-+*s4_xERNw&3-pK*-z4B%$LJkpN(64ggEopTy$9d z>&9#^cAmF!UukFDG8li#ubsQSU3>?ffaU7~URN0-H$qg6QfchG2_I4d&($r7+7b@^5@$+iIM7pl{vNe@4MxW6sWF(sX#!2~_3WavJ OgB5~Brd9p#{qsM}vibV} literal 0 HcmV?d00001 diff --git a/harvest-steps/index.html b/harvest-steps/index.html index f361af25..319f63bf 100644 --- a/harvest-steps/index.html +++ b/harvest-steps/index.html @@ -7,6 +7,15 @@ + + + + + + + + + @@ -204,6 +213,9 @@ @media (prefers-reduced-motion: reduce){ .tab,.seq button{transition:none} } + + +
diff --git a/hype-cycle-exchange/guide/index.html b/hype-cycle-exchange/guide/index.html index ea3871b2..bb4bc2cc 100644 --- a/hype-cycle-exchange/guide/index.html +++ b/hype-cycle-exchange/guide/index.html @@ -12,11 +12,18 @@ + + + + + + +
diff --git a/hype-cycle-exchange/index.html b/hype-cycle-exchange/index.html index c77788c7..50485e18 100644 --- a/hype-cycle-exchange/index.html +++ b/hype-cycle-exchange/index.html @@ -456,6 +456,9 @@ + + +
diff --git a/marketplace/index.html b/marketplace/index.html index 8f731b15..69e8f9bd 100644 --- a/marketplace/index.html +++ b/marketplace/index.html @@ -7,6 +7,13 @@ + + + + + + + @@ -87,6 +94,9 @@ .rules summary{cursor:pointer;font-weight:600;color:var(--ink)} .stack-how{margin-top:40px} + + +
diff --git a/productivity/index.html b/productivity/index.html index 1117527e..9a904c50 100644 --- a/productivity/index.html +++ b/productivity/index.html @@ -7,6 +7,15 @@ + + + + + + + + + diff --git a/prompted/guide/index.html b/prompted/guide/index.html index 2d276568..b43a62b5 100644 --- a/prompted/guide/index.html +++ b/prompted/guide/index.html @@ -12,11 +12,18 @@ + + + + + + +
diff --git a/prompted/index.html b/prompted/index.html index 7e03f0d0..89dc1974 100644 --- a/prompted/index.html +++ b/prompted/index.html @@ -233,6 +233,9 @@ .toast button{background:none;border:1px solid currentColor;border-radius:8px;padding:6px 10px;color:inherit;cursor:pointer;font-weight:600;white-space:nowrap} .how{margin-top:0} + + +
diff --git a/showcase/index.html b/showcase/index.html index fc7010a6..cae4d5af 100644 --- a/showcase/index.html +++ b/showcase/index.html @@ -12,6 +12,7 @@ + @@ -111,6 +112,9 @@ footer{font-size:14px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px} + + +