fix: Improve canvas error handling and update button functionality in Generator component

This commit is contained in:
2025-07-01 11:51:19 +02:00
parent d3ecfae5df
commit 38970430a0
2 changed files with 68 additions and 38 deletions

View File

@@ -77,7 +77,7 @@ export default function Layout({ children, title = 'Wastpol' }) {
<div className="flex min-h-0 flex-1 flex-col bg-white border-r border-gray-200 shadow-sm">
<div className="flex h-16 items-center justify-center px-4 border-b border-gray-200 bg-gradient-to-r from-blue-600 to-blue-700">
<img className="h-8 w-auto filter brightness-0 invert" src="/logo.png" alt="Wastpol" />
<span className="ml-2 text-lg font-semibold text-white">Wastpol</span>
{/* <span className="ml-2 text-lg font-semibold text-white">Wastpol</span> */}
</div>
<div className="flex flex-1 flex-col overflow-y-auto">
<nav className="flex-1 px-2 py-4 space-y-1">