import { ComponentPropsWithoutRef } from 'react'; import { Link, Outlet, useParams } from 'react-router-dom'; import { Heading } from 'components/shared/Heading'; import { WavyBorder } from 'components/shared/WavyBorder'; import { Button } from 'components/shared/Button'; import { CrossIcon } from 'components/shared/CustomIcon'; import { cn } from 'utils/classnames'; import * as Dialog from '@radix-ui/react-dialog'; export interface CreateProjectLayoutProps extends ComponentPropsWithoutRef<'section'> {} export const CreateProjectLayout = ({ className, ...props }: CreateProjectLayoutProps) => { const { orgSlug } = useParams(); const closeBtnLink = `/${orgSlug}`; const heading = ( Create new project ); return ( <> {/* Desktop */} {/* Mobile */} {/* Setting modal={false} so even if modal is active on desktop, it doesn't block clicks */} {/* Not using since modal={false} disables it and its content will not show */}
{/* Heading */}
{heading}
{/* Border */} {/* Page content */}
); };