mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
* chore: fix conflicts * chore: fix conflicts * chore: pause marquee * chore: fix conflicts * chore: fix conflicts * chore: address review comments * chore: fix conflicts * chore: other bug fixes * chore: fix conflicts * chore: fix radius * chore: fix review changes * chore: fix conflicts * chore: revert other * chore: fix conflicts * chore: fix review changes * chore: fix conflicts * chore: fix review changes * chore: fix button state * chore: fix button state * chore: fix review changes * chore: fix lint * chore: fix conflicts * chore: add metadata * chore: fix things * chore: fix overwritten states * chore: fix warnings * chore: fix button state * chore: fix review changes * chore: fix review changes * chore: fix hover state * chore: fix popover * chore: fix review changes * chore: fix review changes
18 lines
579 B
TypeScript
18 lines
579 B
TypeScript
import { cn } from '@/lib/core/utils/cn'
|
|
import AuthBackgroundSVG from '@/app/(auth)/components/auth-background-svg'
|
|
|
|
type AuthBackgroundProps = {
|
|
className?: string
|
|
children?: React.ReactNode
|
|
}
|
|
|
|
export default function AuthBackground({ className, children }: AuthBackgroundProps) {
|
|
return (
|
|
<div className={cn('fixed inset-0 overflow-hidden', className)}>
|
|
<div className='-z-50 pointer-events-none absolute inset-0 bg-[var(--landing-bg)]' />
|
|
<AuthBackgroundSVG />
|
|
<div className='relative z-20 h-full overflow-auto'>{children}</div>
|
|
</div>
|
|
)
|
|
}
|