feat(dashboard): add scrape portals widget to dashboard
continuous-integration/drone/push Build is passing
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:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user