mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
* feat(deployed-form): added deployed form input * styling consolidation, finishing touches on form * updated docs * remove unused files with knip * added more form fields * consolidated more test utils * remove unused/unneeded zustand stores, refactored stores for consistency * improvement(files): uncolorized plan name * feat(emcn): button-group * feat(emcn): tag input, tooltip shortcut * improvement(emcn): modal padding, api, chat, form * fix: deleted migrations * feat(form): added migrations * fix(emcn): tag input * fix: failing tests on build * add suplementary hover and fix bg color in date picker * fix: build errors --------- Co-authored-by: Emir Karabeg <emirkarabeg@berkeley.edu>
24 lines
735 B
TypeScript
24 lines
735 B
TypeScript
'use client'
|
|
|
|
import AuthBackground from '@/app/(auth)/components/auth-background'
|
|
import Nav from '@/app/(landing)/components/nav/nav'
|
|
|
|
interface InviteLayoutProps {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
export default function InviteLayout({ children }: InviteLayoutProps) {
|
|
return (
|
|
<AuthBackground>
|
|
<main className='relative flex min-h-screen flex-col text-foreground'>
|
|
<Nav hideAuthButtons={true} variant='auth' />
|
|
<div className='relative z-30 flex flex-1 items-center justify-center px-4 pb-24'>
|
|
<div className='w-full max-w-lg px-4'>
|
|
<div className='flex flex-col items-center justify-center'>{children}</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</AuthBackground>
|
|
)
|
|
}
|