From 365dcfbbd2ef93caf85dfad77a48a39313a621a1 Mon Sep 17 00:00:00 2001 From: "IGNY8 VPS (Salman)" Date: Sat, 6 Dec 2025 15:01:06 +0000 Subject: [PATCH] asd --- frontend/src/pages/Dashboard/Home.tsx | 495 ++++---------------------- 1 file changed, 70 insertions(+), 425 deletions(-) diff --git a/frontend/src/pages/Dashboard/Home.tsx b/frontend/src/pages/Dashboard/Home.tsx index 18e0565a..46b7335e 100644 --- a/frontend/src/pages/Dashboard/Home.tsx +++ b/frontend/src/pages/Dashboard/Home.tsx @@ -686,427 +686,72 @@ export default function Home() { /> - {/* Circular Progress Flow */} -
-
- {/* Site with Industry & Sectors */} - -
- {/* Circular Progress Ring */} - - - - - {/* Icon in Center */} -
- {progress.hasSiteWithSectors ? ( - - ) : ( - - )} -
+ {/* Icon-based Progress Flow */} +
+
+ +
+
-
-
- Site & Sectors -
-
- {sites.filter(s => s.active_sectors_count > 0).length} -
-
- Industry & sectors configured -
-
-
- +
+
Site & Sectors
+
{sites.filter(s => s.active_sectors_count > 0).length}
+
Industry & sectors configured
- {/* Keywords Research */} - 0 ? 'opacity-100' : 'opacity-60' - }`} - > -
- {/* Circular Progress Ring */} - - - 0 ? 1 : 0))}`} - strokeLinecap="round" - className="text-blue-500 transition-all duration-500" - /> - - {/* Icon in Center */} -
0 - ? 'bg-blue-500 text-white shadow-lg scale-110' - : 'bg-gray-200 dark:bg-gray-700 text-gray-500 dark:text-gray-400' - }`}> - {progress.keywordsCount > 0 ? ( - - ) : ( - - )} -
+ +
+
-
-
0 - ? 'text-blue-700 dark:text-blue-300' - : 'text-gray-600 dark:text-gray-400' - }`}> - Keywords -
-
0 - ? 'text-blue-600 dark:text-blue-400' - : 'text-gray-500 dark:text-gray-500' - }`}> - {progress.keywordsCount} -
-
- Keywords added from opportunities -
-
-
- 0 ? 'text-blue-500' : 'text-gray-300' - }`} /> +
+
Keywords
+
{progress.keywordsCount}
+
Keywords added from opportunities
- {/* Clustering */} - 0 ? 'opacity-100' : 'opacity-60' - }`} - > -
- {/* Circular Progress Ring */} - - - 0 ? 1 : 0))}`} - strokeLinecap="round" - className="text-purple-500 transition-all duration-500" - /> - - {/* Icon in Center */} -
0 - ? 'bg-purple-500 text-white shadow-lg scale-110' - : 'bg-gray-200 dark:bg-gray-700 text-gray-500 dark:text-gray-400' - }`}> - {progress.clustersCount > 0 ? ( - - ) : ( - - )} -
+ +
+
-
-
0 - ? 'text-purple-700 dark:text-purple-300' - : 'text-gray-600 dark:text-gray-400' - }`}> - Clusters -
-
0 - ? 'text-purple-600 dark:text-purple-400' - : 'text-gray-500 dark:text-gray-500' - }`}> - {progress.clustersCount} -
-
- Keywords grouped into clusters -
-
-
- 0 ? 'text-purple-500' : 'text-gray-300' - }`} /> +
+
Clusters
+
{progress.clustersCount}
+
Keywords grouped into clusters
- {/* Ideas/Outlines */} - 0 ? 'opacity-100' : 'opacity-60' - }`} - > -
- {/* Circular Progress Ring */} - - - 0 ? 1 : 0))}`} - strokeLinecap="round" - className="text-orange-500 transition-all duration-500" - /> - - {/* Icon in Center */} -
0 - ? 'bg-orange-500 text-white shadow-lg scale-110' - : 'bg-gray-200 dark:bg-gray-700 text-gray-500 dark:text-gray-400' - }`}> - {progress.ideasCount > 0 ? ( - - ) : ( - - )} -
+ +
+
-
-
0 - ? 'text-orange-700 dark:text-orange-300' - : 'text-gray-600 dark:text-gray-400' - }`}> - Ideas -
-
0 - ? 'text-orange-600 dark:text-orange-400' - : 'text-gray-500 dark:text-gray-500' - }`}> - {progress.ideasCount} -
-
- Content ideas and outlines -
-
-
- 0 ? 'text-orange-500' : 'text-gray-300' - }`} /> +
+
Ideas
+
{progress.ideasCount}
+
Content ideas and outlines
- {/* Content + Images */} - 0 ? 'opacity-100' : 'opacity-60' - }`} - > -
- {/* Circular Progress Ring */} - - - 0 ? 1 : 0))}`} - strokeLinecap="round" - className="text-green-500 transition-all duration-500" - /> - - {/* Icon in Center */} -
0 - ? 'bg-green-500 text-white shadow-lg scale-110' - : 'bg-gray-200 dark:bg-gray-700 text-gray-500 dark:text-gray-400' - }`}> - {progress.contentCount > 0 ? ( - - ) : ( - - )} -
+ +
+
-
-
0 - ? 'text-green-700 dark:text-green-300' - : 'text-gray-600 dark:text-gray-400' - }`}> - Content -
-
0 - ? 'text-green-600 dark:text-green-400' - : 'text-gray-500 dark:text-gray-500' - }`}> - {progress.contentCount} -
-
- Content pieces + images created -
-
-
- 0 ? 'text-green-500' : 'text-gray-300' - }`} /> +
+
Content
+
{progress.contentCount}
+
Content pieces + images created
- {/* Publish Status */} - 0 ? 'opacity-100' : 'opacity-60' - }`} - > -
- {/* Circular Progress Ring */} - - - 0 ? 1 : 0))}`} - strokeLinecap="round" - className="text-indigo-500 transition-all duration-500" - /> - - {/* Icon in Center */} -
0 - ? 'bg-indigo-500 text-white shadow-lg scale-110' - : 'bg-gray-200 dark:bg-gray-700 text-gray-500 dark:text-gray-400' - }`}> - {progress.publishedCount > 0 ? ( - - ) : ( - - )} -
+ +
+
-
-
0 - ? 'text-indigo-700 dark:text-indigo-300' - : 'text-gray-600 dark:text-gray-400' - }`}> - Published -
-
0 - ? 'text-indigo-600 dark:text-indigo-400' - : 'text-gray-500 dark:text-gray-500' - }`}> - {progress.publishedCount} -
-
- Content published to site -
+
+
Published
+
{progress.publishedCount}
+
Content published to site
@@ -1118,72 +763,72 @@ export default function Home() {
-
+
-

Keyword Research

-

Discover opportunities

+

Keyword Research

+

Discover opportunities

- + -
+
-

Clustering & Ideas

-

Organize strategy

+

Clustering & Ideas

+

Organize strategy

- + -
+
-

Content Generation

-

Create content

+

Content Generation

+

Create content

- + -
+
-

Internal Linking

-

Link content

+

Internal Linking

+

Link content

- + -
+
-

Content Optimization

-

Optimize content

+

Content Optimization

+

Optimize content

- +