@@ -18,7 +18,7 @@ import { useUser } from "@/hooks/store/user";
1818// local imports
1919import { TourSidebar } from "./sidebar" ;
2020
21- type Props = {
21+ export type TOnboardingTourProps = {
2222 onComplete : ( ) => void ;
2323} ;
2424
@@ -28,7 +28,7 @@ const TOUR_STEPS: {
2828 key : TTourSteps ;
2929 title : string ;
3030 description : string ;
31- image : any ;
31+ image : string ;
3232 prevStep ?: TTourSteps ;
3333 nextStep ?: TTourSteps ;
3434} [ ] = [
@@ -75,7 +75,7 @@ const TOUR_STEPS: {
7575 } ,
7676] ;
7777
78- export const TourRoot = observer ( function TourRoot ( props : Props ) {
78+ export const TourRoot = observer ( function TourRoot ( props : TOnboardingTourProps ) {
7979 const { onComplete } = props ;
8080 // states
8181 const [ step , setStep ] = useState < TTourSteps > ( "welcome" ) ;
@@ -89,12 +89,12 @@ export const TourRoot = observer(function TourRoot(props: Props) {
8989 return (
9090 < >
9191 { step === "welcome" ? (
92- < div className = "h-3/4 w-4/5 overflow-hidden rounded-[10px] bg-custom-background-100 md:w-1/2 lg:w-2/5" >
92+ < div className = "w-4/5 overflow-hidden rounded-[10px] bg-custom-background-100 md:w-1/2 lg:w-2/5" >
9393 < div className = "h-full overflow-hidden" >
94- < div className = "grid h-3/5 place-items-center bg-custom-primary-100" >
95- < PlaneLockup className = "h-10 w-auto text-custom-text-100 " />
94+ < div className = "grid h-64 place-items-center bg-custom-primary-100" >
95+ < PlaneLockup className = "h-10 w-auto text-white " />
9696 </ div >
97- < div className = "flex h-2/5 flex-col overflow-y-auto p-6" >
97+ < div className = "flex flex-col overflow-y-auto p-6" >
9898 < h3 className = "font-semibold sm:text-xl" >
9999 Welcome to Plane, { currentUser ?. first_name } { currentUser ?. last_name }
100100 </ h3 >
@@ -103,7 +103,7 @@ export const TourRoot = observer(function TourRoot(props: Props) {
103103 started by creating a project.
104104 </ p >
105105 < div className = "flex h-full items-end" >
106- < div className = "mt-8 flex items-center gap-6" >
106+ < div className = "mt-12 flex items-center gap-6" >
107107 < Button
108108 variant = "primary"
109109 onClick = { ( ) => {
0 commit comments