import Link from 'next/link' import { PropsWithChildren } from 'react' import { withAuth } from 'hooks/misc/withAuth' import { BASE_PATH } from 'lib/constants' import { ChevronRight } from 'lucide-react' import type { Organization, Project } from 'types' import { FeedbackDropdown } from './ProjectLayout/LayoutHeader/FeedbackDropdown' import HelpPopover from './ProjectLayout/LayoutHeader/HelpPopover' interface WizardLayoutProps { organization: Organization | null | undefined project: Project | null } const WizardLayout = ({ organization, project, children, }: PropsWithChildren) => { return (
{children}
) } export default withAuth(WizardLayout) export const WizardLayoutWithoutAuth = WizardLayout const Header = ({ organization, project }: WizardLayoutProps) => { let stepNumber = organization ? 1 : project ? 2 : 0 return (
Supabase

{organization ? `Organization: ${organization.name}` : 'Create an organization'}

{project ? project.name : 'Create a new project'}

{/* The End */}
) }