Added attribution report page.

This commit is contained in:
Mike Cao 2025-06-09 00:42:09 -07:00
parent 0027502707
commit 79ea9974b7
23 changed files with 445 additions and 646 deletions

View file

@ -17,10 +17,10 @@ export function GoalsPage({ websiteId }: { websiteId: string }) {
return (
<Column gap>
<WebsiteControls websiteId={websiteId} />
<LoadingPanel isEmpty={!result?.data} isLoading={!result}>
<SectionHeader>
<GoalAddButton websiteId={websiteId} />
</SectionHeader>
<SectionHeader>
<GoalAddButton websiteId={websiteId} />
</SectionHeader>
<LoadingPanel isEmpty={!result?.data?.length} isLoading={!result}>
<Grid columns="1fr 1fr" gap>
{result?.data?.map((report: any) => (
<Panel key={report.id}>