Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
minor visual improvements
Abi Raja2ad9780e80cc
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsxindex a3999c7d..80f67143 100644--- a/frontend/src/App.tsx+++ b/frontend/src/App.tsx@@ -181,15 +181,10 @@ function App() {<div className="lg:fixed lg:inset-y-0 lg:z-40 lg:flex lg:w-96 lg:flex-col"><div className="flex grow flex-col gap-y-2 overflow-y-auto border-r border-gray-200 bg-white px-6">- <div className="flex items-center justify-between mt-10">+ <div className="flex items-center justify-between mt-10 mb-2"><h1 className="text-2xl ">Screenshot to Code</h1><SettingsDialog settings={settings} setSettings={setSettings} /></div>- {appState === AppState.INITIAL && (- <h2 className="text-sm text-gray-500 mb-2">- Drag & drop a screenshot to get started.- </h2>- )}{appState === AppState.INITIAL && (<OutputSettingsSectiondiff --git a/frontend/src/components/OutputSettingsSection.tsx b/frontend/src/components/OutputSettingsSection.tsxindex 03b17c7b..7631043f 100644--- a/frontend/src/components/OutputSettingsSection.tsx+++ b/frontend/src/components/OutputSettingsSection.tsx@@ -60,7 +60,7 @@ function generateDisplayString(settings: OutputSettings) {settings.css === CSSOption.TAILWIND) {return (- <div>+ <div className="text-gray-800">Generating <span className="font-bold">HTML</span> +{" "}<span className="font-bold">Tailwind</span> code</div>