Skip to content

Commit 3c57776

Browse files
authored
feat: redesign website with Technical Warmth design system (#2339)
Comprehensive overhaul of the marketing site and docs UI: Marketing site (Qwik / styles/landing.css, tailwind.css): - Redesign header, footer, hero, book-banner, and shared sections - Reskin terminal animation with real Claude Code UX (typing, status, thinking steps, token counter, natural-language prompts) - Add Cloud pricing tier and update community icons - Increase logo size; add hover tooltips to header icons - Numerous Qwik component refinements and animation accuracy fixes Docs (Starlight / styles/custom.css): - Apply Technical Warmth tokens: warm beige bg, purple accent, hairlines - Override Starlight CSS variables for both light/dark modes (with proper --sl-color-white/black inversion in light mode) - Restyle hamburger menu (no white-circle artifact; hidden on desktop) - Compact, themed mobile "On this page" toggle with visible dropdown links - Tighten right-sidebar ToC heading scale; pagination cards with 2px border + 4px radius and proper dark-mode contrast - Re-skin asides (note/tip/caution/danger) to match card-warm pattern - Recolor social icons (GitHub/Slack) to track active theme - Widen content column to 56rem; trim sidebar to 16rem Infra: - Switch adapter from Deno to @astrojs/cloudflare; add wrangler config - Resolve Qwik WASM template literal errors - Various content tweaks across docs/contribute, deployment-examples, and other .mdx pages
1 parent 5699a27 commit 3c57776

54 files changed

Lines changed: 4762 additions & 1660 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/styles/config/vocabularies/TraceMachina/accept.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ JDK
2727
JSON
2828
Kustomization
2929
Kustomizations
30+
Justbuild
3031
LastMile
3132
LastMileAI
3233
LLD
@@ -47,10 +48,12 @@ OCI
4748
onboarding
4849
OSSF
4950
protobuf
51+
Recc
5052
Reclient
5153
Rosetta
5254
[Rr]epository
5355
[Ss]harding
56+
Siso
5457
SPDX
5558
Starlark
5659
Tokio
@@ -122,6 +125,11 @@ Brex
122125
Citrix
123126
Menlo
124127
benchmarked
128+
[Bb]orderless
129+
CTAs
130+
keyframe
131+
[Mm]ockup
132+
[Mm]onospace
125133
Thanos
126134
Quickwit
127135
[Mm]iddleware

.github/workflows/web.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,15 @@ jobs:
6060
if: matrix.os == 'ubuntu-24.04' && github.ref == 'refs/heads/main'
6161
working-directory: web/platform
6262
env:
63-
DENO_DEPLOY_TOKEN: ${{ secrets.DENO_DEPLOY_TOKEN }}
63+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
64+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
65+
WRANGLER_LOG_PATH: ${{ runner.temp }}/wrangler
6466
run: |
6567
nix develop --fallback --impure --command bash -c "
66-
bun prod --project=nativelink --org=nativelink \
67-
--token=$DENO_DEPLOY_TOKEN \
68+
bun install && \
69+
bun docs && \
70+
bun run build && \
71+
bun wrangler deploy
6872
"
6973
7074
- name: Teardown Worker

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ user.bazelrc
2525
*.log
2626
buck-out/
2727
nativelink_config.schema.json
28+
.gstack/

web/platform/astro.config.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1+
import type { ViteUserConfig } from "astro";
12
import { defineConfig, passthroughImageService } from "astro/config";
2-
import type { AstroUserConfig } from "astro";
33

44
import { rehypeHeadingIds } from "@astrojs/markdown-remark";
55
import react from "@astrojs/react";
66
import sitemap from "@astrojs/sitemap";
77
import starlight from "@astrojs/starlight";
88

9+
import cloudflare from "@astrojs/cloudflare";
910
import partytown from "@astrojs/partytown";
10-
import deno from "@deno/astro-adapter";
1111
import qwik from "@qwikdev/astro";
1212
import tailwindcss from "@tailwindcss/vite";
1313

@@ -16,8 +16,8 @@ import rehypeAutolinkHeadings from "rehype-autolink-headings";
1616

1717
import { starlightConfig } from "./starlight.conf";
1818

19-
type AstroVitePlugins = NonNullable<
20-
NonNullable<AstroUserConfig["vite"]>["plugins"]
19+
const tailwindPlugins = tailwindcss() as unknown as NonNullable<
20+
ViteUserConfig["plugins"]
2121
>;
2222

2323
// https://astro.build/config
@@ -27,10 +27,7 @@ export default defineConfig({
2727
image: {
2828
service: passthroughImageService(),
2929
},
30-
adapter: deno({
31-
port: 8881,
32-
hostname: "localhost",
33-
}),
30+
adapter: cloudflare(),
3431
redirects: {
3532
"/blog/case-study%3A-samsung-internet's-integration-with-nativelink": {
3633
status: 301,
@@ -79,6 +76,6 @@ export default defineConfig({
7976
],
8077
},
8178
vite: {
82-
plugins: tailwindcss() as unknown as AstroVitePlugins,
79+
plugins: tailwindPlugins,
8380
},
8481
});

web/platform/biome.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"dist",
1818
"node_modules",
1919
"deno.d.ts",
20+
".wrangler",
2021
".lighthouseci"
2122
]
2223
},
@@ -34,6 +35,11 @@
3435
"React"
3536
]
3637
},
38+
"json": {
39+
"formatter": {
40+
"lineWidth": 1
41+
}
42+
},
3743
"linter": {
3844
"enabled": true,
3945
"rules": {

web/platform/bun.lock

Lines changed: 377 additions & 465 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/platform/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"type": "module",
44
"devDependencies": {
55
"@astrojs/check": "^0.9.4",
6+
"@astrojs/cloudflare": "12.6.13",
67
"@astrojs/markdown-remark": "^7.0.0",
78
"@astrojs/partytown": "^2.1.4",
89
"@astrojs/react": "^5.0.0",
@@ -13,7 +14,6 @@
1314
"@beoe/rehype-mermaid": "^0.4.2",
1415
"@biomejs/biome": "1.9.4",
1516
"@builder.io/qwik": "^1.13.0",
16-
"@deno/astro-adapter": "^0.2.1",
1717
"@lhci/cli": "^0.14.0",
1818
"@lorenzo_lewis/starlight-utils": "^0.3.2",
1919
"@qwikdev/astro": "^0.7.12",
@@ -22,7 +22,7 @@
2222
"@react-three/fiber": "^9.1.2",
2323
"@tailwindcss/vite": "^4.1.5",
2424
"@types/bun": "^1.2.12",
25-
"astro": "5.18.1",
25+
"astro": "5.15.9",
2626
"clsx": "^2.1.1",
2727
"dotenv": "^17.0.0",
2828
"framer-motion": "^12.9.4",
@@ -38,8 +38,9 @@
3838
"remark-stringify": "^11.0.0",
3939
"tailwind-merge": "^3.2.0",
4040
"tailwindcss": "^4.1.5",
41-
"typescript": "^6.0.0",
42-
"unist-util-visit": "^5.0.0"
41+
"typescript": "^5.8.3",
42+
"unist-util-visit": "^5.0.0",
43+
"wrangler": "^4.93.1"
4344
},
4445
"patchedDependencies": {
4546
"@qwikdev/astro@0.7.12": "patches/@qwikdev%2Fastro@0.7.12.patch"
@@ -48,7 +49,7 @@
4849
"astro": "astro",
4950
"biome": "biome",
5051
"build": "bun fix && astro build",
51-
"build.docs": "cd ../.. && unset TMPDIR TMP; bazel build --@local-remote-execution//rust:channel=nightly nativelink-config:docs_json && cd web/platform && bun run utils/metaphase_aot.ts",
52+
"build.docs": "cd ../.. && unset TMPDIR TMP; bazel build --config=nightly --@local-remote-execution//rust:channel=nightly nativelink-config:docs_json && cd web/platform && bun run utils/metaphase_aot.ts",
5253
"check": "biome ci . && astro check",
5354
"check.format": "biome format .",
5455
"check.lint": "biome check .",

web/platform/public/.assetsignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_worker.js

0 commit comments

Comments
 (0)