Skip to content

Commit b2842b6

Browse files
Fix codebility build issues
1 parent 77e64b2 commit b2842b6

3 files changed

Lines changed: 14 additions & 44 deletions

File tree

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
1-
<<<<<<< HEAD
2-
// app/auth/onboarding/page.tsx (patched)
3-
4-
=======
5-
>>>>>>> origin/dev
1+
// app/auth/onboarding/page.tsx
62
"use client";
73

84
import { useRef } from "react";
9-
10-
import IsRoadMap from "./_components/RoadMap/IsRoadMap";
11-
import ExpectFromUsWrapper from "./ExpectFromUsWrapper";
125
import ExpectSectionWrapper from "./ExpectSectionWrapper";
136
import HouseRulesSectionWrapper from "./HouseRulesSectionWrapper";
14-
import IsAndIsntSectionWrapper from "./IsAndIsntSectionWrapper";
15-
import IsNotSectionWrapper from "./IsNotSectionWrapper";
16-
import MindsetSectionWrapper from "./MindsetSectionWrapper";
177
import OnboardingClientWrapper from "./OnboardingClientWrapper";
18-
19-
208
import OnboardingStepper from "./OnboardingStepper";
21-
229
import PartnersSectionWrapper from "./PartnersSectionWrapper";
2310
import RoadMapWrapper from "./RoadMapSectionWrapper";
2411
import SoftwareSectionWrapper from "./SoftwareSectionWrapper";
@@ -27,60 +14,42 @@ import WellcomeSectionWrapper from "./WellcomeSectionWrapper";
2714

2815
export default function OnboardingPage() {
2916
const roadmapRef = useRef<HTMLDivElement>(null);
30-
17+
3118
return (
3219
<main className="relative min-h-screen">
33-
34-
<OnboardingClientWrapper />
35-
<SoftwareSectionWrapper />
36-
{/* <MindsetSectionWrapper /> */}
37-
<ExpectSectionWrapper />
38-
{/* <IsAndIsntSectionWrapper /> */}
39-
{/* <IsNotSectionWrapper /> */}
40-
{/* <ExpectFromUsWrapper /> */}
41-
<RoadMapWrapper roadmapRef={roadmapRef} />
42-
<HouseRulesSectionWrapper />
43-
<TeamSectionWrapper />
44-
<PartnersSectionWrapper />
45-
<WellcomeSectionWrapper />
46-
</main>
47-
);
48-
}
49-
5020
{/* Vertical stepper navigation */}
5121
<OnboardingStepper />
52-
22+
5323
<OnboardingClientWrapper />
54-
24+
5525
{/* Each section wrapped with ID for stepper tracking */}
5626
<section id="software">
5727
<SoftwareSectionWrapper />
5828
</section>
59-
29+
6030
<section id="expect">
6131
<ExpectSectionWrapper />
6232
</section>
63-
33+
6434
<section id="roadmap">
6535
<RoadMapWrapper roadmapRef={roadmapRef} />
6636
</section>
67-
37+
6838
<section id="house-rules">
6939
<HouseRulesSectionWrapper />
7040
</section>
71-
41+
7242
<section id="team">
7343
<TeamSectionWrapper />
7444
</section>
75-
45+
7646
<section id="partners">
7747
<PartnersSectionWrapper />
7848
</section>
79-
49+
8050
<section id="welcome">
8151
<WellcomeSectionWrapper />
8252
</section>
8353
</main>
8454
);
85-
}
86-
55+
}

‎apps/codebility/app/home/layout.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ThemeProvider } from "@/context/ThemeProvider";
66
import ReactQueryProvider from "@/hooks/reactQuery";
77
import { UserProvider } from "@/store/UserProvider";
88
import { AppRouterCacheProvider } from "@mui/material-nextjs/v14-appRouter";
9-
import { Toaster } from "@codevs/ui/sonner/toast";
9+
import { Toaster } from "sonner";
1010

1111

1212
import ToastNotification from "./_components/HomeToastNotification";
@@ -18,6 +18,7 @@ import { PageTransitionSettings } from "./_components/PageTransitionSettings";
1818
import { MuiStyleRoot } from "./(dashboard)/_components/DashboardRoadmapStyleRoot";
1919
import ConditionalMainWrapper from "./_components/ConditionalMainWrapper";
2020
import DynamicMainContent from "./_components/DynamicMainContent";
21+
import { Toast } from "@codevs/ui/toast";
2122

2223
// Force dynamic rendering for layout due to server-side Supabase usage
2324
export const dynamic = "force-dynamic";

‎apps/codebility/components/notifications/NotificationContainer.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { NotificationIcon } from "./NotificationIcon";
66
import { NotificationPanel } from "./NotificationPanel";
77
import { createClientClientComponent } from "@/utils/supabase/client";
88
import { useUserStore } from "@/store/codev-store";
9-
import { toast } from "@codevs/ui/sonner/toast";
9+
import { toast } from "sonner";
1010

1111

1212
export function NotificationContainer() {

0 commit comments

Comments
 (0)