Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

Tighten upload copy and text examples

Abi Rajac380e9883d48
diff --git a/frontend/src/components/unified-input/tabs/TextTab.tsx b/frontend/src/components/unified-input/tabs/TextTab.tsx
index 1bf83e3c..820de840 100644
--- a/frontend/src/components/unified-input/tabs/TextTab.tsx
+++ b/frontend/src/components/unified-input/tabs/TextTab.tsx
@@ -12,8 +12,6 @@ const EXAMPLE_PROMPTS = [
"A minimalist portfolio with case studies and a contact section",
"A fintech savings app dashboard with balances and goals",
"A travel itinerary planner with map and daily schedule",
- "A fitness class booking page with timetable and trainers",
- "A real estate listing page with photo gallery and details",
];
function TextTab({ doCreateFromText }: Props) {
diff --git a/frontend/src/components/unified-input/tabs/UploadTab.tsx b/frontend/src/components/unified-input/tabs/UploadTab.tsx
index be2b7fbf..1d582be4 100644
--- a/frontend/src/components/unified-input/tabs/UploadTab.tsx
+++ b/frontend/src/components/unified-input/tabs/UploadTab.tsx
@@ -208,12 +208,9 @@ function UploadTab({ doCreate }: Props) {
<p className="text-gray-700 font-medium">
Drop a screenshot or video here
</p>
- <p className="text-sm text-gray-500 mt-1">
- or click to browse
- </p>
</div>
<p className="text-xs text-gray-400 mt-2">
- Supports PNG, JPG, MP4, MOV, WebM (max 20MB)
+ Supports PNG, JPG, MP4, MOV, WebM (max 20MB, 30s video)
</p>
</div>
</div>