From 273d62ed80d42c27b015576e457cbfcb74b3ea7b Mon Sep 17 00:00:00 2001 From: Devin Zuczek Date: Fri, 24 Jul 2026 23:01:03 -0400 Subject: [PATCH] new www --- apps/www/index.html | 22 +- apps/www/src/client/App.tsx | 216 +++++++++--- apps/www/src/client/styles.css | 596 ++++++++++++++++++++++++++------- 3 files changed, 664 insertions(+), 170 deletions(-) diff --git a/apps/www/index.html b/apps/www/index.html index f81b56c..faf638b 100644 --- a/apps/www/index.html +++ b/apps/www/index.html @@ -3,7 +3,27 @@ - RecFlare + RecFlare — an open source implementation of the 2023 RecNet servers + + + + + + + +
diff --git a/apps/www/src/client/App.tsx b/apps/www/src/client/App.tsx index d5d72dd..0e34a6b 100644 --- a/apps/www/src/client/App.tsx +++ b/apps/www/src/client/App.tsx @@ -1,4 +1,18 @@ -import { useCallback, useEffect, useState, type ReactNode } from 'react' +import { useCallback, useEffect, useState } from 'react' + +import type { ReactNode } from 'react' + +/** The community Discord — the join instructions and the build both live there. */ +const DISCORD_INVITE = 'https://discord.gg/HhmMAKhrz' + +/** Where the stage's "Download for PC" button goes: the client's release listing. */ +const DOWNLOAD_URL = 'https://github.com/djdevin/recflare-client/releases' + +/** The public source repo, linked from the homepage and footer. */ +const SOURCE_REPO = 'https://github.com/djdevin/recflare' + +/** The repo's licence, behind the footer's "MIT licensed". */ +const LICENSE_URL = `${SOURCE_REPO}/blob/main/LICENSE` /** The self-account shape returned by the www BFF (`/api/me`, `/api/login`, …). */ interface SelfAccount { @@ -105,10 +119,33 @@ export function App() { ) : ( )} + ) } +/** Footer: where to go next, plus the affiliation disclaimer. */ +function SiteFooter() { + return ( + + ) +} + /** Top nav: brand → home, plus a sign-in / my-account link for the session. */ function NavBar({ account, @@ -127,6 +164,9 @@ function NavBar({ RecFlare