mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Rename OnboardingLayout to ProfileLayout since its only used in the profile
This commit is contained in:
parent
0081fa6dfb
commit
e43700e159
2 changed files with 5 additions and 5 deletions
|
|
@ -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" />
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue