feat(website): add homepage navigation and faster reading paths

This commit is contained in:
N0zoM1z0
2026-10-09 14:03:00 +08:00
parent 5b769d3a78
commit c94f06d98f
5 changed files with 266 additions and 162 deletions
+35 -160
View File
@@ -15,7 +15,7 @@
<script src="assets/home.js" defer></script>
<script type="module" src="assets/dino-demo.js"></script>
</head>
<body id="top">
<body class="home-page" id="top">
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header">
<div class="container header-inner">
@@ -51,8 +51,33 @@
</a>
</div>
</header>
<details class="home-page-nav" data-home-nav open>
<summary class="container">
<span>On this page</span>
<span class="home-nav-current" data-home-nav-current aria-hidden="true"
>Set up REA</span
>
<svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true">
<path d="m2 4 4 4 4-4" fill="none" stroke="currentColor" />
</svg>
</summary>
<nav class="home-nav-links" aria-label="On this page">
<div class="container">
<p class="home-nav-title">On this page</p>
<ul>
<li><a href="#setup" aria-current="location">Set up REA</a></li>
<li><a href="#what-is-re">What is RE?</a></li>
<li><a href="#how-rea-helps">How REA helps</a></li>
<li><a href="#dinosaur">Dinosaur game</a></li>
<li><a href="#calculator">Calculator</a></li>
<li><a href="#try-rea">Try REA</a></li>
<li><a href="#analyze">Analysis guides</a></li>
</ul>
</div>
</nav>
</details>
<main id="main">
<section class="container hero home-hero">
<section class="container hero home-hero" id="setup">
<div class="home-start-grid">
<div>
<p class="eyebrow">Reverse engineering, with your coding agent</p>
@@ -64,7 +89,12 @@
<div class="actions">
<a class="button" href="#what-is-re">See how REA works ↓</a>
<a class="text-link" href="get-started/">Setup guide</a>
<a class="text-link" href="showcase/">Showcases →</a>
</div>
<p class="home-expert-shortcut">
Already know RE?
<a href="#analyze">Skip to analysis guides →</a>
</p>
</div>
<div class="home-setup">
<h2>Set up REA</h2>
@@ -132,7 +162,7 @@
One question:
<strong>why does Calculator give 220 for 200 + 10%?</strong>
</p>
<figure class="home-role-comparison">
<figure class="home-role-comparison" id="how-rea-helps">
<div
class="manual-investigation step-comparison"
data-step-comparison
@@ -830,10 +860,10 @@ SPEED: 6</code></pre>
</div>
</section>
<section class="section">
<section class="section" id="analyze">
<div class="container">
<div class="section-heading">
<h2>What REA can analyze</h2>
<h2>Analyze your software</h2>
<p>
Choose a guide for your binary, JavaScript app or browser session.
</p>
@@ -866,161 +896,6 @@ SPEED: 6</code></pre>
</div>
</div>
</section>
<section class="section">
<div class="container feature-case">
<div>
<p class="eyebrow">Case study · Native</p>
<h2>Rebuilding DX-Ball</h2>
<p>
DX-Ball is a 1996 Windows game. The project is reconstructing it
in C, using REA to inspect the executable and independent tests to
check the recovered behavior.
</p>
<p>
<a class="text-link" href="showcase/dx-ball/"
>Follow the investigation</a
>
</p>
<p class="case-note">
Work so far covers boards, resources, brick hits, animations,
particles and bonus production. The playable game is still in
progress.
</p>
</div>
<dl class="stats case-stats">
<div>
<dt>55</dt>
<dd>functions in maintained C</dd>
</div>
<div>
<dt>45,380</dt>
<dd>original-x86 differential cases</dd>
</div>
<div>
<dt>33</dt>
<dd>complete functions with matching compiled bytes</dd>
</div>
</dl>
</div>
</section>
<section class="section">
<div class="container feature-case">
<div>
<p class="eyebrow">Case study · Electron</p>
<h2>Notion's Electron clipboard</h2>
<p>
A copy operation crosses from the page to Electron's main process.
Inspect Notion's packaged JavaScript with REA, then follow one
channel through the wrappers to the system clipboard.
</p>
<p>
Short code excerpts show each handoff. A second figure explains
how an HTML marker connects ordinary clipboard text to Notion's
structured block data.
</p>
<a class="text-link" href="showcase/notion/"
>Follow the clipboard bridge</a
>
</div>
<figure class="workflow-figure case-preview">
<p class="figure-title">Clipboard IPC channel</p>
<div class="code-block">
<div class="code-header"><span>Preload · send</span></div>
<pre><code>invokerInMain(
<span class="notion-channel">"notion:clipboard:write"</span>
)</code></pre>
</div>
<div class="code-block">
<div class="code-header"><span>Main process · receive</span></div>
<pre><code>addListener(
<span class="notion-channel">"notion:clipboard:write"</span>,
handler
)</code></pre>
</div>
<figcaption>
Matching names give the investigation a path to follow.
</figcaption>
</figure>
</div>
</section>
<section class="section">
<div class="container feature-case">
<div>
<p class="eyebrow">Case study · PC-98 DOS</p>
<h2>TH04's aimed bullet rings</h2>
<p>
Inspect a 16-bit DOS function with REA. Follow its angle
calculation from original instructions to readable C++, then see
how adding the player's direction turns a ring of bullets.
</p>
<a class="text-link" href="showcase/th04/"
>See the bullet calculation</a
>
</div>
<figure class="workflow-figure case-preview th04-preview">
<p class="figure-title">Fixed and aimed rings</p>
<img
src="assets/figures/th04-bullet-ring.svg"
width="1000"
height="520"
alt="TH04's fixed and aimed 16-bullet rings side by side. The first bullet is highlighted in blue; adding the player direction rotates every bullet while preserving the spacing."
loading="lazy"
decoding="async"
/>
<figcaption>
Adding the player's direction rotates every bullet by the same
angle.
</figcaption>
</figure>
</div>
</section>
<section class="section">
<div class="container feature-case">
<div>
<p class="eyebrow">Case study · CTF</p>
<h2>Solve a CTF flag checker</h2>
<p>
Use REA to inspect an easy DownUnderCTF binary. Extract its
checking rules, solve for the flag and confirm that the original
program accepts it.
</p>
<a class="text-link" href="showcase/ctf/">See the CTF solution</a>
</div>
<figure class="workflow-figure case-preview">
<p class="figure-title">One check reveals one character</p>
<div class="code-block">
<div class="code-header">
<span>From REA's code and data</span>
</div>
<pre><code>Mask: skip 21, select 1, skip 14
Target: 55
code[21] = 55 → '7'</code></pre>
</div>
<figcaption>
Each mask selects characters whose codes must add up to a stored
number. This one selects a single character.
</figcaption>
</figure>
</div>
</section>
<section class="section">
<div class="container start-row">
<div>
<h2>What would you like to understand?</h2>
<p>
Connect REA to your coding agent, or run your first analysis from
the terminal.
</p>
</div>
<a class="button" href="get-started/">Get started</a>
</div>
</section>
</main>
<footer class="site-footer">
<div class="container footer-inner">