From 99de1c5fe2bc43acea16f4ca54ccaefdcc3a6809 Mon Sep 17 00:00:00 2001 From: Allison Hong Date: Sat, 28 Dec 2024 02:05:30 -0800 Subject: [PATCH] import ProgressBar into onboarding flow --- app/onboarding/additional-info/page.tsx | 8 ++------ app/onboarding/basic-information/page.tsx | 8 ++------ app/onboarding/performance/page.tsx | 8 ++------ app/onboarding/review/page.tsx | 7 ++----- app/onboarding/role-selection/page.tsx | 8 ++------ app/onboarding/show-preference/page.tsx | 8 ++------ app/onboarding/styles.ts | 15 --------------- components/ProgressBar/ProgressBar.tsx | 14 ++++++-------- components/ProgressBar/styles.ts | 6 ++---- 9 files changed, 20 insertions(+), 62 deletions(-) diff --git a/app/onboarding/additional-info/page.tsx b/app/onboarding/additional-info/page.tsx index dcdb1ab..cb1bdc2 100644 --- a/app/onboarding/additional-info/page.tsx +++ b/app/onboarding/additional-info/page.tsx @@ -2,6 +2,7 @@ import { useContext } from 'react'; import { useRouter } from 'next/navigation'; +import ProgressBar from '@/components/ProgressBar/ProgressBar'; import Back from '@/public/images/back.svg'; import { OnboardingContext } from '@/utils/onboardingContext'; import { @@ -15,8 +16,6 @@ import { InlineContainer, InputContainer, Label, - ProgressBarContainer, - Rectangle, SkipButton, SkipText, Title, @@ -63,10 +62,7 @@ export default function Onboarding() {
you'd like to add? - - - - + diff --git a/app/onboarding/basic-information/page.tsx b/app/onboarding/basic-information/page.tsx index 67eab65..8123d71 100644 --- a/app/onboarding/basic-information/page.tsx +++ b/app/onboarding/basic-information/page.tsx @@ -3,6 +3,7 @@ import { useContext } from 'react'; import { useRouter } from 'next/navigation'; +import ProgressBar from '@/components/ProgressBar/ProgressBar'; import Back from '@/public/images/back.svg'; import { OnboardingContext } from '@/utils/onboardingContext'; import { @@ -18,8 +19,6 @@ import { Input, InputContainer, Label, - ProgressBarContainer, - Rectangle, Title, } from '../styles'; import { RedAsterisk, UpdateContainer, UpdateText } from './styles'; @@ -62,10 +61,7 @@ export default function Onboarding() { Back icon Can you tell us a bit about yourself? - - - - +