Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d8bc675
Add CodeAgora landing page
justn-hyeok Jun 16, 2026
65d259e
Improve landing page review arena design
justn-hyeok Jun 16, 2026
e99d122
Add interactive landing review arena
justn-hyeok Jun 16, 2026
b67b1c4
Expand landing page product story
justn-hyeok Jun 16, 2026
c435de6
Polish landing page visual hierarchy
justn-hyeok Jun 16, 2026
2c7c009
Apply Gemini landing page review fixes
justn-hyeok Jun 16, 2026
cb2ae06
Refine landing page text hierarchy
justn-hyeok Jun 16, 2026
0fdd4ba
Reduce landing page oversized heading weight
justn-hyeok Jun 16, 2026
f7becdf
Enhance landing install terminal
justn-hyeok Jun 16, 2026
e0192b8
Fix landing page review blockers
justn-hyeok Jun 16, 2026
4ec6519
Add landing page SEO metadata
justn-hyeok Jun 16, 2026
bf9f0e3
Configure Vercel site deployment
justn-hyeok Jun 16, 2026
298cbe4
Deploy landing page to Vercel
justn-hyeok Jun 16, 2026
640a38f
Expand landing page SEO content
justn-hyeok Jun 16, 2026
23c3df1
Add landing page interaction polish
justn-hyeok Jun 16, 2026
06efd1c
Restyle landing page from poster direction
justn-hyeok Jun 16, 2026
630ec6a
Simplify poster-inspired landing design
justn-hyeok Jun 16, 2026
2e319e8
Reduce landing page copy density
justn-hyeok Jun 16, 2026
d6567b7
feat(site): rebuild landing page with Astro
justn-hyeok Jun 17, 2026
56a5a87
feat(site): add interactive landing experiences
justn-hyeok Jun 17, 2026
bbe89fb
feat(site): align landing preview with desktop app
justn-hyeok Jun 17, 2026
0a15edb
feat(site): refine landing layout and branding
justn-hyeok Jun 17, 2026
149ded5
fix(site): keep landing CI compatible with Node 20
justn-hyeok Jun 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ node_modules/
dist/*
!dist/action.js
packages/*/dist/
packages/site/.astro/
packages/site/public/
*.tsbuildinfo

# Environment & Secrets
Expand Down
29 changes: 29 additions & 0 deletions .vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/.claude
/.github
/.slim
/benchmarks
/dist
/docs
/examples
/model-sweeps
/node_modules
/scripts
/src
/packages/cli
/packages/core
/packages/desktop
/packages/github
/packages/mcp
/packages/shared
/codeagora-desktop-cockpit-run.png

