- {/* Large Logo */}
-
);
}
diff --git a/islands/ImageGenerater.tsx b/islands/ImageGenerater.tsx
index 6a7517f..9b96c66 100644
--- a/islands/ImageGenerater.tsx
+++ b/islands/ImageGenerater.tsx
@@ -29,6 +29,12 @@ export default function ImageGenerater(
const [showCropperModal, setShowCropperModal] = useState(false);
const [isAiGenerating, setIsAiGenerating] = useState(false);
+ const backgroundImage = displayImage
+ ? (displayImage.startsWith("http") || displayImage.startsWith("/"))
+ ? `url(${CSS.escape(decodeData(displayImage))})`
+ : `url(data:image/png;base64,${displayImage})`
+ : "none";
+
const handleSave = () => {
setIsVisible(false);
// image_file: the actual saved filename (with timestamp hash for AI-generated)
@@ -105,21 +111,7 @@ export default function ImageGenerater(
@@ -140,6 +132,7 @@ export default function ImageGenerater(
{role === "admin" && (
)}