feat(dashboard): add scrape portals widget to dashboard
continuous-integration/drone/push Build is passing

Surface AI pipeline portal sources on the dashboard instead of a standalone page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
AmirReza Jamali
2026-06-23 10:22:58 +03:30
parent 31d80cd6ae
commit 9202f9a271
9 changed files with 174 additions and 8 deletions
@@ -4,6 +4,7 @@ import { ClosingSoonCard } from "./closing-soon";
import { CountryDistribution } from "./country-distribution";
import { DashboardHero } from "./hero";
import { NoticeTypeBreakdown } from "./notice-types";
import { ScrapePortals } from "./portals";
import { RecentTenders } from "./recent-tenders";
import { StatisticsSection } from "./statistics-section";
import { TenderStatCards } from "./stat-cards";
@@ -19,11 +20,11 @@ export function TenderDashboard() {
totalValue,
valueCurrency,
countries,
noticeTypes,
trend,
recent,
recentIsLoading,
closingSoonList,
portals,
portalsIsLoading,
} = useDashboardData();
return (
@@ -63,9 +64,12 @@ export function TenderDashboard() {
<ClosingSoonCard tenders={closingSoonList} isLoading={isPending} />
</div> */}
<div className="col-span-12">
<div className="col-span-12 xl:col-span-8">
<RecentTenders tenders={recent} isLoading={recentIsLoading} />
</div>
<div className="col-span-12 xl:col-span-4">
<ScrapePortals portals={portals} isLoading={portalsIsLoading} />
</div>
</div>
<StatisticsSection />