!assets
!assets/logo.svg
!packages
!packages/site
!packages/site/**
!package.json
!pnpm-lock.yaml
!pnpm-workspace.yaml
!tsconfig.json
!tsconfig.base.json
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@
"bench:fn:compare": "tsx scripts/bench-fn-compare.ts",
"bench:reference": "tsx scripts/bench-reference-check.ts",
"bench:ci": "pnpm bench:fn -- --validate-only && pnpm bench:reference -- --validate-only",
"bench:rate-limit": "tsx scripts/bench-rate-limit-sim.ts"
"bench:rate-limit": "tsx scripts/bench-rate-limit-sim.ts",
"site:build": "pnpm --filter @codeagora/site build",
"site:dev": "pnpm --filter @codeagora/site dev",
"site:smoke": "pnpm --filter @codeagora/site smoke"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.58",
Expand All @@ -99,6 +102,7 @@
"@eslint/js": "^10.0.1",
"@types/node": "^20.11.5",
"@vitest/coverage-v8": "^1.6.1",
"astro": "^5.18.2",
"esbuild": "^0.27.4",
"eslint": "^10.0.3",
"tsup": "^8.0.1",
Expand Down
16 changes: 16 additions & 0 deletions packages/site/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!-- Parent: ../AGENTS.md -->
<!-- Generated: 2026-06-16 -->

# packages/site

## Purpose
Astro static marketing landing page for CodeAgora. This package presents the product, installation paths, and supported surfaces without introducing a separate runtime dashboard or review semantics. The shipped output remains static HTML/CSS/JS.

## For AI Agents

- Keep this package static and dependency-light. Astro is used only to author and build the landing page.
- Reuse root brand assets from `assets/`; do not fork the logo.
- Do not claim stable desktop distribution or stable updater support unless release evidence has been updated.
- Keep product claims aligned with CLI, GitHub Action, MCP, and Desktop surfaces.
- Build with `pnpm --filter @codeagora/site build`.
- Run local preview with `pnpm --filter @codeagora/site dev`.
Binary file added packages/site/assets/codeagora-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/site/assets/codeagora-wordmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions packages/site/assets/social-card.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions packages/site/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from "astro/config";

export default defineConfig({
output: "static",
site: "https://codeagora.vercel.app"
});

20 changes: 20 additions & 0 deletions packages/site/codemap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# packages/site

## Responsibility
Astro-authored static landing page for CodeAgora's public product story.

## Entry Points

| File | Purpose |
|---|---|
| `src/pages/index.astro` | Single-page landing markup, content, metadata, and structured data. |
| `src/styles/site.css` | Responsive visual system and layout. |
| `src/scripts/site.js` | Small progressive-enhancement layer for tabs, theme, progress, and copy buttons. |
| `astro.config.mjs` | Astro static build configuration. |
| `scripts/prepare-assets.mjs` | Copies shared logo, social card, robots, and sitemap into Astro `public/`. |
| `scripts/build.mjs` | Prepares public assets and runs `astro build`. |
| `scripts/dev-server.mjs` | Prepares public assets and runs `astro dev`. |
| `scripts/smoke.mjs` | Deterministic package smoke checks. |

## Design
The page uses a product-state hero and compact operational sections rather than a dashboard app. Astro is limited to static site generation. It intentionally does not define configs, session formats, verdict semantics, or provider behavior.
12 changes: 12 additions & 0 deletions packages/site/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "@codeagora/site",
"version": "0.1.0-rc.6",
"private": true,
"type": "module",
"scripts": {
"build": "node scripts/build.mjs",
"dev": "node scripts/dev-server.mjs",
"smoke": "node scripts/smoke.mjs"
}
}

4 changes: 4 additions & 0 deletions packages/site/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://codeagora.vercel.app/sitemap.xml
23 changes: 23 additions & 0 deletions packages/site/scripts/build.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { execFile } from "node:child_process";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { promisify } from "node:util";
import "./prepare-assets.mjs";

const packageRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");
const repoRoot = resolve(packageRoot, "../..");
const execFileAsync = promisify(execFile);

await execFileAsync(
"pnpm",
[
"exec",
"astro",
"build",
"--root",
packageRoot
],
{ cwd: repoRoot }
);

console.log("Built CodeAgora Astro site at ./packages/site/dist");
23 changes: 23 additions & 0 deletions packages/site/scripts/dev-server.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { spawn } from "node:child_process";
import { dirname } from "node:path";
import { resolve } from "node:path";
import { fileURLToPath } from "node:url";
import "./prepare-assets.mjs";

const packageRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");
const repoRoot = resolve(packageRoot, "../..");
const requestedPort = Number.parseInt(process.env.PORT ?? "4173", 10);

const child = spawn(
"pnpm",
["exec", "astro", "dev", "--root", packageRoot, "--host", "127.0.0.1", "--port", String(requestedPort)],
{ cwd: repoRoot, stdio: "inherit" }
);

child.on("exit", (code, signal) => {
if (signal) {
process.kill(process.pid, signal);
return;
}
process.exit(code ?? 0);
});
20 changes: 20 additions & 0 deletions packages/site/scripts/prepare-assets.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { copyFile, mkdir } from "node:fs/promises";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";

const packageRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");

const assets = [
["../../assets/logo.svg", "public/assets/logo.svg"],
["assets/codeagora-icon.png", "public/assets/codeagora-icon.png"],
["assets/codeagora-wordmark.png", "public/assets/codeagora-wordmark.png"],
["assets/social-card.svg", "public/assets/social-card.svg"],
["robots.txt", "public/robots.txt"],
["sitemap.xml", "public/sitemap.xml"]
];

for (const [from, to] of assets) {
const target = resolve(packageRoot, to);
await mkdir(dirname(target), { recursive: true });
await copyFile(resolve(packageRoot, from), target);
}
95 changes: 95 additions & 0 deletions packages/site/scripts/smoke.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
import { readdir, readFile, stat } from "node:fs/promises";
import { resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { dirname } from "node:path";

const packageRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");

const requiredFiles = [
"dist/index.html",
"dist/assets/logo.svg",
"dist/assets/codeagora-icon.png",
"dist/assets/codeagora-wordmark.png",
"dist/assets/social-card.svg",
"dist/robots.txt",
"dist/sitemap.xml"
];

for (const file of requiredFiles) {
const fileStat = await stat(resolve(packageRoot, file));
if (!fileStat.isFile() || fileStat.size === 0) {
throw new Error(`Missing or empty site artifact: ${file}`);
}
}

const html = await readFile(resolve(packageRoot, "dist/index.html"), "utf8");
const robots = await readFile(resolve(packageRoot, "dist/robots.txt"), "utf8");
const sitemap = await readFile(resolve(packageRoot, "dist/sitemap.xml"), "utf8");
const astroFiles = await readdir(resolve(packageRoot, "dist/_astro"));
const cssFiles = astroFiles.filter((file) => file.endsWith(".css"));

if (cssFiles.length === 0) {
throw new Error("Landing page is missing Astro CSS bundle");
}

const css = (
await Promise.all(cssFiles.map((file) => readFile(resolve(packageRoot, "dist/_astro", file), "utf8")))
).join("\n");

const requiredCopy = [
"CodeAgora",
"npm i -g @codeagora/review@rc",
"GitHub Action",
"MCP",
"Desktop",
"AI가 코드를 쏟아낼수록,",
"검증은 더 치밀해져야 합니다.",
"AI 코드 리뷰 도구",
"GitHub Action 코드 리뷰",
"자주 묻는 질문",
"토론하는 리뷰",
"공식 지원 환경"
];

for (const copy of requiredCopy) {
if (!html.includes(copy)) {
throw new Error(`Landing page is missing required copy: ${copy}`);
}
}

if (html.includes("web dashboard") || html.includes("stable Desktop")) {
throw new Error("Landing page contains out-of-scope surface claims");
}

const requiredSeo = [
'rel="canonical"',
'property="og:title"',
'property="og:image"',
'property="og:image:width"',
'name="twitter:card"',
'name="application-name"',
'"@type":"FAQPage"',
'"@type":"BreadcrumbList"',
'type="application/ld+json"',
"https://codeagora.vercel.app/"
];

for (const marker of requiredSeo) {
if (!html.includes(marker)) {
throw new Error(`Landing page is missing SEO marker: ${marker}`);
}
}

if (!robots.includes("Sitemap: https://codeagora.vercel.app/sitemap.xml")) {
throw new Error("robots.txt is missing the canonical sitemap URL");
}

if (!sitemap.includes("<loc>https://codeagora.vercel.app/</loc>")) {
throw new Error("sitemap.xml is missing the canonical landing URL");
}

if (!css.includes("@media") || !css.includes("prefers-reduced-motion") || !html.includes("data-command-tab")) {
throw new Error("Landing page is missing responsive CSS, reduced-motion CSS, or progressive JavaScript");
}

console.log("CodeAgora site smoke passed");
9 changes: 9 additions & 0 deletions packages/site/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://codeagora.vercel.app/</loc>
<lastmod>2026-06-16</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
</urlset>
Loading