"use client";

import { WelcomeBlock } from "./dashboard/WelcomeBlock";
import { UnlockedStats } from "./dashboard/UnlockedStats";
import { RecentUpdates } from "./dashboard/RecentUpdates";
import { ContinueLearning } from "./dashboard/ContinueLearning";
import { TopicEbookShowcase } from "./landing/TopicEbookShowcase";
import { CommunityHighlights } from "./dashboard/CommunityHighlights";
import { WeeklyActions } from "./dashboard/WeeklyActions";

type DashboardPageProps = {
  userName: string | null;
};

export function DashboardPage({ userName }: DashboardPageProps) {
  return (
    <>
      <WelcomeBlock userName={userName} />
      <UnlockedStats />
      <ContinueLearning />
      <RecentUpdates />
      <TopicEbookShowcase />
      <CommunityHighlights />
      <WeeklyActions />
    </>
  );
}
