diff --git a/package-lock.json b/package-lock.json
index 815631c..641d05b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -118,7 +118,6 @@
"integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"@babel/code-frame": "^7.29.7",
"@babel/generator": "^7.29.7",
@@ -4522,13 +4521,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@rushstack/eslint-patch": {
- "version": "1.16.1",
- "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.16.1.tgz",
- "integrity": "sha512-TvZbIpeKqGQQ7X0zSCvPH9riMSFQFSggnfBjFZ1mEoILW+UuXCKwOoPcgjMwiUtRqFZ8jWhPJc4um14vC6I4ag==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/@stablelib/base64": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@stablelib/base64/-/base64-1.0.1.tgz",
@@ -5103,7 +5095,6 @@
"integrity": "sha512-fcqpj/MyK4sxDPcbe7STNPbpQL4RLZOPWuaTmwZYuc+hJKzRf58yRxfhqGpc6PIq9ZyfSBpfHgmUHmHs0KwHwg==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"@typescript-eslint/scope-manager": "8.60.0",
"@typescript-eslint/types": "8.60.0",
@@ -5615,7 +5606,6 @@
"resolved": "https://registry.npmjs.org/@upstash/redis/-/redis-1.38.0.tgz",
"integrity": "sha512-wu+dZBptlLy0+MCUEoHmzrY/TnmgDey3+c7EbIGwrLqAvkP8yi5MWZHYGIFtAygmL4Bkz2TdFu+eU0vFPncIcg==",
"license": "MIT",
- "peer": true,
"dependencies": {
"uncrypto": "^0.1.3"
}
@@ -14629,7 +14619,6 @@
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
"dev": true,
"license": "MIT",
- "peer": true,
"engines": {
"node": ">=12"
},
@@ -15105,7 +15094,6 @@
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
"integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
"license": "MIT",
- "peer": true,
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
diff --git a/src/app/(app)/dashboard/page.tsx b/src/app/(app)/dashboard/page.tsx
index 85645bf..65aed1e 100644
--- a/src/app/(app)/dashboard/page.tsx
+++ b/src/app/(app)/dashboard/page.tsx
@@ -6,20 +6,39 @@ import LevelUpBanner from './level-up-banner';
import { redirect } from 'next/navigation';
import Link from 'next/link';
-// Component imports
+// Existing dashboard components
import StatsRow, { StatsSkeleton } from './stats-row';
import ActiveIssuesSection, { RecsSkeleton } from './active-issues';
import GitHubPRsWrapper, { PrsSkeleton } from './github-prs-wrapper';
import LeaderboardSnapshot, { LeaderboardSkeleton } from './leaderboard-snapshot';
import MenteesSection, { MenteesSkeleton } from './mentees-section';
+// New contributor-dashboard components
+import {
+ ProfileSidebar,
+ ProfileSidebarSkeleton,
+} from '@/components/contributor-dashboard/profile-sidebar';
+import JourneyProgress, {
+ JourneyProgressSkeleton,
+} from '@/components/contributor-dashboard/journey-progress';
+import RecentActivity, {
+ RecentActivitySkeleton,
+} from '@/components/contributor-dashboard/recent-activity';
+import HeatmapWrapper, {
+ HeatmapSkeleton,
+} from '@/components/contributor-dashboard/heatmap-wrapper';
+import { DailyChallenge } from '@/components/contributor-dashboard/daily-challenge';
+import { CourseProgress } from '@/components/contributor-dashboard/course-progress';
+import {
+ RightSidebar,
+ RightSidebarSkeleton,
+} from '@/components/contributor-dashboard/right-sidebar';
+
export const dynamic = 'force-dynamic';
export default async function DashboardPage() {
const sb = await getServerSupabase();
- if (!sb) {
- return
Auth isn't wired on this deployment yet.
diff --git a/src/app/[handle]/page.tsx b/src/app/[handle]/page.tsx index 55863f1..e933da5 100644 --- a/src/app/[handle]/page.tsx +++ b/src/app/[handle]/page.tsx @@ -129,10 +129,6 @@ async function loadProfileData(handle: string): Promise