+ {/* Header Section */}
+
+
+
+
+
+
+ {content.status}
+
+
+
+ {content.meta_title || content.title || `Content #${content.id}`}
+
+ {content.meta_description && (
+
+ {content.meta_description}
+
+ )}
+
+
+
+
+ {/* Metadata Section */}
+
+
+ {/* Basic Info */}
+
+
+ Basic Information
+
+
+
+
+
+
Generated
+
+ {formatDate(content.generated_at)}
+
+
+
+ {content.updated_at && content.updated_at !== content.generated_at && (
+
+
+
+
Last Updated
+
+ {formatDate(content.updated_at)}
+
+
+
+ )}
+
+
+
+
Word Count
+
+ {content.word_count?.toLocaleString() || 'N/A'} words
+
+
+
+
+
+
+ {/* Task & Sector Info */}
+
+
+ Related Information
+
+
+ {content.task_title && (
+
+
Task
+
+ {content.task_title}
+
+
ID: {content.task_id}
+
+ )}
+ {content.sector_name && (
+
+
Sector
+
+ {content.sector_name}
+
+
+ )}
+
+
+
+ {/* Keywords & Tags */}
+
+
+ SEO & Tags
+
+
+ {content.primary_keyword && (
+
+
Primary Keyword
+
+ {content.primary_keyword}
+
+
+ )}
+ {content.secondary_keywords && content.secondary_keywords.length > 0 && (
+
+
Secondary Keywords
+
+ {content.secondary_keywords.map((keyword, idx) => (
+
+ {keyword}
+
+ ))}
+
+
+ )}
+
+
+
+
+ {/* Tags and Categories */}
+ {(content.tags && content.tags.length > 0) || (content.categories && content.categories.length > 0) ? (
+
+
+ {content.tags && content.tags.length > 0 && (
+
+
+
+ {content.tags.map((tag, idx) => (
+
+ {tag}
+
+ ))}
+
+
+ )}
+ {content.categories && content.categories.length > 0 && (
+
+
Categories:
+
+ {content.categories.map((category, idx) => (
+
+ {category}
+
+ ))}
+
+
+ )}
+
+
+ ) : null}
+
+
+ {/* Image Status */}
+ {(content.has_image_prompts || content.has_generated_images) && (
+
+
+ {content.has_image_prompts && (
+
+
+ Image Prompts Generated
+
+ )}
+ {content.has_generated_images && (
+
+
+ Images Generated
+
+ )}
+
+
+ )}
+
+ {/* HTML Content */}
+
+
+ {/* Metadata JSON (Collapsible) */}
+ {content.metadata && Object.keys(content.metadata).length > 0 && (
+
+
+
+ View Full Metadata
+
+
+
+ {JSON.stringify(content.metadata, null, 2)}
+
+
+
+
+ )}
+