Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Personal site hosted with GitHub Pages at **https://ascoding11.github.io**, the main address: every page's canonical and share links, the sitemap and robots.txt use it. Cloudflare Pages also serves the same files from this repo's `main` branch at https://ascoding11.com (every merge goes live on both in a minute or two). Pull requests get a preview link on Cloudflare Pages: from Cloudflare's own Git integration for branches in this repo, and for pull requests from forks from the two `fork-preview` workflows in `.github/workflows/` (the fork's plain files, without `functions/`, uploaded to the separate Pages project `ascoding11-previews` at `https://pr-<number>.ascoding11-previews.pages.dev` and linked in a comment; they need the repo secret `CLOUDFLARE_API_TOKEN`, a Cloudflare token with Pages: Edit). Netlify is no longer used. `ads.txt` sits at the root of the repo, so both addresses serve it at `/ads.txt`. Google sign-in only works on addresses listed in Firebase (project `rumblekarts`) → Authentication → Settings → Authorized domains, so ascoding11.com needs to be listed there too. Browsers keep saved data (settings, guest accounts, drafts) per address, so the two addresses don't share it.

- `showcase/`: the landing page for ascoding11.com (a bare visit to that address, with nothing after it, is sent here by a small script at the top of `index.html`; ascoding11.github.io keeps the home page). One self-contained page: what the site is, a short tour (Docket and Prompted open with `#sample`), the Traffic panel, and the hard problems solved. Its "View the site" button goes to `/#new` (the home page with the Games card and feedback bar, see `index.html`). The Traffic numbers are pasted into the `trafficData` JSON tag in the page, in the format of the analytics dashboard's "Copy showcase numbers" button (anonymous totals only: no names, emails or visitor IDs); update them by pasting new numbers there. Counted in analytics as `showcase`.
- `index.html`: the home page, with links to the Web Development Projects, Productivity and Engineering Projects pages. Its look (the hero with its live airflow figure: a Joukowsky airfoil drawn on a `<canvas>` by the script at the bottom, which pauses off screen or in a hidden tab and shows still streamlines with reduced motion; the Games and tools cards, the engineering picture gallery and the Back Room banner) is an inline `<style>` in its `<head>`, scoped with `:root:has(.hero)` and `#work` so it switches off by itself once the Back Room opens on the page (`reveal()` replaces the `<header class="hero">` and `<section id="work">`); keep the `.cats` grid of `.cat` cards, since `#new` adds its Games card there. The hero's "Open the Back Room" button just presses `#brOpen`. Above the footer, an "Open the Back Room →" button (`#brOpen`, a `<button>` rather than a link, so it isn't a crawlable link to the hidden folder) opens the Back Room on the page without the code, the same way the code does (`reveal()`; on a phone, the phone version); the row (`.br-door`) hides once the Back Room is showing. The code (triple-click the © in the footer) still works too. A share link, the home page address followed by `#` and the Back Room's folder name (`ascoding11.com/#e63334287a3deaa3`), opens the Back Room there without the code. It's meant for the showcase page; the folder name still isn't written in the home page's source, and without the link the code is still needed. The showcase uses a second link, `ascoding11.com/#new`: it leaves the home page as it is and adds a fourth card, Games (the cards go two by two on wide screens), whose links open the whole Back Room there without the code, with its Party, Online (chat) and Leaderboard panels; this happens on phones too (`reveal(html, dir, true)`), because the phone version has no Online panel. It also loads the Back Room's "Tell us" feedback bar (`feedback.js`) at the top of the page straight away; its "Which game?" list starts with "The website, not a game" (`game: "site"`) for notes about the rest of the site. This link does write the Back Room's folder name into the home page
- `index.html`: the home page, with links to the Web Development Projects, Productivity and Engineering Projects pages. Its look (the hero with its ribbon: a slow, twisting band of fine lines drawn by one WebGL shader in the script at the bottom, with no libraries. It sits behind the hero on wide screens, fading out under the text, and becomes a band above the text below 980 px. Its colours are the `--fx-*` variables for light and dark. It pauses off screen, in a hidden tab and once the Back Room replaces the hero, draws fewer pixels on phones, shows one still frame with reduced motion, and falls back to a still CSS wash without WebGL; the Games and tools cards, the engineering picture gallery and the Back Room banner) is an inline `<style>` in its `<head>`, scoped with `:root:has(.hero)` and `#work` so it switches off by itself once the Back Room opens on the page (`reveal()` replaces the `<header class="hero">` and `<section id="work">`); keep the `.cats` grid of `.cat` cards, since `#new` adds its Games card there. The hero's "Open the Back Room" button just presses `#brOpen`. Above the footer, an "Open the Back Room →" button (`#brOpen`, a `<button>` rather than a link, so it isn't a crawlable link to the hidden folder) opens the Back Room on the page without the code, the same way the code does (`reveal()`; on a phone, the phone version); the row (`.br-door`) hides once the Back Room is showing. The code (triple-click the © in the footer) still works too. A share link, the home page address followed by `#` and the Back Room's folder name (`ascoding11.com/#e63334287a3deaa3`), opens the Back Room there without the code. It's meant for the showcase page; the folder name still isn't written in the home page's source, and without the link the code is still needed. The showcase uses a second link, `ascoding11.com/#new`: it leaves the home page as it is and adds a fourth card, Games (the cards go two by two on wide screens), whose links open the whole Back Room there without the code, with its Party, Online (chat) and Leaderboard panels; this happens on phones too (`reveal(html, dir, true)`), because the phone version has no Online panel. It also loads the Back Room's "Tell us" feedback bar (`feedback.js`) at the top of the page straight away; its "Which game?" list starts with "The website, not a game" (`game: "site"`) for notes about the rest of the site. This link does write the Back Room's folder name into the home page
- `projects/`: the Web Development Projects page, with a full card for each game
- `productivity/`: the Productivity page, with a full card for each tool
- `engineering/`: the Engineering Projects page, with a full card for each engineering project (four workbenches and one build plan, Project Daedalus)
Expand Down
13 changes: 13 additions & 0 deletions e63334287a3deaa3/news/claude-front-page-v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"kind": "fix",
"title": "Cleaner home page",
"items": [
"A new animation at the top of the home page.",
"Shorter, plainer wording at the top."
],
"es": {
"Cleaner home page": "Página de inicio más limpia",
"A new animation at the top of the home page.": "Una nueva animación en la parte de arriba de la página de inicio.",
"Shorter, plainer wording at the top.": "Textos más cortos y sencillos arriba."
}
}
Loading
Loading