improve button look
This commit is contained in:
parent
e013f63829
commit
20bb905983
@ -88,9 +88,26 @@ function App() {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{appState === "CODE_READY" && (
|
{appState === "CODE_READY" && (
|
||||||
<a onClick={createBlobUrl} href={blobUrl} download="index.html">
|
<div className="flex items-center gap-x-2 mb-4 justify-end">
|
||||||
|
<a
|
||||||
|
className="bg-button/70 hover:bg-highlight text-black
|
||||||
|
py-2 px-4 rounded transition duration-300"
|
||||||
|
onClick={createBlobUrl}
|
||||||
|
href={blobUrl}
|
||||||
|
download="index.html"
|
||||||
|
>
|
||||||
Download code
|
Download code
|
||||||
</a>
|
</a>
|
||||||
|
<a
|
||||||
|
className="bg-button/70 hover:bg-highlight text-black
|
||||||
|
py-2 px-4 rounded transition duration-300"
|
||||||
|
onClick={createBlobUrl}
|
||||||
|
href={blobUrl}
|
||||||
|
download="index.html"
|
||||||
|
>
|
||||||
|
Reset
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
<Preview code={generatedCode} />
|
<Preview code={generatedCode} />
|
||||||
</>
|
</>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user