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.

Make hero image smaller with fixed height

f-trycuaf60a2a678d42
diff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdx
index 3bb331083c..4ed5ee7f6c 100644
--- a/docs/content/docs/index.mdx
+++ b/docs/content/docs/index.mdx
@@ -4,16 +4,16 @@ title: Introduction
import { Monitor, Code, BookOpen, Zap, Bot, Boxes, Rocket } from 'lucide-react';
-<div className="relative rounded-xl overflow-hidden mb-8 w-full">
+<div className="relative rounded-xl overflow-hidden mb-8 w-full h-40">
<img
src="/docs/img/bg-light.jpg"
alt="Cua"
- className="w-full h-auto block dark:hidden scale-150 origin-center"
+ className="w-full h-full object-cover block dark:hidden"
/>
<img
src="/docs/img/bg-dark.jpg"
alt="Cua"
- className="w-full h-auto hidden dark:block scale-150 origin-center"
+ className="w-full h-full object-cover hidden dark:block"
/>
<div className="absolute inset-0 flex items-center justify-center">
<div className="bg-black/50 backdrop-blur-sm rounded-lg px-6 py-4">