From a7239914600955fefe41d521d698834f7d0ce230 Mon Sep 17 00:00:00 2001 From: fylorn <249551762+fylorn@users.noreply.github.com> Date: Thu, 1 Oct 2026 13:42:29 +0800 Subject: [PATCH] 404 page in the neon layout - The neon hero: the aurora and grid, a large gradient 404, the headline and the explanation, and the main sections as the site's buttons, Lite before Enterprise as on the home page. - The request for the missing path, which the page already showed, sits in a terminal window beside it with the headers GitHub Pages really answers with (server, content-type) and a blinking caret; it stacks below on a phone. - Both languages are still rendered and the visitor's choice is shown, as before. Co-Authored-By: Claude Opus 5.5 --- src/pages/404.astro | 165 +++++++++++++++++++++++++++++++------------- 1 file changed, 117 insertions(+), 48 deletions(-) diff --git a/src/pages/404.astro b/src/pages/404.astro index 395504d..ba2fbff 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -12,8 +12,8 @@ const zh = t("zh-CN").notFound; // `path` is the English path; the script prefixes /zh-CN for Chinese visitors. const links = [ { path: "/", en: en.home, zh: zh.home, primary: true }, - { path: "/thinkwatch", en: en.thinkwatch, zh: zh.thinkwatch, primary: false }, { path: "/lite", en: en.lite, zh: zh.lite, primary: false }, + { path: "/thinkwatch", en: en.thinkwatch, zh: zh.thinkwatch, primary: false }, { path: "/core", en: en.core, zh: zh.core, primary: false }, { path: "/docs", en: en.docs, zh: zh.docs, primary: false }, ]; @@ -21,59 +21,128 @@ const links = [ -
- - -
- -

- {en.headline} - -

-

- {en.sub} - -

+
+
+ + +
+
+ +

+ {en.headline} + +

+

+ {en.sub} + +

- + +
- -
$ curl -I https://thinkwat.ch{Astro.url.pathname}
-HTTP/2 404
-
+ + +
+
+ +