Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
feat: add illustration resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
pupixipup committed Dec 30, 2023
1 parent 713ef78 commit 5ed96d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/app/onboarding/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ProgressSection } from '@/app/onboarding/ui/progress-section/progress-s
import { ActionSection } from '@/app/onboarding/ui/action-section/action-section';
import { useSteps } from './lib/hooks/useSteps';
import { useFormContext } from 'react-hook-form';
import styles from "./onboarding.module.scss"

const OnboardingPage = () => {
const { step, handleNext, handleBack } = useSteps();
Expand All @@ -15,7 +16,7 @@ const OnboardingPage = () => {
<Flex width={'100%'} height={'100%'}>
<ProgressSection step={step}>
<Flex direction='column' flex={1} width='100%'>
<Flex align='center' flex={1} width='100%'>
<Flex className={styles.illustration} align='center' flex={1} width='100%'>
{steps[step].meta.illustration}
</Flex>
</Flex>
Expand Down

0 comments on commit 5ed96d6

Please sign in to comment.