Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs: fix Card href links to remove /docs/ prefix

f-trycua8c8dc52fef77
diff --git a/docs/content/docs/cua/examples/index.mdx b/docs/content/docs/cua/examples/index.mdx
index 3f53a8a5e7..566eb0df25 100644
--- a/docs/content/docs/cua/examples/index.mdx
+++ b/docs/content/docs/cua/examples/index.mdx
@@ -13,19 +13,19 @@ Explore real-world examples of building computer-use agents with Cua. These exam
<Cards>
<Card
icon={<Workflow className="w-6 h-6" />}
- href="/docs/cua/examples/automation/form-filling"
+ href="/cua/examples/automation/form-filling"
title="Automation"
description="Automate repetitive tasks like form filling and data export"
/>
<Card
icon={<Laptop className="w-6 h-6" />}
- href="/docs/cua/examples/platform-specific/windows-app-behind-vpn"
+ href="/cua/examples/platform-specific/windows-app-behind-vpn"
title="Platform-Specific"
description="Platform-specific examples and integrations"
/>
<Card
icon={<Brain className="w-6 h-6" />}
- href="/docs/cua/examples/ai-models/gemini-complex-ui-navigation"
+ href="/cua/examples/ai-models/gemini-complex-ui-navigation"
title="AI Models"
description="Examples using different AI models for GUI grounding"
/>
diff --git a/docs/content/docs/cuabench/index.mdx b/docs/content/docs/cuabench/index.mdx
index 972f26f462..79099e7ce7 100644
--- a/docs/content/docs/cuabench/index.mdx
+++ b/docs/content/docs/cuabench/index.mdx
@@ -59,9 +59,9 @@ This architecture is consistent between local development and cloud deployments.
## Next Steps
<Cards>
- <Card title="Introduction" href="/docs/cuabench/guide/getting-started/introduction" description="Learn about Cua-Bench concepts" />
- <Card title="Installation" href="/docs/cuabench/guide/getting-started/installation" description="Install the CLI and dependencies" />
- <Card title="Base Images" href="/docs/cuabench/guide/getting-started/images" description="Set up VM environments" />
- <Card title="First Steps" href="/docs/cuabench/guide/getting-started/first-steps" description="Run your first benchmark" />
- <Card title="Custom Agents" href="/docs/cuabench/guide/advanced/custom-agents" description="Build and run custom agents" />
+ <Card title="Introduction" href="/cuabench/guide/getting-started/introduction" description="Learn about Cua-Bench concepts" />
+ <Card title="Installation" href="/cuabench/guide/getting-started/installation" description="Install the CLI and dependencies" />
+ <Card title="Base Images" href="/cuabench/guide/getting-started/images" description="Set up VM environments" />
+ <Card title="First Steps" href="/cuabench/guide/getting-started/first-steps" description="Run your first benchmark" />
+ <Card title="Custom Agents" href="/cuabench/guide/advanced/custom-agents" description="Build and run custom agents" />
</Cards>
diff --git a/docs/src/app/(docs)/layout.tsx b/docs/src/app/(docs)/layout.tsx
index 0e3cc99a89..87dec8755b 100644
--- a/docs/src/app/(docs)/layout.tsx
+++ b/docs/src/app/(docs)/layout.tsx
@@ -7,7 +7,7 @@ export default function Layout({ children }: { children: ReactNode }) {
return (
<>
<CustomHeader />
- <div className="pt-10">
+ <div className="pt-14">
<DocsLayout
tree={source.pageTree}
nav={{ enabled: false }}
diff --git a/docs/src/app/(landing)/layout.tsx b/docs/src/app/(landing)/layout.tsx
index dec46c4379..f5aed96478 100644
--- a/docs/src/app/(landing)/layout.tsx
+++ b/docs/src/app/(landing)/layout.tsx
@@ -6,7 +6,9 @@ export default function LandingLayout({ children }: { children: ReactNode }) {
return (
<>
<CustomHeader />
- <HomeLayout nav={{ enabled: false }}>{children}</HomeLayout>
+ <div className="pt-14">
+ <HomeLayout nav={{ enabled: false }}>{children}</HomeLayout>
+ </div>
</>
);
}
diff --git a/docs/src/app/global.css b/docs/src/app/global.css
index 479c83d152..da2be8918c 100644
--- a/docs/src/app/global.css
+++ b/docs/src/app/global.css
@@ -40,3 +40,14 @@
overflow-y: auto;
overflow-x: hidden;
}
+
+/* Ensure search dialog appears above fixed header (z-50) */
+[data-search-dialog],
+[data-radix-dialog-content][role="dialog"],
+[vaul-drawer] {
+ z-index: 100 !important;
+}
+
+[data-radix-dialog-overlay] {
+ z-index: 99 !important;
+}