final ui of planner and writer
This commit is contained in:
@@ -704,45 +704,6 @@ export default function IndustriesSectorsKeywords() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Keyword Count Summary & Next Step CTA */}
|
||||
{activeSite && activeSector && (
|
||||
<div className="mx-6 mt-6 mb-4">
|
||||
<div className="flex flex-wrap items-center justify-between gap-4 p-4 bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg shadow-sm">
|
||||
<div className="flex items-center gap-6">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-sm font-medium text-gray-700 dark:text-gray-300">
|
||||
<span className="text-green-600 dark:text-green-400 font-bold">{addedCount}</span> keywords in your workflow
|
||||
</span>
|
||||
</div>
|
||||
<div className="w-px h-5 bg-gray-300 dark:bg-gray-600 hidden sm:block" />
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-sm font-medium text-gray-700 dark:text-gray-300">
|
||||
<span className="text-blue-600 dark:text-blue-400 font-bold">{availableCount}</span> available to add
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{addedCount > 0 && (
|
||||
<Button
|
||||
variant="success"
|
||||
size="sm"
|
||||
onClick={() => navigate('/planner/keywords')}
|
||||
endIcon={
|
||||
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 7l5 5m0 0l-5 5m5-5H6" />
|
||||
</svg>
|
||||
}
|
||||
>
|
||||
Next: Plan Your Content
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
{/* Coming Soon Teaser */}
|
||||
<p className="text-xs text-gray-500 dark:text-gray-400 mt-2 text-center">
|
||||
Looking for more keywords? Keyword Research coming soon!
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<TablePageTemplate
|
||||
columns={pageConfig.columns}
|
||||
data={seedKeywords}
|
||||
@@ -755,6 +716,34 @@ export default function IndustriesSectorsKeywords() {
|
||||
difficulty: difficultyFilter,
|
||||
showNotAddedOnly: showNotAddedOnly ? 'true' : '',
|
||||
}}
|
||||
customActions={activeSite && activeSector ? (
|
||||
<div className="flex items-center gap-3 px-3 py-1.5 bg-gray-50 dark:bg-gray-800/50 rounded-lg border border-gray-200 dark:border-gray-700">
|
||||
<span className="text-xs font-medium text-gray-600 dark:text-gray-400">
|
||||
<span className="text-green-600 dark:text-green-400 font-bold">{addedCount}</span> in workflow
|
||||
</span>
|
||||
<div className="w-px h-4 bg-gray-300 dark:bg-gray-600" />
|
||||
<span className="text-xs font-medium text-gray-600 dark:text-gray-400">
|
||||
<span className="text-blue-600 dark:text-blue-400 font-bold">{availableCount}</span> available
|
||||
</span>
|
||||
{addedCount > 0 && (
|
||||
<>
|
||||
<div className="w-px h-4 bg-gray-300 dark:bg-gray-600" />
|
||||
<Button
|
||||
variant="success"
|
||||
size="sm"
|
||||
onClick={() => navigate('/planner/keywords')}
|
||||
endIcon={
|
||||
<svg className="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 7l5 5m0 0l-5 5m5-5H6" />
|
||||
</svg>
|
||||
}
|
||||
>
|
||||
Next: Plan Your Content
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
) : undefined}
|
||||
onFilterChange={(key, value) => {
|
||||
const stringValue = value === null || value === undefined ? '' : String(value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user