diff --git a/packages/page-profile/lib/ProfilePage.tsx b/packages/page-profile/lib/ProfilePage.tsx index fbc98bca..5044cc45 100644 --- a/packages/page-profile/lib/ProfilePage.tsx +++ b/packages/page-profile/lib/ProfilePage.tsx @@ -7,6 +7,7 @@ import { import { ExplainerBoundary } from "@keybr/widget"; import { AccuracyStreaksSection } from "./profile/AccuracyStreaksSection.tsx"; import { CalendarSection } from "./profile/CalendarSection.tsx"; +import { DataScript } from "./profile/DataScript.tsx"; import { ExplainProfile } from "./profile/ExplainProfile.tsx"; import { FooterSection } from "./profile/FooterSection.tsx"; import { HistogramsSection } from "./profile/HistogramsSection.tsx"; @@ -41,6 +42,8 @@ function Content({ keyStatsMap }: { keyStatsMap: KeyStatsMap }) { return ( <> + + diff --git a/packages/page-profile/lib/PublicProfilePage.tsx b/packages/page-profile/lib/PublicProfilePage.tsx index e62b9ef4..e009e1d7 100644 --- a/packages/page-profile/lib/PublicProfilePage.tsx +++ b/packages/page-profile/lib/PublicProfilePage.tsx @@ -7,6 +7,7 @@ import { import { ExplainerBoundary, Header } from "@keybr/widget"; import { AccuracyStreaksSection } from "./profile/AccuracyStreaksSection.tsx"; import { CalendarSection } from "./profile/CalendarSection.tsx"; +import { DataScript } from "./profile/DataScript.tsx"; import { ExplainProfile } from "./profile/ExplainProfile.tsx"; import { HistogramsSection } from "./profile/HistogramsSection.tsx"; import { KeyFrequencyHeatmapSection } from "./profile/KeyFrequencyHeatmapSection.tsx"; @@ -41,6 +42,8 @@ function Content({ keyStatsMap }: { keyStatsMap: KeyStatsMap }) { return ( <> + + diff --git a/packages/page-profile/lib/profile/DataScript.tsx b/packages/page-profile/lib/profile/DataScript.tsx new file mode 100644 index 00000000..4b5b8bab --- /dev/null +++ b/packages/page-profile/lib/profile/DataScript.tsx @@ -0,0 +1,25 @@ +import type { DailyStatsMap, SummaryStats } from "@keybr/result"; + +export function DataScript({ + stats, + dailyStatsMap, +}: { + stats: SummaryStats; + dailyStatsMap: DailyStatsMap; +}) { + return ( + + ); +}