Website: 16-bit pixel-art rebuild with a live Three.js office, downloads from Gitea v1.5.1
CI / Typecheck, lint, tests, e2e (push) Failing after 3m51s
CI / Typecheck, lint, tests, e2e (push) Failing after 3m51s
- Title screen over a real-time voxel office rendered at low resolution and quantized to a rotating 32-colour palette with Bayer dithering; day part and season re-light the scene and every surface. - 16-bit UI kit: name-plate dialogs, menu cursor, inventory, XP bar, badges, NPC speech, GAME OVER with CONTINUE, hand-placed 12x12 icons, Fusion Pixel font (Latin subset preloaded). - Sections as a game: quest log (onboarding), character select (AI CEO / AI Co-Founder), inventory (features), party roster (providers), live download XP, save point (all v1.5.1 builds), FAQ as NPC dialog, credits. - Downloads and source point to the Gitea release; the download function only redirects to git.zacharyzhang.com. - Tailwind and the old components removed; unit tests for platform/downloads, rewritten e2e suite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e374bc1e8e
commit
2d7af224dd
112 files changed
+5692
-4223
No files matched your search
+157
-219
@@ -1,246 +1,184 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
/*
|
||||
* AgentCompany landing — design system.
|
||||
* Light theme is a faithful rendering of the adaline pebble/meadow palette
|
||||
* (warm cream + dark green). Dark theme uses the matching Material-3 dark
|
||||
* surfaces + mint primary. Components consume the CSS variables below, so the
|
||||
* whole palette is defined once here.
|
||||
*/
|
||||
|
||||
@theme {
|
||||
--font-sans: var(--font-instrument-sans), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
|
||||
--font-serif: var(--font-newsreader), "Source Serif Pro", Georgia, "Times New Roman", serif;
|
||||
--font-mono: var(--font-jetbrains-mono), ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
|
||||
--font-display: var(--font-instrument-serif), "Cormorant Garamond", Georgia, serif;
|
||||
/* Fusion Pixel 12px (OFL, see /fonts/fusion-pixel-licenses): a small Latin subset, and the full CJK file only when CJK text appears. */
|
||||
@font-face {
|
||||
font-family: "Fusion Pixel";
|
||||
font-display: swap;
|
||||
src: url("/fonts/FusionPixel-12px-zh_hans.woff2") format("woff2");
|
||||
unicode-range: U+3000-303F, U+4E00-4E2C, U+4E2E-4F52, U+4F54-6586, U+6588-7B7F, U+7B81-9FFF, U+FF00-FFEF;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Fusion Pixel";
|
||||
font-display: swap;
|
||||
src: url("/fonts/FusionPixel-12px-latin.woff2") format("woff2");
|
||||
unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2030-203A, U+2122, U+2190-21FF, U+2500-26FF, U+4E2D, U+4F53, U+6587, U+7B80;
|
||||
}
|
||||
|
||||
/* ── Light theme (pebble / meadow) ── */
|
||||
/* Palette inks are registered colours so a palette swap fades in four hard steps, like a 16-bit palette cycle. */
|
||||
@property --ink-void { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-shadow { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-ink { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-ink-soft { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-stone { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-stone-light { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-paper { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-white { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-sky-0 { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-sky-1 { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-sky-2 { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-sky-3 { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-sun { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-glow { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-cloud { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-star { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-wood { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-wood-dark { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-brick { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-rug { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-leaf-0 { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-leaf-1 { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-leaf-2 { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-bloom { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-accent { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-accent-dark { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-gold { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-mint { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-sea { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-berry { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-skin { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
@property --ink-screen { syntax: "<color>"; inherits: true; initial-value: #000; }
|
||||
|
||||
/* The day palette (lib/palette.ts) for first paint without script; PaletteClock overwrites these on <html>. */
|
||||
:root {
|
||||
--bg: #fbfdf6;
|
||||
--bg-subtle: #f8f9f5;
|
||||
--panel: #fdfefb;
|
||||
--panel-soft: #f1f3ef;
|
||||
--panel-illustration: #eff2e8;
|
||||
--text: #0a1d08;
|
||||
--text-secondary: #2e3b28;
|
||||
--muted: #6b7860;
|
||||
--muted-strong: #505c47;
|
||||
--accent: #203b14;
|
||||
--accent-hover: #13290e;
|
||||
--accent-soft: #ecf2df;
|
||||
--text-on-accent: #fbfdf6;
|
||||
--cta: #203b14;
|
||||
--cta-hover: #13290e;
|
||||
--cta-soft: rgba(32, 59, 20, 0.06);
|
||||
--text-on-cta: #fbfdf6;
|
||||
--text-on-cta-muted: rgba(251, 253, 246, 0.75);
|
||||
--text-on-cta-faint: rgba(251, 253, 246, 0.6);
|
||||
--border: #e1e6df;
|
||||
--border-strong: #c4cbc2;
|
||||
--border-cool: #c4cbc2;
|
||||
--band: #2a332a;
|
||||
--band-text: #fbfdf6;
|
||||
--band-border: rgba(253, 254, 251, 0.24);
|
||||
--footer-bg: #050e11;
|
||||
--footer-text: #fbfdf6;
|
||||
--glow-warm: rgba(32, 59, 20, 0.05);
|
||||
--glow-accent: rgba(99, 143, 61, 0.06);
|
||||
--section-alt: rgba(32, 59, 20, 0.02);
|
||||
--aurora-mint: rgba(94, 236, 151, 0.22);
|
||||
--aurora-teal: rgba(45, 212, 191, 0.16);
|
||||
--aurora-lime: rgba(137, 175, 84, 0.16);
|
||||
--p0: #0b0a12; --p1: #1d1b2b; --p2: #2f2c40; --p3: #4a4660;
|
||||
--p4: #6d6884; --p5: #9a95ad; --p6: #e9e2cf; --p7: #fbf7ec;
|
||||
--p8: #3f7fd1; --p9: #68a2e6; --p10: #9cc6f2; --p11: #d4e8fa;
|
||||
--p12: #ffe08a; --p13: #fff2c2; --p14: #f4f7fb; --p15: #ffffff;
|
||||
--p16: #a8693c; --p17: #6e3f23; --p18: #b4533f; --p19: #5d6ea8;
|
||||
--p20: #235c2e; --p21: #3f8f3f; --p22: #78c050; --p23: #ffd35c;
|
||||
--p24: #e0663d; --p25: #9c3b22; --p26: #f2b632; --p27: #5fd3a8;
|
||||
--p28: #2a8fa8; --p29: #c4466f; --p30: #f1c79a; --p31: #7ef0c2;
|
||||
--ink-void: var(--p0); --ink-shadow: var(--p1); --ink-ink: var(--p2); --ink-ink-soft: var(--p3);
|
||||
--ink-stone: var(--p4); --ink-stone-light: var(--p5); --ink-paper: var(--p6); --ink-white: var(--p7);
|
||||
--ink-sky-0: var(--p8); --ink-sky-1: var(--p9); --ink-sky-2: var(--p10); --ink-sky-3: var(--p11);
|
||||
--ink-sun: var(--p12); --ink-glow: var(--p13); --ink-cloud: var(--p14); --ink-star: var(--p15);
|
||||
--ink-wood: var(--p16); --ink-wood-dark: var(--p17); --ink-brick: var(--p18); --ink-rug: var(--p19);
|
||||
--ink-leaf-0: var(--p20); --ink-leaf-1: var(--p21); --ink-leaf-2: var(--p22); --ink-bloom: var(--p23);
|
||||
--ink-accent: var(--p24); --ink-accent-dark: var(--p25); --ink-gold: var(--p26); --ink-mint: var(--p27);
|
||||
--ink-sea: var(--p28); --ink-berry: var(--p29); --ink-skin: var(--p30); --ink-screen: var(--p31);
|
||||
|
||||
/* UI roles. Dawn, day and dusk are paper-and-ink; night (below) inverts to a lit-window look. */
|
||||
--ui-ground: var(--ink-paper);
|
||||
--ui-dither: var(--ink-white);
|
||||
--ui-panel: var(--ink-white);
|
||||
--ui-text: var(--ink-void);
|
||||
--ui-muted: var(--ink-ink-soft);
|
||||
--ui-line: var(--ink-void);
|
||||
--ui-on-line: var(--ink-white);
|
||||
--ui-hi: var(--ink-star);
|
||||
--ui-lo: var(--ink-stone-light);
|
||||
--ui-drop: var(--ink-stone-light);
|
||||
--ui-focus: var(--ink-void);
|
||||
--ui-danger: var(--ink-accent-dark);
|
||||
--ui-select: var(--ink-accent-dark);
|
||||
--ui-xp: var(--ink-mint);
|
||||
--ui-xp-off: var(--ink-ink-soft);
|
||||
|
||||
/* --px snaps one font pixel to whole device pixels (set before paint by PaletteClock); --u is one 2× art pixel. */
|
||||
--px: 1;
|
||||
--u: calc(2px * var(--px));
|
||||
--fs-1: calc(12px * var(--px));
|
||||
--fs-2: calc(24px * var(--px));
|
||||
--fs-3: calc(36px * var(--px));
|
||||
--fs-4: calc(48px * var(--px));
|
||||
|
||||
color-scheme: light;
|
||||
transition-property:
|
||||
--ink-void, --ink-shadow, --ink-ink, --ink-ink-soft, --ink-stone, --ink-stone-light, --ink-paper, --ink-white,
|
||||
--ink-sky-0, --ink-sky-1, --ink-sky-2, --ink-sky-3, --ink-sun, --ink-glow, --ink-cloud, --ink-star,
|
||||
--ink-wood, --ink-wood-dark, --ink-brick, --ink-rug, --ink-leaf-0, --ink-leaf-1, --ink-leaf-2, --ink-bloom,
|
||||
--ink-accent, --ink-accent-dark, --ink-gold, --ink-mint, --ink-sea, --ink-berry, --ink-skin, --ink-screen;
|
||||
transition-duration: 600ms;
|
||||
transition-timing-function: steps(4, jump-end);
|
||||
}
|
||||
|
||||
/* ── Dark theme (Material-3 dark surfaces + mint primary) ── */
|
||||
.dark {
|
||||
--bg: #131515;
|
||||
--bg-subtle: #171b1c;
|
||||
--panel: #1d2226;
|
||||
--panel-soft: #20262a;
|
||||
--panel-illustration: #1d2226;
|
||||
--text: #d8e3dd;
|
||||
--text-secondary: #b2c3bf;
|
||||
--muted: #93a49e;
|
||||
--muted-strong: #b2c3bf;
|
||||
--accent: #5eec97;
|
||||
--accent-hover: #4af58f;
|
||||
--accent-soft: #1c4534;
|
||||
--text-on-accent: #124627;
|
||||
--cta: #5eec97;
|
||||
--cta-hover: #4af58f;
|
||||
--cta-soft: rgba(94, 236, 151, 0.1);
|
||||
--text-on-cta: #124627;
|
||||
--text-on-cta-muted: rgba(18, 70, 39, 0.75);
|
||||
--text-on-cta-faint: rgba(18, 70, 39, 0.55);
|
||||
--border: #2c343b;
|
||||
--border-strong: #3b454f;
|
||||
--border-cool: #3b454f;
|
||||
--band: #0b1510;
|
||||
--band-text: #d8e3dd;
|
||||
--band-border: rgba(216, 227, 221, 0.2);
|
||||
--footer-bg: #05090b;
|
||||
--footer-text: #d8e3dd;
|
||||
--glow-warm: rgba(94, 236, 151, 0.05);
|
||||
--glow-accent: rgba(94, 236, 151, 0.04);
|
||||
--section-alt: rgba(94, 236, 151, 0.03);
|
||||
--aurora-mint: rgba(94, 236, 151, 0.3);
|
||||
--aurora-teal: rgba(45, 212, 191, 0.22);
|
||||
--aurora-lime: rgba(137, 175, 84, 0.18);
|
||||
:root[data-daypart="night"] {
|
||||
--ui-ground: var(--ink-shadow);
|
||||
--ui-dither: var(--ink-void);
|
||||
--ui-panel: var(--ink-ink);
|
||||
--ui-text: var(--ink-star);
|
||||
--ui-muted: var(--ink-glow);
|
||||
--ui-line: var(--ink-glow);
|
||||
--ui-on-line: var(--ink-void);
|
||||
--ui-hi: var(--ink-stone);
|
||||
--ui-lo: var(--ink-void);
|
||||
--ui-drop: var(--ink-void);
|
||||
--ui-focus: var(--ink-gold);
|
||||
--ui-danger: var(--ink-accent);
|
||||
--ui-select: var(--ink-accent);
|
||||
--ui-xp-off: var(--ink-stone);
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
/* ── Base ── */
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: var(--font-sans);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-rendering: optimizeLegibility;
|
||||
line-height: 1.55;
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
color: var(--ui-text);
|
||||
font-family: "Fusion Pixel", ui-monospace, monospace;
|
||||
font-size: var(--fs-1);
|
||||
line-height: 1.5;
|
||||
font-synthesis: none;
|
||||
-webkit-font-smoothing: none;
|
||||
text-rendering: optimizeSpeed;
|
||||
image-rendering: pixelated;
|
||||
overflow-x: clip;
|
||||
/* Ground: a sparse two-colour dither, one art pixel lit in every 4×4 block on alternating diagonals. */
|
||||
background:
|
||||
conic-gradient(from 270deg at var(--u) var(--u), var(--ui-dither) 25%, transparent 0) 0 0 / calc(4 * var(--u)) calc(4 * var(--u)),
|
||||
conic-gradient(from 270deg at var(--u) var(--u), var(--ui-dither) 25%, transparent 0) calc(2 * var(--u)) calc(2 * var(--u)) / calc(4 * var(--u)) calc(4 * var(--u)),
|
||||
var(--ui-ground);
|
||||
}
|
||||
|
||||
.font-display {
|
||||
font-family: var(--font-display);
|
||||
font-variant-ligatures: common-ligatures discretionary-ligatures;
|
||||
h1, h2, h3, h4, h5, h6, b, strong, th {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
button, input, select, textarea {
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
img, svg, canvas, video {
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: var(--accent);
|
||||
color: var(--text-on-accent);
|
||||
background: var(--ink-gold);
|
||||
color: var(--ink-void);
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
outline: var(--u) solid var(--ui-focus);
|
||||
outline-offset: var(--u);
|
||||
}
|
||||
|
||||
:focus:not(:focus-visible) {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* ── Eyebrow / small-caps mono label ── */
|
||||
.eyebrow {
|
||||
font-family: var(--font-mono);
|
||||
font-variant-caps: all-small-caps;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
/* ── Scrollbar ── */
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--border-strong);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--muted);
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--border-strong) transparent;
|
||||
}
|
||||
|
||||
/* ── Entrance + reveal motion (faithful to adaline: ease-out-quint) ── */
|
||||
@keyframes nav-enter {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes rise-enter {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(14px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.enter-nav {
|
||||
animation: nav-enter 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
|
||||
}
|
||||
|
||||
.enter-rise {
|
||||
animation: rise-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||
}
|
||||
|
||||
/*
|
||||
* Scroll-reveal primitive. Progressive enhancement: content is visible by
|
||||
* default and only starts hidden once the `js` class is present, so the page
|
||||
* stays fully readable if scripts never run.
|
||||
*/
|
||||
.reveal {
|
||||
transition:
|
||||
opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
|
||||
transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
|
||||
transition-delay: var(--reveal-delay, 0ms);
|
||||
}
|
||||
|
||||
.js .reveal {
|
||||
opacity: 0;
|
||||
transform: translateY(16px);
|
||||
}
|
||||
|
||||
.js .reveal[data-in-view="true"] {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* ── Aurora: slow-drifting gradient light for dark showcase surfaces ── */
|
||||
@keyframes aurora-drift {
|
||||
0% {
|
||||
transform: translate3d(0, 0, 0) scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: translate3d(-4%, 3%, 0) scale(1.12);
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(0, 0, 0) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.aurora-layer {
|
||||
animation: aurora-drift 20s ease-in-out infinite;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
/* ── Reduced motion ── */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
:root {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
|
||||
.js .reveal {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
animation: none !important;
|
||||
transition: none !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
+46
-202
@@ -1,97 +1,29 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Instrument_Sans, Instrument_Serif, Newsreader, JetBrains_Mono } from "next/font/google";
|
||||
import type { Metadata, Viewport } from "next";
|
||||
import type { ReactNode } from "react";
|
||||
import "./globals.css";
|
||||
import { ThemeProvider } from "../components/theme/theme-provider";
|
||||
import { PaletteClock } from "../components/pixel";
|
||||
import { description, faqs } from "../lib/content";
|
||||
import { RELEASE_PAGE_URL, releaseVersion } from "../lib/release-links";
|
||||
import { WEBSITE_URL } from "../lib/site-constants";
|
||||
|
||||
const instrumentSans = Instrument_Sans({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-instrument-sans",
|
||||
display: "swap",
|
||||
weight: ["400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const instrumentSerif = Instrument_Serif({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-instrument-serif",
|
||||
display: "swap",
|
||||
weight: "400",
|
||||
});
|
||||
|
||||
const newsreader = Newsreader({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-newsreader",
|
||||
display: "swap",
|
||||
weight: ["300", "400", "500"],
|
||||
});
|
||||
|
||||
const jetbrainsMono = JetBrains_Mono({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-jetbrains-mono",
|
||||
display: "swap",
|
||||
weight: ["400", "500"],
|
||||
});
|
||||
|
||||
const fontVariables = `${instrumentSans.variable} ${instrumentSerif.variable} ${newsreader.variable} ${jetbrainsMono.variable}`;
|
||||
import {
|
||||
landingHowItWorksNarrative,
|
||||
landingStructuredDataNarrative,
|
||||
} from "../lib/product-narrative";
|
||||
import { platformSupportSummary } from "../lib/platform-support";
|
||||
|
||||
const description =
|
||||
"Local-first desktop control plane for autonomous AI companies. Set a goal, let an AI CEO assemble specialists, delegate work, and deliver code, research, content, and operations from your desktop.";
|
||||
const title = "AgentCompany · Run an autonomous AI company on your desktop";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL("https://agent-company.dev"),
|
||||
title: "AgentCompany - Launch an Autonomous AI Company from Your Desktop",
|
||||
metadataBase: new URL(WEBSITE_URL),
|
||||
title,
|
||||
description,
|
||||
keywords: [
|
||||
"AI company",
|
||||
"autonomous AI agents",
|
||||
"AI automation",
|
||||
"multi-agent system",
|
||||
"AI CEO",
|
||||
"AI agent orchestration",
|
||||
"autonomous agents desktop app",
|
||||
"AI task delegation",
|
||||
"AI team management",
|
||||
"AI code generation",
|
||||
"AI content generation",
|
||||
"AI research automation",
|
||||
"self-organizing AI",
|
||||
"AI workforce",
|
||||
"Claude Code",
|
||||
"Codex CLI",
|
||||
"Gemini CLI",
|
||||
"multi-agent framework",
|
||||
"AI company builder",
|
||||
],
|
||||
alternates: { canonical: "/" },
|
||||
openGraph: {
|
||||
title: "AgentCompany - Launch an Autonomous AI Company from Your Desktop",
|
||||
title,
|
||||
description,
|
||||
url: "https://agent-company.dev/",
|
||||
url: "/",
|
||||
siteName: "AgentCompany",
|
||||
locale: "en_US",
|
||||
images: [
|
||||
{
|
||||
url: "/images/og.jpg",
|
||||
width: 1200,
|
||||
height: 630,
|
||||
alt: "AgentCompany desktop dashboard — quarter goal, budget, agent workload, and recent runs",
|
||||
},
|
||||
],
|
||||
type: "website",
|
||||
images: [{ url: "/images/og.jpg", width: 1200, height: 630, alt: "The AgentCompany desktop app" }],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "AgentCompany - Launch an Autonomous AI Company from Your Desktop",
|
||||
description,
|
||||
images: ["/images/og.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
twitter: { card: "summary_large_image", title, description, images: ["/images/og.jpg"] },
|
||||
robots: { index: true, follow: true },
|
||||
icons: {
|
||||
icon: [
|
||||
{ url: "/favicon.ico?v=2", sizes: "any", type: "image/x-icon" },
|
||||
@@ -101,130 +33,42 @@ export const metadata: Metadata = {
|
||||
},
|
||||
};
|
||||
|
||||
const themeScript = `
|
||||
(function(){document.documentElement.classList.add("js");try{var t=localStorage.getItem("agentcompany-theme");if(t==="dark"||(!t&&window.matchMedia("(prefers-color-scheme:dark)").matches)){document.documentElement.classList.add("dark")}}catch(e){}})();
|
||||
`;
|
||||
export const viewport: Viewport = { width: "device-width", initialScale: 1 };
|
||||
|
||||
const softwareJsonLd = {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "SoftwareApplication",
|
||||
name: "AgentCompany",
|
||||
applicationCategory: "BusinessApplication",
|
||||
operatingSystem: "macOS, Windows",
|
||||
url: "https://agent-company.dev",
|
||||
downloadUrl: "https://agent-company.dev/#download",
|
||||
screenshot: "https://agent-company.dev/images/dashboard.webp",
|
||||
softwareVersion: landingStructuredDataNarrative.softwareVersion,
|
||||
description,
|
||||
featureList: landingStructuredDataNarrative.featureList,
|
||||
author: { "@type": "Organization", name: "AgentCompany", url: "https://agent-company.dev" },
|
||||
};
|
||||
const jsonLd = [
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "SoftwareApplication",
|
||||
name: "AgentCompany",
|
||||
applicationCategory: "BusinessApplication",
|
||||
operatingSystem: "macOS, Windows, Linux",
|
||||
softwareVersion: releaseVersion,
|
||||
url: WEBSITE_URL,
|
||||
downloadUrl: RELEASE_PAGE_URL,
|
||||
description,
|
||||
offers: { "@type": "Offer", price: "0", priceCurrency: "USD" },
|
||||
inLanguage: ["en", "zh-Hans"],
|
||||
},
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "FAQPage",
|
||||
mainEntity: faqs.map((faq) => ({
|
||||
"@type": "Question",
|
||||
name: faq.question,
|
||||
acceptedAnswer: { "@type": "Answer", text: faq.answer.join(" ") },
|
||||
})),
|
||||
},
|
||||
];
|
||||
|
||||
const organizationJsonLd = {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Organization",
|
||||
name: "AgentCompany",
|
||||
url: "https://agent-company.dev",
|
||||
logo: "https://agent-company.dev/icon.png",
|
||||
};
|
||||
|
||||
const howToJsonLd = {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "HowTo",
|
||||
name: "How to Launch an Autonomous AI Company with AgentCompany",
|
||||
description: "Complete the AgentCompany desktop first-run flow and queue the first mission.",
|
||||
step: landingHowItWorksNarrative.steps.map((step) => ({
|
||||
"@type": "HowToStep",
|
||||
position: step.number,
|
||||
name: step.title,
|
||||
text: step.description,
|
||||
})),
|
||||
};
|
||||
|
||||
const faqJsonLd = {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "FAQPage",
|
||||
mainEntity: [
|
||||
{
|
||||
"@type": "Question",
|
||||
name: "What is AgentCompany?",
|
||||
acceptedAnswer: {
|
||||
"@type": "Answer",
|
||||
text: "AgentCompany is a local-first desktop application for launching and operating autonomous AI companies. You define the mission, an AI CEO organizes the team, delegates work, and coordinates delivery across engineering, design, research, and operations.",
|
||||
},
|
||||
},
|
||||
{
|
||||
"@type": "Question",
|
||||
name: "How do I download AgentCompany?",
|
||||
acceptedAnswer: {
|
||||
"@type": "Answer",
|
||||
text: platformSupportSummary.downloadAnswer,
|
||||
},
|
||||
},
|
||||
{
|
||||
"@type": "Question",
|
||||
name: "What platforms does AgentCompany support?",
|
||||
acceptedAnswer: {
|
||||
"@type": "Answer",
|
||||
text: platformSupportSummary.platformAnswer,
|
||||
},
|
||||
},
|
||||
{
|
||||
"@type": "Question",
|
||||
name: "What AI models can AgentCompany use?",
|
||||
acceptedAnswer: {
|
||||
"@type": "Answer",
|
||||
text: "AgentCompany supports multiple AI runtimes as first-class connectors: Claude Code, Codex CLI, and Gemini CLI. You can connect your preferred provider during setup.",
|
||||
},
|
||||
},
|
||||
{
|
||||
"@type": "Question",
|
||||
name: "How does the AI CEO work?",
|
||||
acceptedAnswer: {
|
||||
"@type": "Answer",
|
||||
text: "When you create a company with a goal, the AI CEO agent analyzes the objective, creates the necessary departments, hires specialized agents for each role, builds an org chart, and delegates tasks. The CEO monitors progress, handles blockers, and coordinates cross-department work.",
|
||||
},
|
||||
},
|
||||
{
|
||||
"@type": "Question",
|
||||
name: "Is my data private? Does it leave my machine?",
|
||||
acceptedAnswer: {
|
||||
"@type": "Answer",
|
||||
text: "AgentCompany is local-first. All data is stored in a local SQLite database on your machine. Secrets are encrypted via an OS-level keychain. The only external communication is between your machine and your AI provider's API.",
|
||||
},
|
||||
},
|
||||
{
|
||||
"@type": "Question",
|
||||
name: "What can an AI company actually deliver?",
|
||||
acceptedAnswer: {
|
||||
"@type": "Answer",
|
||||
text: "AI companies built with AgentCompany can produce code, content, research, business documents, and more. The deliverables depend on the goal you set and the AI runtime you connect.",
|
||||
},
|
||||
},
|
||||
{
|
||||
"@type": "Question",
|
||||
name: "How are updates delivered?",
|
||||
acceptedAnswer: {
|
||||
"@type": "Answer",
|
||||
text: "Desktop updates are published to a Cloudflare-hosted release lane. macOS builds include the signed update metadata required for in-app update checks, while the Windows build is delivered from the same release host for manual installation.",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
||||
export default function RootLayout({ children }: Readonly<{ children: ReactNode }>) {
|
||||
return (
|
||||
<html lang="en" className={fontVariables} suppressHydrationWarning>
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<head>
|
||||
<meta name="googlebot" content="index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1" />
|
||||
<script dangerouslySetInnerHTML={{ __html: themeScript }} />
|
||||
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(softwareJsonLd) }} />
|
||||
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(organizationJsonLd) }} />
|
||||
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(howToJsonLd) }} />
|
||||
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(faqJsonLd) }} />
|
||||
<link rel="preload" href="/fonts/FusionPixel-12px-latin.woff2" as="font" type="font/woff2" crossOrigin="anonymous" />
|
||||
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }} />
|
||||
</head>
|
||||
<body className="bg-[var(--bg)] text-[var(--text)] antialiased transition-colors duration-300">
|
||||
<ThemeProvider>{children}</ThemeProvider>
|
||||
<body>
|
||||
<PaletteClock>{children}</PaletteClock>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
import type { Metadata } from "next";
|
||||
import { GameOver } from "../components/pixel";
|
||||
import styles from "./page.module.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Game over · AgentCompany",
|
||||
robots: { index: false },
|
||||
};
|
||||
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<main className={`${styles.page} ${styles.lost}`}>
|
||||
<GameOver
|
||||
message="404: you wandered off the map. The CEO checked the org chart twice and nobody here owns this page."
|
||||
continueHref="/"
|
||||
/>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
.page {
|
||||
position: relative;
|
||||
min-height: 100svh;
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
.page main:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.skip {
|
||||
position: fixed;
|
||||
top: 12px;
|
||||
left: 12px;
|
||||
z-index: 100;
|
||||
padding: 12px 24px;
|
||||
font-size: var(--fs-1);
|
||||
line-height: 2;
|
||||
color: var(--ink-void);
|
||||
background: var(--ink-gold);
|
||||
}
|
||||
|
||||
.skip:not(:focus) {
|
||||
clip-path: inset(50%);
|
||||
}
|
||||
|
||||
.lost {
|
||||
display: grid;
|
||||
place-content: center;
|
||||
justify-items: center;
|
||||
gap: 24px;
|
||||
padding: 48px 16px;
|
||||
}
|
||||
|
||||
+25
-28
@@ -1,36 +1,33 @@
|
||||
import { Bento } from "../components/sections/bento";
|
||||
import { DownloadSection } from "../components/sections/download-section";
|
||||
import { FAQ } from "../components/sections/faq";
|
||||
import { Footer } from "../components/layout/footer";
|
||||
import { Hero } from "../components/sections/hero";
|
||||
import { HowItWorks } from "../components/sections/how-it-works";
|
||||
import { Navbar } from "../components/layout/navbar";
|
||||
import { Runtimes } from "../components/sections/runtimes";
|
||||
import { Showcase } from "../components/sections/showcase";
|
||||
import { CharacterSelect } from "../components/sections/character-select";
|
||||
import { Credits } from "../components/sections/credits";
|
||||
import { FaqSection } from "../components/sections/faq-section";
|
||||
import { InventorySection } from "../components/sections/inventory-section";
|
||||
import { PartyRoster } from "../components/sections/party-roster";
|
||||
import { QuestLog } from "../components/sections/quest-log";
|
||||
import { SavePoint } from "../components/sections/save-point";
|
||||
import { TitleScreen } from "../components/sections/title-screen";
|
||||
import { TopBar } from "../components/sections/top-bar";
|
||||
import { XpSection } from "../components/sections/xp-section";
|
||||
import styles from "./page.module.css";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<a
|
||||
href="#main"
|
||||
className="sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-[100] focus:px-4 focus:py-2 focus:rounded-lg focus:bg-[var(--accent)] focus:text-[var(--text-on-accent)] focus:text-sm focus:font-medium"
|
||||
>
|
||||
<div className={styles.page}>
|
||||
<a href="#main" className={styles.skip}>
|
||||
Skip to content
|
||||
</a>
|
||||
|
||||
<Navbar />
|
||||
|
||||
<main id="main">
|
||||
<Hero />
|
||||
<Runtimes />
|
||||
<Bento />
|
||||
<Showcase />
|
||||
<HowItWorks />
|
||||
<FAQ />
|
||||
<DownloadSection />
|
||||
<TopBar />
|
||||
<main id="main" tabIndex={-1}>
|
||||
<TitleScreen />
|
||||
<QuestLog />
|
||||
<CharacterSelect />
|
||||
<InventorySection />
|
||||
<PartyRoster />
|
||||
<XpSection />
|
||||
<SavePoint />
|
||||
<FaqSection />
|
||||
</main>
|
||||
|
||||
<Footer />
|
||||
</>
|
||||
<Credits />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user