Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

feat: update onboard UI

Gus6fa8ae9c1269
diff --git a/src/web/src/app/(app)/studio/new/client.tsx b/src/web/src/app/(app)/studio/new/client.tsx
index 9f44ee128..3432739bd 100644
--- a/src/web/src/app/(app)/studio/new/client.tsx
+++ b/src/web/src/app/(app)/studio/new/client.tsx
@@ -254,14 +254,14 @@ export function StudioOnboardingClient({
if (!res.ok) {
const errBody = (await res.json()) as { error?: string };
- throw new Error(errBody.error || "Failed to create studio");
+ throw new Error(errBody.error || "Failed to create company");
}
const data = (await res.json()) as { workspace: { slug: string }; leader_agent_id: string };
- toast.success("Studio created!");
+ toast.success("Company created!");
router.push(`/w/${data.workspace.slug}/agents/${data.leader_agent_id}`);
} catch (e) {
- toast.error(e instanceof Error ? e.message : "Failed to create studio");
+ toast.error(e instanceof Error ? e.message : "Failed to create company");
setCreating(false);
}
};
@@ -302,8 +302,16 @@ export function StudioOnboardingClient({
</Button>
<div className="w-full max-w-3xl space-y-8">
- <div className="text-center">
- <h1 className="text-lg font-semibold">Pick a scenario to get started</h1>
+ <div className="text-center space-y-2">
+ <h1
+ className="text-2xl font-semibold tracking-tight"
+ style={{ fontFamily: "var(--font-news)" }}
+ >
+ What will your company do?
+ </h1>
+ <p className="text-sm text-muted-foreground">
+ Pick a focus area. You can always add more agents later.
+ </p>
</div>
<ScenarioPicker selected={scenarioId} onSelect={handleScenarioSelect} onBrowseTemplates={() => router.push(workspaceId ? `/templates?workspace_id=${workspaceId}` : "/templates")} />
@@ -318,7 +326,7 @@ export function StudioOnboardingClient({
}}
className="text-xs text-muted-foreground hover:text-foreground transition-colors"
>
- Skip
+ Skip for now
</button>
</div>
)}
@@ -327,7 +335,7 @@ export function StudioOnboardingClient({
);
}
- // Page 2: Build your AI studio
+ // Page 2: Build your company
return (
<div className="relative flex min-h-dvh flex-col items-center p-6">
<div className="absolute top-4 left-4 flex items-center gap-1">
@@ -361,15 +369,15 @@ export function StudioOnboardingClient({
Sign out
</Button>
- <div className="w-full max-w-3xl space-y-8 py-12">
+ <div className="w-full max-w-3xl space-y-10 py-14">
{/* Header */}
- <div className="text-center space-y-1">
- <h1 className="text-lg font-semibold">
- {!isNewWorkspace ? "Set up your AI team" : "Create a new studio"}
+ <div className="text-center">
+ <h1
+ className="text-2xl font-semibold tracking-tight"
+ style={{ fontFamily: "var(--font-news)" }}
+ >
+ Build your company
</h1>
- <p className="text-xs text-muted-foreground">
- Name your team, connect a machine, and start working.
- </p>
</div>
{/* Loading */}
@@ -379,9 +387,9 @@ export function StudioOnboardingClient({
</div>
) : (
<>
- {/* Studio Name */}
+ {/* Company Name */}
<div className="space-y-2">
- <h2 className="text-sm font-medium">Studio name</h2>
+ <h2 className="text-base font-semibold tracking-tight">Company name</h2>
<div className="flex gap-2">
<Input
value={studioName}
@@ -407,7 +415,7 @@ export function StudioOnboardingClient({
<XCircle className="size-3" /> Name is taken, try another
</p>
)}
- <p className="text-[10px] text-muted-foreground flex items-center gap-1.5">
+ <p className="text-xs text-muted-foreground flex items-center gap-1.5">
{nameAvailable === true && (
<span className="text-emerald-600 flex items-center gap-0.5">
<CheckCircle2 className="size-3" /> Available
@@ -417,12 +425,12 @@ export function StudioOnboardingClient({
{!isNewWorkspace ? (
<span>Optional — you can always rename later.</span>
) : (
- <span>Required — pick a name for your new studio.</span>
+ <span>Required — pick a name for your company.</span>
)}
</p>
</div>
- {/* Team Preview (with runtime picker in each card if multiple) */}
+ {/* Team Preview */}
<TeamPreview
members={members}
runtimes={onlineRuntimes as Runtime[]}
@@ -432,7 +440,7 @@ export function StudioOnboardingClient({
{/* Connect Machine */}
<div className="space-y-3">
- <h2 className="text-sm font-medium">Connect a computer</h2>
+ <h2 className="text-base font-semibold tracking-tight">Connect a computer</h2>
{hasOnlineRuntime ? (
<div className="space-y-3">
<div className="flex items-center justify-between">
@@ -444,29 +452,33 @@ export function StudioOnboardingClient({
className="text-xs text-muted-foreground hover:text-foreground transition-colors"
onClick={() => setShowRegister((v) => !v)}
>
- Register another computer
+ Register another
</button>
</div>
{showRegister && (
- <ConnectMachineSteps
- generatedToken={generatedToken}
- generatingToken={generatingToken}
- onGenerateToken={handleGenerateToken}
- registered={machineRegistered}
- />
+ <div className="rounded-xl bg-muted/40 p-5">
+ <ConnectMachineSteps
+ generatedToken={generatedToken}
+ generatingToken={generatingToken}
+ onGenerateToken={handleGenerateToken}
+ registered={machineRegistered}
+ />
+ </div>
)}
</div>
) : (
<>
<p className="text-xs text-muted-foreground">
- Your studio needs a connected computer to run tasks.
+ Your company needs a connected computer to run tasks.
</p>
- <ConnectMachineSteps
- generatedToken={generatedToken}
- generatingToken={generatingToken}
- onGenerateToken={handleGenerateToken}
- registered={machineRegistered}
- />
+ <div className="rounded-xl bg-muted/40 p-5">
+ <ConnectMachineSteps
+ generatedToken={generatedToken}
+ generatingToken={generatingToken}
+ onGenerateToken={handleGenerateToken}
+ registered={machineRegistered}
+ />
+ </div>
</>
)}
</div>
@@ -476,16 +488,17 @@ export function StudioOnboardingClient({
onClick={handleCreate}
disabled={!canCreate || creating}
className="w-full"
+ size="lg"
>
{creating ? (
<>
<Loader2 className="size-4 animate-spin mr-2" />
- Creating studio...
+ Launching...
</>
) : isNewWorkspace && studioName.trim() && nameAvailable !== true ? (
- "Check studio name first"
+ "Check company name first"
) : (
- "Create studio"
+ "Launch company"
)}
</Button>
</>
diff --git a/src/web/src/app/(app)/w/[slug]/home/page.tsx b/src/web/src/app/(app)/w/[slug]/home/page.tsx
index 1bd214766..29a30ebdc 100644
--- a/src/web/src/app/(app)/w/[slug]/home/page.tsx
+++ b/src/web/src/app/(app)/w/[slug]/home/page.tsx
@@ -70,7 +70,7 @@ function savePositions(workspaceId: string, nodes: Node[]) {
}
try {
localStorage.setItem(storageKey(workspaceId), JSON.stringify(positions));
- } catch {}
+ } catch { }
}
function AgentCanvas() {
@@ -297,7 +297,7 @@ function AgentCanvas() {
const handleResetLayout = useCallback(() => {
try {
localStorage.removeItem(storageKey(workspaceId));
- } catch {}
+ } catch { }
const currentEdges: Edge[] = links.map((link) => ({
id: link.id,
source: link.source_agent_id,
@@ -509,13 +509,13 @@ export default function HomePage() {
return (
<div className="flex flex-1 items-center justify-center">
<div className="text-center animate-[fade-up_400ms_ease-out_both]">
- <p className="text-muted-foreground text-sm">Build your AI studio to get started.</p>
+ <p className="text-muted-foreground text-sm">Build your AI company</p>
<Button
size="sm"
className="mt-4 glow-border"
onClick={() => router.push(`/studio/new?workspace_id=${workspaceId}`)}
>
- Build Studio
+ Get Started
</Button>
</div>
</div>
diff --git a/src/web/src/app/templates/[id]/_components/member-card.tsx b/src/web/src/app/templates/[id]/_components/member-card.tsx
index 22216dd84..92cdde98e 100644
--- a/src/web/src/app/templates/[id]/_components/member-card.tsx
+++ b/src/web/src/app/templates/[id]/_components/member-card.tsx
@@ -1,10 +1,30 @@
-import { Badge } from "@/components/ui/badge";
+const ROLE_STYLES: Record<string, { bg: string; text: string; label: string }> = {
+ leader: {
+ bg: "bg-amber-50 dark:bg-amber-950/30",
+ text: "text-amber-700 dark:text-amber-300",
+ label: "Leader",
+ },
+ researcher: {
+ bg: "bg-sky-50 dark:bg-sky-950/30",
+ text: "text-sky-700 dark:text-sky-300",
+ label: "Researcher",
+ },
+ engineer: {
+ bg: "bg-emerald-50 dark:bg-emerald-950/30",
+ text: "text-emerald-700 dark:text-emerald-300",
+ label: "Engineer",
+ },
+ assistant: {
+ bg: "bg-violet-50 dark:bg-violet-950/30",
+ text: "text-violet-700 dark:text-violet-300",
+ label: "Assistant",
+ },
+};
-const ROLE_COLORS: Record<string, string> = {
- leader: "bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300",
- researcher: "bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",
- engineer: "bg-emerald-100 text-emerald-800 dark:bg-emerald-900/30 dark:text-emerald-300",
- assistant: "bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-300",
+const FALLBACK_STYLE = {
+ bg: "bg-muted/40",
+ text: "text-muted-foreground",
+ label: "Agent",
};
export function MemberCard({
@@ -16,15 +36,14 @@ export function MemberCard({
roleLabel: string;
description: string;
}) {
+ const style = ROLE_STYLES[role] || FALLBACK_STYLE;
+
return (
- <div className="rounded-lg border p-3 space-y-2">
- <Badge
- variant="outline"
- className={`text-[10px] font-medium ${ROLE_COLORS[role] || ""}`}
- >
+ <div className={`rounded-lg p-4 ${style.bg}`}>
+ <span className={`text-xs font-semibold uppercase tracking-wider ${style.text}`}>
{roleLabel}
- </Badge>
- <p className="text-xs leading-relaxed text-muted-foreground">
+ </span>
+ <p className="mt-2 text-sm leading-relaxed text-foreground/80">
{description}
</p>
</div>
diff --git a/src/web/src/app/templates/[id]/client.tsx b/src/web/src/app/templates/[id]/client.tsx
index 774985e8b..1bcd9aa1e 100644
--- a/src/web/src/app/templates/[id]/client.tsx
+++ b/src/web/src/app/templates/[id]/client.tsx
@@ -2,8 +2,7 @@
import Link from "next/link";
import Image from "next/image";
-import { ArrowLeft, Users, CheckCircle2 } from "lucide-react";
-import { Badge } from "@/components/ui/badge";
+import { ArrowLeft, Check } from "lucide-react";
import { buttonVariants } from "@/components/ui/button";
import { MemberCard } from "./_components/member-card";
import type { TemplatePreset } from "@/lib/templates";
@@ -35,7 +34,7 @@ export function TemplateDetailClient({
<div className="min-h-dvh bg-background">
{/* Nav */}
<nav className="sticky top-0 z-50 border-b bg-background/90 backdrop-blur-sm">
- <div className="mx-auto flex max-w-5xl items-center justify-between px-6 py-3">
+ <div className="mx-auto flex max-w-4xl items-center justify-between px-6 py-3">
<Link href="/" className="flex items-center gap-2">
<Image src="/alook.svg" alt="Alook" width={22} height={22} />
<span className="text-lg tracking-tight" style={{ fontFamily: "var(--font-brand)", fontWeight: 700 }}>Alook</span>
@@ -55,146 +54,118 @@ export function TemplateDetailClient({
</div>
</nav>
- <div className="mx-auto max-w-5xl px-6 py-10">
+ <div className="mx-auto max-w-4xl px-6 py-10">
{/* Breadcrumb */}
- <nav className="mb-6 flex items-center gap-1.5 text-xs text-muted-foreground">
+ <nav className="mb-8 flex items-center gap-1.5 text-xs text-muted-foreground">
<Link href="/templates" className="hover:text-foreground transition-colors">
Templates
</Link>
- <span>/</span>
+ <span className="text-muted-foreground/50">/</span>
<span className="text-foreground">{template.name}</span>
</nav>
{/* Hero */}
- <div className="flex flex-col gap-6 lg:flex-row lg:items-start lg:justify-between">
- <div className="flex-1 space-y-4">
- <div className="flex items-center gap-3">
- <span className="flex size-12 items-center justify-center rounded-lg bg-muted text-2xl">
+ <div className="flex flex-col gap-6 sm:flex-row sm:items-start sm:justify-between">
+ <div className="flex-1 max-w-2xl">
+ <div className="flex items-center gap-4">
+ <span className="flex size-14 items-center justify-center rounded-xl bg-muted/60 text-3xl">
{template.icon}
</span>
<div>
- <div className="flex items-center gap-2">
- <Badge variant="outline" className="text-[10px]">
- {template.category}
- </Badge>
- <span className="flex items-center gap-1 text-[11px] text-muted-foreground">
- <Users className="size-3" />
- {template.members.length} agents
- </span>
- </div>
- <h1 className="mt-1 text-xl font-bold tracking-tight">
+ <p className="text-xs font-medium uppercase tracking-wider text-muted-foreground">
+ {template.category}
+ </p>
+ <h1
+ className="mt-0.5 text-2xl font-semibold tracking-tight"
+ style={{ fontFamily: "var(--font-news)" }}
+ >
{template.name}
</h1>
</div>
</div>
- <p className="text-sm text-muted-foreground leading-relaxed">
+ <p className="mt-5 text-sm leading-relaxed text-muted-foreground max-w-xl">
{template.longDescription}
</p>
- <div className="flex flex-wrap gap-1.5">
+ <div className="mt-4 flex flex-wrap gap-1.5">
{template.tags.map((tag) => (
- <Badge key={tag} variant="secondary" className="text-[10px]">
+ <span key={tag} className="rounded-full bg-muted/60 px-2.5 py-0.5 text-xs text-muted-foreground">
{tag}
- </Badge>
+ </span>
))}
</div>
</div>
{/* CTA */}
- <div className="shrink-0 lg:ml-8">
- <Link href={href} className={buttonVariants({ size: "default" }) + " w-full lg:w-auto"}>
- Get This Template
+ <div className="shrink-0 sm:ml-8 sm:pt-2">
+ <Link href={href} className={buttonVariants({ size: "default" }) + " w-full sm:w-auto"}>
+ Use This Template
</Link>
- <p className="mt-1.5 text-center text-[10px] text-muted-foreground">
+ <p className="mt-1.5 text-center text-xs text-muted-foreground sm:text-right">
Free to deploy
</p>
</div>
</div>
- {/* Content Grid */}
- <div className="mt-10 grid grid-cols-1 gap-10 lg:grid-cols-3">
- {/* Left: Features + Use Cases */}
- <div className="lg:col-span-2 space-y-8">
- {/* Features */}
- <section>
- <h2 className="text-sm font-semibold mb-3">Key Features</h2>
- <ul className="space-y-2">
- {template.features.map((feature) => (
- <li key={feature} className="flex items-start gap-2 text-xs text-muted-foreground">
- <CheckCircle2 className="mt-0.5 size-3.5 shrink-0 text-emerald-600" />
- <span>{feature}</span>
- </li>
- ))}
- </ul>
- </section>
+ {/* Divider */}
+ <div className="my-10 border-t" />
- {/* Use Cases */}
- <section>
- <h2 className="text-sm font-semibold mb-3">Use Cases</h2>
- <div className="grid grid-cols-1 gap-3 sm:grid-cols-2">
- {template.useCases.map((uc) => (
- <div key={uc.title} className="rounded-lg border p-3">
- <h3 className="text-xs font-medium">{uc.title}</h3>
- <p className="mt-1 text-[11px] leading-relaxed text-muted-foreground">
- {uc.description}
- </p>
- </div>
- ))}
- </div>
- </section>
+ {/* Features */}
+ <section className="max-w-2xl">
+ <h2 className="text-base font-semibold tracking-tight">What it does</h2>
+ <ul className="mt-4 space-y-2.5">
+ {template.features.map((feature) => (
+ <li key={feature} className="flex items-start gap-2.5 text-sm text-foreground/80">
+ <Check className="mt-0.5 size-3.5 shrink-0 text-emerald-600 dark:text-emerald-400" strokeWidth={2.5} />
+ <span>{feature}</span>
+ </li>
+ ))}
+ </ul>
+ </section>
- {/* Team */}
- <section>
- <h2 className="text-sm font-semibold mb-3">Your AI Team</h2>
- <p className="mb-4 text-xs text-muted-foreground">
- These {template.members.length} agents work together to run your {template.name.toLowerCase()}.
- </p>
- <div className="grid grid-cols-1 gap-3 sm:grid-cols-2">
- {template.members.map((member, i) => (
- <MemberCard
- key={i}
- role={member.role}
- roleLabel={ROLE_LABELS[member.role] || member.role}
- description={member.description}
- />
- ))}
+ {/* Use Cases */}
+ <section className="mt-12 max-w-2xl">
+ <h2 className="text-base font-semibold tracking-tight">Use cases</h2>
+ <div className="mt-4 grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3">
+ {template.useCases.map((uc) => (
+ <div key={uc.title} className="rounded-lg bg-muted/40 p-4">
+ <h3 className="text-sm font-medium">{uc.title}</h3>
+ <p className="mt-1.5 text-xs leading-relaxed text-muted-foreground">
+ {uc.description}
+ </p>
</div>
- </section>
+ ))}
</div>
+ </section>
- {/* Right Sidebar */}
- <div className="space-y-6">
- <div className="rounded-lg border p-4 space-y-4">
- <div>
- <p className="text-[10px] uppercase tracking-wider text-muted-foreground">Category</p>
- <p className="text-xs font-medium mt-0.5">{template.category}</p>
- </div>
- <div>
- <p className="text-[10px] uppercase tracking-wider text-muted-foreground">Team Size</p>
- <p className="text-xs font-medium mt-0.5">{template.members.length} agents</p>
- </div>
- <div>
- <p className="text-[10px] uppercase tracking-wider text-muted-foreground">Roles</p>
- <div className="mt-1 flex flex-wrap gap-1">
- {template.members.map((m, i) => (
- <Badge key={i} variant="outline" className="text-[10px]">
- {ROLE_LABELS[m.role] || m.role}
- </Badge>
- ))}
- </div>
- </div>
- <div>
- <p className="text-[10px] uppercase tracking-wider text-muted-foreground">Tags</p>
- <div className="mt-1 flex flex-wrap gap-1">
- {template.tags.map((tag) => (
- <Badge key={tag} variant="secondary" className="text-[10px]">
- {tag}
- </Badge>
- ))}
- </div>
- </div>
- </div>
+ {/* Company */}
+ <section className="mt-12 max-w-2xl">
+ <h2 className="text-base font-semibold tracking-tight">Your company</h2>
+ <p className="mt-2 text-sm text-muted-foreground">
+ {template.members.length} agents working together.
+ </p>
+ <div className="mt-4 grid grid-cols-1 gap-3 sm:grid-cols-2">
+ {template.members.map((member, i) => (
+ <MemberCard
+ key={i}
+ role={member.role}
+ roleLabel={ROLE_LABELS[member.role] || member.role}
+ description={member.description}
+ />
+ ))}
+ </div>
+ </section>
+ {/* Bottom CTA */}
+ <div className="mt-16 flex items-center justify-between rounded-xl bg-muted/40 p-6">
+ <div>
+ <p className="text-sm font-medium">Ready to deploy?</p>
+ <p className="mt-0.5 text-xs text-muted-foreground">
+ Customize the agent instructions after setup.
+ </p>
</div>
+ <Link href={href} className={buttonVariants({ size: "sm" })}>
+ Get Started
+ </Link>
</div>
</div>
</div>
diff --git a/src/web/src/app/templates/[id]/page.tsx b/src/web/src/app/templates/[id]/page.tsx
index fd0d4a3b3..d5ddf790d 100644
--- a/src/web/src/app/templates/[id]/page.tsx
+++ b/src/web/src/app/templates/[id]/page.tsx
@@ -15,7 +15,7 @@ export async function generateMetadata({
const template = getTemplateById(id);
if (!template) return { title: "Not Found" };
- const title = `${template.name} — AI Team Templates`;
+ const title = `${template.name} — AI Company Templates`;
const url = `${SITE_URL}/templates/${id}`;
const ogImage = `/og?title=${encodeURIComponent(template.name)}`;
diff --git a/src/web/src/app/templates/_components/template-card.tsx b/src/web/src/app/templates/_components/template-card.tsx
index 37712f057..1aa28858f 100644
--- a/src/web/src/app/templates/_components/template-card.tsx
+++ b/src/web/src/app/templates/_components/template-card.tsx
@@ -2,10 +2,16 @@
import { useRouter } from "next/navigation";
import Link from "next/link";
-import { Badge } from "@/components/ui/badge";
-import { Users } from "lucide-react";
+import { ArrowUpRight } from "lucide-react";
import type { TemplatePreset } from "@/lib/templates";
+const ROLE_DOT_COLORS: Record<string, string> = {
+ leader: "bg-amber-500/70 dark:bg-amber-400/60",
+ researcher: "bg-sky-500/70 dark:bg-sky-400/60",
+ engineer: "bg-emerald-500/70 dark:bg-emerald-400/60",
+ assistant: "bg-violet-500/70 dark:bg-violet-400/60",
+};
+
export function TemplateCard({
template,
isLoggedIn,
@@ -30,32 +36,37 @@ export function TemplateCard({
return (
<Link
href={detailUrl}
- className="group flex flex-col rounded-lg border bg-card p-4 transition-colors hover:bg-accent/50"
+ className="group relative flex flex-col rounded-xl bg-card p-5 transition-all duration-200 hover:bg-accent/40 border border-transparent hover:border-border"
>
- {/* Icon + Category */}
- <div className="flex items-start justify-between">
- <span className="flex size-9 items-center justify-center rounded-md bg-muted text-lg">
- {template.icon}
- </span>
- <Badge variant="outline" className="text-[10px]">
- {template.category}
- </Badge>
- </div>
+ {/* Icon */}
+ <span className="flex size-10 items-center justify-center rounded-lg bg-muted/60 text-xl">
+ {template.icon}
+ </span>
- {/* Name + Description */}
- <h3 className="mt-3 text-sm font-semibold leading-tight">
+ {/* Name */}
+ <h3 className="mt-4 text-sm font-semibold leading-tight tracking-tight">
{template.name}
</h3>
- <p className="mt-1.5 flex-1 text-xs leading-relaxed text-muted-foreground line-clamp-2">
+
+ {/* Description */}
+ <p className="mt-2 flex-1 text-xs leading-relaxed text-muted-foreground line-clamp-2">
{template.description}
</p>
{/* Footer */}
- <div className="mt-3 flex items-center justify-between">
- <span className="flex items-center gap-1 text-[11px] text-muted-foreground">
- <Users className="size-3" />
- {template.members.length} {template.members.length === 1 ? "agent" : "agents"}
- </span>
+ <div className="mt-4 flex items-center justify-between">
+ <div className="flex items-center gap-1">
+ {template.members.map((member, i) => (
+ <span
+ key={i}
+ className={`size-2 rounded-full ${ROLE_DOT_COLORS[member.role] || "bg-muted-foreground/40"}`}
+ />
+ ))}
+ <span className="ml-1.5 text-xs text-muted-foreground">
+ {template.members.length} agents
+ </span>
+ </div>
+
<button
type="button"
onClick={(e) => {
@@ -63,9 +74,10 @@ export function TemplateCard({
e.stopPropagation();
router.push(href);
}}
- className="rounded-md bg-foreground px-2.5 py-1 text-[11px] font-medium text-background transition-opacity hover:opacity-80"
+ className="flex items-center gap-1 rounded-md px-2.5 py-1 text-xs font-medium text-muted-foreground opacity-0 transition-all duration-150 group-hover:opacity-100 group-hover:bg-foreground group-hover:text-background"
>
- Get
+ Use
+ <ArrowUpRight className="size-3" />
</button>
</div>
</Link>
diff --git a/src/web/src/app/templates/client.tsx b/src/web/src/app/templates/client.tsx
index c426f5d53..843bc87b8 100644
--- a/src/web/src/app/templates/client.tsx
+++ b/src/web/src/app/templates/client.tsx
@@ -30,7 +30,7 @@ export function TemplatesClient({
<div className="min-h-dvh bg-background">
{/* Nav */}
<nav className="sticky top-0 z-50 border-b bg-background/90 backdrop-blur-sm">
- <div className="mx-auto flex max-w-5xl items-center justify-between px-6 py-3">
+ <div className="mx-auto flex max-w-4xl items-center justify-between px-6 py-3">
<Link href="/" className="flex items-center gap-2">
<Image src="/alook.svg" alt="Alook" width={22} height={22} />
<span className="text-lg tracking-tight" style={{ fontFamily: "var(--font-brand)", fontWeight: 700 }}>Alook</span>
@@ -51,24 +51,29 @@ export function TemplatesClient({
</nav>
{/* Header */}
- <div className="mx-auto max-w-5xl px-6 pt-12 pb-8">
- <h1 className="text-2xl font-bold tracking-tight">Templates</h1>
- <p className="mt-2 text-sm text-muted-foreground">
- Pre-built AI teams ready to deploy. Pick a template, customize it, and start working in minutes.
+ <div className="mx-auto max-w-4xl px-6 pt-16 pb-2">
+ <h1
+ className="text-3xl font-semibold tracking-tight"
+ style={{ fontFamily: "var(--font-news)" }}
+ >
+ Start your company
+ </h1>
+ <p className="mt-3 max-w-lg text-sm leading-relaxed text-muted-foreground">
+ Pre-configured AI companies, ready to work. Choose a template, make it yours, and deploy in minutes.
</p>
</div>
- {/* Category Tabs */}
- <div className="mx-auto max-w-5xl px-6 pb-6">
- <div className="flex gap-1 overflow-x-auto border-b">
+ {/* Category Filter */}
+ <div className="mx-auto max-w-4xl px-6 pt-8 pb-6">
+ <div className="flex flex-wrap gap-2">
{["All", ...categories].map((cat) => (
<button
key={cat}
onClick={() => setActiveCategory(cat as "All" | TemplateCategory)}
- className={`shrink-0 px-3 py-2 text-xs font-medium transition-colors ${
+ className={`rounded-full px-4 py-1.5 text-xs font-medium transition-colors duration-150 ${
activeCategory === cat
- ? "border-b-2 border-foreground text-foreground"
- : "text-muted-foreground hover:text-foreground"
+ ? "bg-foreground text-background"
+ : "bg-muted/60 text-muted-foreground hover:bg-muted hover:text-foreground"
}`}
>
{cat}
@@ -78,8 +83,8 @@ export function TemplatesClient({
</div>
{/* Grid */}
- <div className="mx-auto max-w-5xl px-6 pb-16">
- <div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3">
+ <div className="mx-auto max-w-4xl px-6 pb-20">
+ <div className="grid grid-cols-1 gap-3 sm:grid-cols-2">
{filtered.map((template) => (
<TemplateCard
key={template.id}
@@ -90,9 +95,11 @@ export function TemplatesClient({
))}
</div>
{filtered.length === 0 && (
- <p className="py-12 text-center text-sm text-muted-foreground">
- No templates in this category yet.
- </p>
+ <div className="flex flex-col items-center justify-center py-20">
+ <p className="text-sm text-muted-foreground">
+ No templates in this category yet.
+ </p>
+ </div>
)}
</div>
</div>
diff --git a/src/web/src/app/templates/page.tsx b/src/web/src/app/templates/page.tsx
index b7ccab125..a5b628a19 100644
--- a/src/web/src/app/templates/page.tsx
+++ b/src/web/src/app/templates/page.tsx
@@ -4,30 +4,30 @@ import { TEMPLATES, TEMPLATE_CATEGORIES } from "@/lib/templates";
import { TemplatesClient } from "./client";
const description =
- "Browse pre-built AI team templates. Deploy a full AI team in minutes — developers, content creators, research analysts, and more.";
+ "Browse pre-built AI company templates. Deploy a full AI company in minutes — developers, content creators, research analysts, and more.";
export const metadata: Metadata = {
title: "Templates",
description,
alternates: { canonical: "https://alook.ai/templates" },
openGraph: {
- title: "AI Team Templates — Alook",
+ title: "AI Company Templates — Alook",
description,
url: "https://alook.ai/templates",
- images: [{ url: "/og?title=AI Team Templates", width: 1200, height: 630 }],
+ images: [{ url: "/og?title=AI Company Templates", width: 1200, height: 630 }],
},
twitter: {
card: "summary_large_image",
- title: "AI Team Templates — Alook",
+ title: "AI Company Templates — Alook",
description,
- images: ["/og?title=AI Team Templates"],
+ images: ["/og?title=AI Company Templates"],
},
};
const itemListJsonLd = {
"@context": "https://schema.org",
"@type": "ItemList",
- name: "AI Team Templates",
+ name: "AI Company Templates",
description,
numberOfItems: TEMPLATES.length,
itemListElement: TEMPLATES.map((template, index) => ({
diff --git a/src/web/src/components/connect-machine-steps.tsx b/src/web/src/components/connect-machine-steps.tsx
index 1edea323c..0fdcbac79 100644
--- a/src/web/src/components/connect-machine-steps.tsx
+++ b/src/web/src/components/connect-machine-steps.tsx
@@ -15,7 +15,7 @@ function StepIndicator({ step, completed }: { step: number; completed: boolean }
);
}
return (
- <span className="flex items-center justify-center size-5 rounded-full bg-foreground text-background text-[10px] font-semibold">
+ <span className="flex items-center justify-center size-5 rounded-full bg-foreground text-background text-xs font-semibold">
{step}
</span>
);
@@ -59,10 +59,10 @@ export function ConnectMachineSteps({
<div className="space-y-6">
{/* Step 1 */}
<div className="space-y-2">
- <p className="text-xs font-medium flex items-center gap-2">
+ <p className="text-sm font-medium flex items-center gap-2">
<StepIndicator step={1} completed={registered} />
Register your CLI
- {registered && <span className="text-[10px] text-emerald-500 font-normal">Done</span>}
+ {registered && <span className="text-xs text-emerald-500 font-normal">Done</span>}
</p>
<p className="text-xs text-muted-foreground pl-7">
Run this in your terminal to link your machine.
@@ -102,7 +102,7 @@ export function ConnectMachineSteps({
<div
className={`space-y-2 transition-opacity duration-300 ${!registered ? "opacity-40 pointer-events-none" : ""}`}
>
- <p className="text-xs font-medium flex items-center gap-2">
+ <p className="text-sm font-medium flex items-center gap-2">
<StepIndicator step={2} completed={false} />
Start the daemon
</p>
diff --git a/src/web/src/components/studio-onboarding/ai-tool-step.tsx b/src/web/src/components/studio-onboarding/ai-tool-step.tsx
index 712b84a1a..416dab94f 100644
--- a/src/web/src/components/studio-onboarding/ai-tool-step.tsx
+++ b/src/web/src/components/studio-onboarding/ai-tool-step.tsx
@@ -26,7 +26,7 @@ export function AiToolStep({
<div className="space-y-3">
<h2 className="text-sm font-medium">Assign execution environments</h2>
<p className="text-xs text-muted-foreground">
- Choose which AI tool each teammate uses.
+ Choose which AI tool each agent uses.
</p>
<div className="space-y-2">
{members.map((m, i) => (
diff --git a/src/web/src/components/studio-onboarding/relation-preview.tsx b/src/web/src/components/studio-onboarding/relation-preview.tsx
index 2566ab5c6..8f3087985 100644
--- a/src/web/src/components/studio-onboarding/relation-preview.tsx
+++ b/src/web/src/components/studio-onboarding/relation-preview.tsx
@@ -63,7 +63,7 @@ export function RelationPreview({ members, scenario }: { members: TeamMember[];
return (
<div className="space-y-3">
- <h2 className="text-sm font-medium">Team collaboration</h2>
+ <h2 className="text-base font-semibold tracking-tight">How they work together</h2>
<div className="rounded-lg border border-border p-4 space-y-3">
<p className="text-xs text-muted-foreground">
You email <span className="font-medium text-foreground">{leader.name}</span> with tasks.{" "}
diff --git a/src/web/src/components/studio-onboarding/scenario-picker.tsx b/src/web/src/components/studio-onboarding/scenario-picker.tsx
index 2942ba41a..0a73b622d 100644
--- a/src/web/src/components/studio-onboarding/scenario-picker.tsx
+++ b/src/web/src/components/studio-onboarding/scenario-picker.tsx
@@ -15,7 +15,7 @@ export function ScenarioPicker({
return (
<div className="space-y-3">
<div className="flex items-center justify-between">
- <h2 className="text-sm font-medium">What will your studio focus on?</h2>
+ <h2 className="text-base font-semibold tracking-tight">What will your company focus on?</h2>
{onBrowseTemplates && (
<button
type="button"
@@ -45,7 +45,7 @@ export function ScenarioPicker({
{s.description}
</span>
<span className="text-[10px] text-muted-foreground/70 mt-1">
- {s.members.length} teammate{s.members.length > 1 ? "s" : ""}
+ {s.members.length} agent{s.members.length > 1 ? "s" : ""}
</span>
</button>
))}
diff --git a/src/web/src/components/studio-onboarding/scenario-presets.ts b/src/web/src/components/studio-onboarding/scenario-presets.ts
index 7e6577641..acf5dda21 100644
--- a/src/web/src/components/studio-onboarding/scenario-presets.ts
+++ b/src/web/src/components/studio-onboarding/scenario-presets.ts
@@ -360,7 +360,7 @@ export const SCENARIO_PRESETS: ScenarioPreset[] = [
{
id: "software-dev",
label: "Software Development",
- description: "Build and ship code with a coordinated dev team",
+ description: "Build and ship code with a coordinated dev company",
icon: "🖥",
members: [
{ role: "leader", description: "Coordinates work, summarizes results, and replies to you", instructions: LEADER_INSTRUCTIONS },
@@ -382,7 +382,7 @@ export const SCENARIO_PRESETS: ScenarioPreset[] = [
{
id: "productivity",
label: "General Productivity",
- description: "A lean team for everyday tasks and communications",
+ description: "A lean company for everyday tasks and communications",
icon: "🏢",
members: [
{ role: "leader", description: "Handles tasks, coordinates work, and replies to you", instructions: LEADER_INSTRUCTIONS },
@@ -391,7 +391,7 @@ export const SCENARIO_PRESETS: ScenarioPreset[] = [
},
{
id: "full-team",
- label: "Full Team",
+ label: "Full Company",
description: "All roles covered — dev, research, and operations",
icon: "🚀",
members: [
@@ -404,7 +404,7 @@ export const SCENARIO_PRESETS: ScenarioPreset[] = [
{
id: "custom",
label: "Custom",
- description: "Choose your own team size and roles",
+ description: "Choose your own company size and roles",
icon: "⚙️",
members: [
{ role: "leader", description: "Coordinates work and replies to you", instructions: LEADER_INSTRUCTIONS },
diff --git a/src/web/src/components/studio-onboarding/team-preview.tsx b/src/web/src/components/studio-onboarding/team-preview.tsx
index b17596db7..f72ee4c72 100644
--- a/src/web/src/components/studio-onboarding/team-preview.tsx
+++ b/src/web/src/components/studio-onboarding/team-preview.tsx
@@ -48,7 +48,7 @@ export function TeamPreview({
return (
<div className="space-y-3">
<div className="flex items-center justify-between">
- <h2 className="text-sm font-medium">Your team</h2>
+ <h2 className="text-base font-semibold tracking-tight">Your company</h2>
<Button variant="ghost" size="sm" onClick={onShuffle} className="h-7 text-xs gap-1.5">
<RefreshCw className="size-3" />
Shuffle
diff --git a/src/web/src/lib/templates/presets/indie-hacker-ship-crew.ts b/src/web/src/lib/templates/presets/indie-hacker-ship-crew.ts
index 37d2045fa..cf55cc553 100644
--- a/src/web/src/lib/templates/presets/indie-hacker-ship-crew.ts
+++ b/src/web/src/lib/templates/presets/indie-hacker-ship-crew.ts
@@ -18,7 +18,7 @@ export const indieHackerShipCrew: TemplatePreset = {
"Deployment coordination and monitoring",
],
useCases: [
- { title: "Solo founders", description: "Multiply your output by delegating implementation, docs, and user comms to your AI crew." },
+ { title: "Solo founders", description: "Multiply your output by delegating implementation, docs, and user comms to your AI company." },
{ title: "Weekend projects", description: "Keep your side project moving forward even when you only have a few hours per week." },
{ title: "Early-stage startups", description: "Move fast before you can afford to hire, with AI handling the repetitive work." },
],