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
56 changes: 56 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>Page not found – Arjun's Projects</title>
<meta name="robots" content="noindex">
<!-- The site's "page not found" page (see README.md). GitHub Pages and Cloudflare Pages both show it, with a 404 status,
for any address that has no file, at that address: so every link and file here starts with "/", never "../".
No canonical, no Open Graph tags, not in the sitemap, and no link to the Back Room. -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap">
<script src="/theme.js"></script> <!-- Auto / Light / Dark, before the page is drawn (see README) -->
<link rel="stylesheet" href="/site.css">
<link rel="icon" href="/icons/app.svg" type="image/svg+xml">
<link rel="icon" href="/icons/favicon-32.png" type="image/png" sizes="32x32">
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png">
<style>
.nf-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 0}
.nf-where{margin:36px 0 0;color:var(--ink-2)}
.nf-where code{font-family:var(--mono);font-size:14px;word-break:break-all;color:var(--ink)}
</style>
</head>
<body>
<div class="wrap">
<div class="topbar">
<a class="wordmark" href="/">Arjun</a>
<nav class="nav" aria-label="Site"><a href="/">Home</a><a href="/projects/">Web Development Projects</a><a href="/productivity/">Productivity</a><a href="/engineering/">Engineering Projects</a><a href="/marketplace/">Marketplace</a></nav>
</div>
<main>
<header>
<p class="kicker">Error 404</p>
<h1>Page not found</h1>
<p class="intro">There's nothing at this address. It may have moved, or the link may have a typo in it.</p>
<div class="nf-actions">
<a class="btn primary" href="/">Go to the home page</a>
<a class="btn" href="/projects/">Games</a>
<a class="btn" href="/productivity/">Study tools</a>
<a class="btn" href="/contact/">Report a broken link</a>
</div>
</header>
<p class="nf-where" id="nfWhere" hidden>You asked for <code id="nfPath"></code></p>
</main>
<footer>© 2026 Arjun · <a href="/about/">About</a> · <a href="/contact/">Contact</a> · <a href="/privacy.html">Privacy policy</a></footer>
</div>
<script>
// Show the address that wasn't found (as text, never as HTML), so it's easy to mention in a bug report.
(function () {
var p = location.pathname + location.search;
if (p && p !== '/404.html') { document.getElementById('nfPath').textContent = p.slice(0, 200); document.getElementById('nfWhere').hidden = false; }
})();
</script>
<script src="/analytics/tracker.js" data-site="404" defer></script> <!-- counts which missing addresses people land on -->
</body>
</html>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ Personal site hosted with GitHub Pages at **https://ascoding11.github.io**, the
- `applied-robotics/`: only `preview.jpg` (used by the Engineering cards). The Applied Robotics Workbench (six SVG circuit sheets for a two-wheel rover, bench calculators, an Arduino sketch and a parts list) is hosted on the [applied-robotics](https://github.com/ASCoding11/applied-robotics) repo's own GitHub Pages site, https://ascoding11.github.io/applied-robotics/, and the cards link there. Keep it there rather than copying it into this repo, so there is one copy to update.
- `about/` and the guides (`hype-cycle-exchange/guide/`, `boxed/guide/`, `docket/guide/`, `prompted/guide/`): plain reading pages, written in our own words, that explain the site and how to get the most out of each public tool (running Hype Cycle Exchange in class, AMC 10 and AIME prep with Boxed, planning study time with Docket, handling supplemental essays with Prompted). They use the `.guide` styles at the end of `site.css`, are in `sitemap.xml`, and are linked from the Projects and Productivity cards ("…guide" buttons) and from the footers (About). No ads on them. When a tool changes in a way the guide describes (rules, limits, modes), update its guide too.
- `contact/`: the contact page, linked from the footer of every public page (and the showcase page), from About and from the privacy policy. A form with an optional name, an optional email for a reply, a "What's it about?" choice (kind `other`, `bug` or `idea`) and the message. Each message is stored exactly like a note from the Back Room's feedback box (`feedback.js`): one Firestore document in `feedback` = `{uid, ts, game: 'site', kind, box}`, with `box` = `{msg, name, contact, page}` sealed to the admin key, so it shows on the admin page's Feedback tab with the name and email, and no rules change was needed. The admin public key and the seal function are copied into the page (from `e63334287a3deaa3/adminkey.js`) so this public page doesn't name the Back Room folder: **if the admin key is ever replaced, replace `PUB` in `contact/index.html` too.** Shares feedback.js's limits through localStorage `fbk:sent` (one message a minute, five a day per browser); the unsent draft is kept as `contact:draft`. A hidden `website` field catches simple bots (if it's filled in, the page shows Thanks and sends nothing). Counted in analytics as `contact`; in `sitemap.xml`.
- `404.html`: the "Page not found" page. GitHub Pages and Cloudflare Pages both serve it, with a 404 status, for any address that has no file (before it existed, ascoding11.com answered unknown addresses with the home page and a 200 status, which search engines count as duplicate pages, and answered `/favicon.ico` with HTML). It is shown at the missing address itself, so every link and file in it starts with `/`. It is `noindex`, has no canonical or Open Graph tags, isn't in the sitemap and doesn't mention the Back Room (a missing Back Room address shows it too). It shows the missing path as text and is counted in analytics as `404` (the tracker records the path, so the dashboard shows which broken addresses people land on). Its buttons go to the home page, `projects/`, `productivity/` and `contact/`.
- `docket/`: Docket, a study planner for Canvas students (plain JavaScript, no backend; everything is saved in the student's browser). It imports assignments three ways: a bookmarklet that reads the Canvas API from the student's logged-in Canvas tab and hands the data to Docket in the URL hash (its source is the `bmSrc` block in the page), the Canvas calendar feed / any `.ics` or Google Calendar `.zip` export, or pasted text from a Canvas assignments page. It estimates time and difficulty per assignment, then schedules study sessions around calendar events and the student's activities. No ads on this page.
- `prompted/`: Prompted, a supplemental essay tracker for college applicants (plain JavaScript, no backend; everything is saved in the student's browser under `prompted:v1`). Students add schools with a plan and deadline, paste a supplement page to pull out each prompt with its word or character limit and whether it's optional (`parsePrompts` in the page), write drafts with a live count, save and restore versions, and start new essays from existing drafts. A reuse map groups similar prompts across schools by kind (Why us, academic interest, community, and so on). Backups download as JSON; all drafts download as one .txt. `prompted/schools.js` is the school library: the U.S. News 2027 top 50 national universities with their 2026–27 supplement prompts (as short summaries in our own words, with real limits), choose-N sets, college- or program-specific prompts keyed to the student's intended major, application plans and deadlines. UC campuses share one application, so they're added as a single school. Update the file each August when schools publish new prompts, and keep every prompt as a summary in your own words: don't paste schools' official prompt text into this repo, even though it's posted publicly. No ads on this page.
- `e63334287a3deaa3/m/`: the phone version of the Back Room: every game (the Back Room ones plus Hype Cycle Exchange) as a tile, under the same six headings as the computer version, in the same play-time order (Cars, Shooters, Parkour, Party games, Puzzles, Arcade; `MODES`), with a row of six buttons above the lists that jump to each heading (`.gnav`), the Turkey Week switch under the title during the event (`data-turkey-switch` in the header's `.tkrow`; see `events.js`), and grouped by kind under each (each `GROUPS` row is `[kind, games, mode, 1 for the puzzle tiles]`, mode `'cars'`, `'shooters'`, `'parkour'`, `'partygames'`, `'puzzles'` or `'arcade'`, with the rows of one mode kept together; Hype Cycle Exchange is under Arcade). Puzzles starts with the small tiles (`.grid.pz`: what it is in plain words, then its name): Deepword, Trivium, the listed daily puzzles and, last, Daily Puzzles (the fifteen least played puzzles, Boxed among them, came off on 18 Nov 2026: see the Back Room page above; their thumbnails stay). The daily puzzles aren't counted as games; Deepword and Trivium are (a `1` at the end of their rows), and the Puzzles heading says "12 puzzles + 4 games". At the bottom of Puzzles, a small tab (`.ask.ask-sm`, `pzAsk`) asks "Miss a puzzle we took away, or want a new one?" with a Tell us button (`data-feedback-open="Puzzles: "`). The Daily Puzzles tile (`daily`, not counted, a whole row wide with `.pz-all` so the puzzle rows come out even) is the page with every listed puzzle and the streak; it opens in the frame like a game, and the daily games it links to open in the same frame (its `scope` is the whole Back Room folder). After the games, a "Want more games, or have an idea?" note has a Tell us button that opens the feedback bar. A game opens full screen in a frame under a thin bar with the way back, and the last one played shows at the top as Keep playing. The Leaderboards section (leaderboard.js) comes after the games. Its own look is dark; it also has a light look (the light variables at the top of its `<style>`, including the section colours `--c-arcade` … `--c-partygames`), used when Light is chosen with the theme switch in its header (`data-theme-switch`, next to Main site), or in Auto on a phone in light mode (see `theme.js`). It can be added to a phone's home screen (`manifest.webmanifest`, `icon-*.png`), where it runs like an app; on Android it also goes full screen and turns sideways games sideways. Tiles use the small copies in `m/thumbs/` (560 × 350) rather than the full previews. On a phone, entering the code on the home page opens this page in place of the Back Room, still at the home page's address, and invite links (`#<room>`) open their game straight away. The Back Room page also links to it (`data-direct`, so the home page opens it as its own page instead of in its game layer); that address is the one to add to a home screen. It isn't in the sitemap or linked from the public pages.
Expand Down
3 changes: 3 additions & 0 deletions e63334287a3deaa3/news-es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions e63334287a3deaa3/news.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@
*/
(function () {
var NEWS = [
{date: '2026-11-25', version: '1.51.3', title: 'A proper "page not found"', kind: 'fix',
items: [
'A mistyped or old link now shows a "Page not found" page with buttons back to the home page, the games and the study tools, instead of a plain error or the home page.',
'It shows the address you tried, and has a button to tell us about the broken link.']},
{date: '2026-11-25', version: '1.51.2', title: 'Showcase traffic chart fixed', kind: 'fix',
items: [
'The visitors-per-day chart on the showcase page is readable again: a bot that loaded the page about 11,000 times in three days no longer counts as visitors.',
Expand Down
Loading