Rename OnboardingLayout to ProfileLayout since its only used in the profile
This commit is contained in:
@ -2,11 +2,11 @@ import { Box, VStack, HStack } from '../elements/LayoutPrimitives'
|
||||
import { OmnivoreNameLogo } from '../elements/images/OmnivoreNameLogo'
|
||||
import { theme } from '../tokens/stitches.config'
|
||||
|
||||
type OnboardingLayoutProps = {
|
||||
type ProfileLayoutProps = {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export function OnboardingLayout(props: OnboardingLayoutProps): JSX.Element {
|
||||
export function ProfileLayout(props: ProfileLayoutProps): JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<VStack
|
||||
@ -1,14 +1,14 @@
|
||||
import { PageMetaData } from '../components/patterns/PageMetaData'
|
||||
import { OnboardingLayout } from '../components/templates/OnboardingLayout'
|
||||
import { ProfileLayout } from '../components/templates/ProfileLayout'
|
||||
import { ConfirmProfileModal } from '../components/templates/ConfirmProfileModal'
|
||||
|
||||
export default function ConfirmProfilePage(): JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<PageMetaData title="Create Profile - Omnivore" path="/confirm-profile" />
|
||||
<OnboardingLayout>
|
||||
<ProfileLayout>
|
||||
<ConfirmProfileModal />
|
||||
</OnboardingLayout>
|
||||
</ProfileLayout>
|
||||
<div data-testid="confirm-profile-page-tag" />
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user