diff --git a/apps/web/core/components/onboarding/tour/root.tsx b/apps/web/ce/components/onboarding/tour/root.tsx similarity index 93% rename from apps/web/core/components/onboarding/tour/root.tsx rename to apps/web/ce/components/onboarding/tour/root.tsx index 07db1afb5c0..f44cd5a9114 100644 --- a/apps/web/core/components/onboarding/tour/root.tsx +++ b/apps/web/ce/components/onboarding/tour/root.tsx @@ -18,7 +18,7 @@ import { useUser } from "@/hooks/store/user"; // local imports import { TourSidebar } from "./sidebar"; -type Props = { +export type TOnboardingTourProps = { onComplete: () => void; }; @@ -28,7 +28,7 @@ const TOUR_STEPS: { key: TTourSteps; title: string; description: string; - image: any; + image: string; prevStep?: TTourSteps; nextStep?: TTourSteps; }[] = [ @@ -75,7 +75,7 @@ const TOUR_STEPS: { }, ]; -export const TourRoot = observer(function TourRoot(props: Props) { +export const TourRoot = observer(function TourRoot(props: TOnboardingTourProps) { const { onComplete } = props; // states const [step, setStep] = useState("welcome"); @@ -89,12 +89,12 @@ export const TourRoot = observer(function TourRoot(props: Props) { return ( <> {step === "welcome" ? ( -
+
-
- +
+
-
+

Welcome to Plane, {currentUser?.first_name} {currentUser?.last_name}

@@ -103,7 +103,7 @@ export const TourRoot = observer(function TourRoot(props: Props) { started by creating a project.

-
+