Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

feat(website): add GitHub link with live star count

morluto2f59287f1a17
diff --git a/website/public/assets/main.js b/website/public/assets/main.js
index e11e0c161..98751f280 100644
--- a/website/public/assets/main.js
+++ b/website/public/assets/main.js
@@ -106,3 +106,32 @@ function initializeBackToTop() {
}
initializeBackToTop();
+
+async function initializeGitHubStars() {
+ const link = document.querySelector(".nav-github");
+ const count = link?.querySelector(".nav-github-count");
+ if (count === null || count === undefined) return;
+
+ try {
+ const response = await fetch("https://api.github.com/repos/morluto/rea", {
+ headers: { Accept: "application/vnd.github+json" },
+ credentials: "omit",
+ signal: AbortSignal.timeout(5000),
+ });
+ if (!response.ok) return;
+ const repository = await response.json();
+ const stars = repository.stargazers_count;
+ if (!Number.isSafeInteger(stars) || stars < 0) return;
+
+ const formatted = new Intl.NumberFormat("en-US").format(stars);
+ const label = `REA on GitHub (${formatted} ${stars === 1 ? "star" : "stars"})`;
+ count.textContent = formatted;
+ count.hidden = false;
+ link.setAttribute("aria-label", label);
+ link.setAttribute("title", label);
+ } catch {
+ // Keep the repository link usable when GitHub is unavailable.
+ }
+}
+
+initializeGitHubStars();
diff --git a/website/public/assets/styles.css b/website/public/assets/styles.css
index a7694af9b..8a21650a8 100644
--- a/website/public/assets/styles.css
+++ b/website/public/assets/styles.css
@@ -129,9 +129,9 @@ section[id] {
}
.header-inner {
min-height: 88px;
- display: flex;
+ display: grid;
+ grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
- justify-content: space-between;
gap: 2rem;
}
.brand {
@@ -153,6 +153,7 @@ section[id] {
.navigation {
display: flex;
align-items: center;
+ justify-content: flex-end;
gap: 1.8rem;
font-size: 0.9rem;
}
@@ -171,6 +172,32 @@ section[id] {
.navigation .nav-start {
color: var(--ink);
}
+.nav-github {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ min-width: 44px;
+ height: 44px;
+ padding-inline: 10px;
+ gap: 8px;
+ border: 1px solid var(--line);
+ border-radius: 10px;
+ color: var(--muted);
+ text-decoration: none;
+}
+.nav-github:hover {
+ background: var(--soft);
+ color: var(--ink);
+}
+.nav-github svg {
+ display: block;
+ flex-shrink: 0;
+}
+.nav-github-count {
+ font-size: 0.875rem;
+ font-weight: 600;
+ font-variant-numeric: tabular-nums;
+}
.faq-list {
border-top: 1px solid var(--line);
}
@@ -1078,18 +1105,23 @@ pre code {
}
.header-inner {
min-height: 78px;
- flex-wrap: wrap;
- justify-content: flex-start;
+ grid-template-columns: minmax(0, 1fr) auto;
gap: 0.55rem;
padding-block: 0.8rem;
}
.navigation {
+ grid-row: 2;
+ grid-column: 1 / -1;
width: 100%;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.5rem 0.25rem;
font-size: 0.875rem;
}
+ .nav-github {
+ grid-row: 1;
+ grid-column: 2;
+ }
.hero {
padding-block: 3.5rem 3rem;
}
diff --git a/website/public/faq/index.html b/website/public/faq/index.html
index f6e24ca09..9ef107adc 100644
--- a/website/public/faq/index.html
+++ b/website/public/faq/index.html
@@ -26,8 +26,27 @@
<a class="nav-start" href="../get-started/">Get started</a>
<a href="../guides/">Guides</a>
<a href="./" aria-current="page">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/get-started/index.html b/website/public/get-started/index.html
index 042c74c45..25b3e57c6 100644
--- a/website/public/get-started/index.html
+++ b/website/public/get-started/index.html
@@ -25,8 +25,27 @@
<a href="../showcase/">Showcases</a
><a class="nav-start" href="./" aria-current="page">Get started</a
><a href="../guides/">Guides</a><a href="../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/guides/browser/index.html b/website/public/guides/browser/index.html
index b330215c0..1858727d1 100644
--- a/website/public/guides/browser/index.html
+++ b/website/public/guides/browser/index.html
@@ -25,8 +25,27 @@
<a href="../../showcase/">Showcases</a
><a class="nav-start" href="../../get-started/">Get started</a
><a href="../">Guides</a><a href="../../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/guides/index.html b/website/public/guides/index.html
index d6c953d4d..b84b11176 100644
--- a/website/public/guides/index.html
+++ b/website/public/guides/index.html
@@ -25,8 +25,27 @@
<a href="../showcase/">Showcases</a
><a class="nav-start" href="../get-started/">Get started</a
><a href="./" aria-current="page">Guides</a><a href="../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/guides/javascript/index.html b/website/public/guides/javascript/index.html
index e7186f0ce..b7d559c50 100644
--- a/website/public/guides/javascript/index.html
+++ b/website/public/guides/javascript/index.html
@@ -25,8 +25,27 @@
<a href="../../showcase/">Showcases</a
><a class="nav-start" href="../../get-started/">Get started</a
><a href="../">Guides</a><a href="../../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/guides/native/index.html b/website/public/guides/native/index.html
index ba28535c3..d5fd3005e 100644
--- a/website/public/guides/native/index.html
+++ b/website/public/guides/native/index.html
@@ -25,8 +25,27 @@
<a href="../../showcase/">Showcases</a
><a class="nav-start" href="../../get-started/">Get started</a
><a href="../">Guides</a><a href="../../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/index.html b/website/public/index.html
index c08ccca61..e315e63ff 100644
--- a/website/public/index.html
+++ b/website/public/index.html
@@ -26,8 +26,27 @@
<a class="nav-start" href="get-started/">Get started</a>
<a href="guides/">Guides</a>
<a href="faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main">
diff --git a/website/public/showcase/ctf/index.html b/website/public/showcase/ctf/index.html
index e7055038e..d3ed8e85c 100644
--- a/website/public/showcase/ctf/index.html
+++ b/website/public/showcase/ctf/index.html
@@ -26,8 +26,27 @@
<a class="nav-start" href="../../get-started/">Get started</a>
<a href="../../guides/">Guides</a>
<a href="../../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/showcase/dx-ball/index.html b/website/public/showcase/dx-ball/index.html
index 12cc6854f..8394bb56c 100644
--- a/website/public/showcase/dx-ball/index.html
+++ b/website/public/showcase/dx-ball/index.html
@@ -26,8 +26,27 @@
<a class="nav-start" href="../../get-started/">Get started</a>
<a href="../../guides/">Guides</a>
<a href="../../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/showcase/index.html b/website/public/showcase/index.html
index 23a112d9b..4f3083563 100644
--- a/website/public/showcase/index.html
+++ b/website/public/showcase/index.html
@@ -26,8 +26,27 @@
<a class="nav-start" href="../get-started/">Get started</a>
<a href="../guides/">Guides</a>
<a href="../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/showcase/notion/index.html b/website/public/showcase/notion/index.html
index d5dacc178..134d173c5 100644
--- a/website/public/showcase/notion/index.html
+++ b/website/public/showcase/notion/index.html
@@ -26,8 +26,27 @@
<a class="nav-start" href="../../get-started/">Get started</a>
<a href="../../guides/">Guides</a>
<a href="../../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">
diff --git a/website/public/showcase/th04/index.html b/website/public/showcase/th04/index.html
index 1fd59e707..84937ee32 100644
--- a/website/public/showcase/th04/index.html
+++ b/website/public/showcase/th04/index.html
@@ -26,8 +26,27 @@
<a class="nav-start" href="../../get-started/">Get started</a>
<a href="../../guides/">Guides</a>
<a href="../../faq/">FAQ</a>
- <a href="https://github.com/morluto/rea">GitHub</a>
</nav>
+ <a
+ class="nav-github"
+ href="https://github.com/morluto/rea"
+ aria-label="REA on GitHub"
+ title="REA on GitHub"
+ >
+ <svg
+ width="22"
+ height="22"
+ viewBox="0 0 16 16"
+ aria-hidden="true"
+ focusable="false"
+ >
+ <path
+ fill="currentColor"
+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 2-.27c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"
+ />
+ </svg>
+ <span class="nav-github-count" hidden aria-hidden="true"></span>
+ </a>
</div>
</header>
<main id="main" class="container">