Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
import { Link } from "react-router-dom";
function AllEvalsPage() {
return (
<div className="flex flex-col items-center justify-center min-h-screen bg-gray-50">
<div className="max-w-md w-full space-y-8 p-8">
<div className="flex justify-between items-center mb-4">
<h1 className="text-3xl font-bold text-gray-900">
Evals Dashboard
</h1>
<Link
to="/"
className="text-sm text-gray-500 hover:text-gray-700 flex items-center"
>
← Back to app
</Link>
</div>
<div className="space-y-4">
<Link
to="/evals/run"
className="block w-full p-4 bg-white rounded-lg shadow hover:shadow-md transition-shadow border border-gray-200"
>
<h2 className="text-xl font-semibold text-gray-800">Run Evals</h2>
<p className="text-gray-600">
Generate evaluations for multiple models
</p>
</Link>
<Link
to="/evals/best-of-n"
className="block w-full p-4 bg-white rounded-lg shadow hover:shadow-md transition-shadow border border-gray-200"
>
<h2 className="text-xl font-semibold text-gray-800">Best of N</h2>
<p className="text-gray-600">
Compare multiple model outputs side by side
</p>
</Link>
<Link
to="/evals/openai-input-compare"
className="block w-full p-4 bg-white rounded-lg shadow hover:shadow-md transition-shadow border border-gray-200"
>
<h2 className="text-xl font-semibold text-gray-800">
OpenAI Input Compare
</h2>
<p className="text-gray-600">
Find the first diverging input block between two requests
</p>
</Link>
<Link
to="/evals/prompt-reports"
className="block w-full p-4 bg-white rounded-lg shadow hover:shadow-md transition-shadow border border-gray-200"
>
<h2 className="text-xl font-semibold text-gray-800">
Prompt Reports
</h2>
<p className="text-gray-600">
Browse logged LLM requests with images, usage, and cost
</p>
</Link>
</div>
</div>
</div>
);
}
export default AllEvalsPage;