+ {/* Text popup modal */}
+ {textState.showing && (
+
+
+
+ {textState.title}
+
+
+
)}
- {text && (
-
- {text}
-
+
+ {/* Image popup modal */}
+ {imagePopup.showing && imagePopup.image_url && (
+
+
+ {imagePopup.caption && (
+
+ {imagePopup.caption}
+
+ )}
+

+
+
+ )}
+
+ {/* Background idle state */}
+ {!textState.showing && !imagePopup.showing && (
+
+
Waiting for content...
+
)}