first commit

This commit is contained in:
Bivekich
2025-06-26 06:59:19 +03:00
commit 18e1f3ffb1
124 changed files with 52448 additions and 0 deletions

15
src/app/setup/page.tsx Normal file
View File

@ -0,0 +1,15 @@
"use client"
import { useRouter } from 'next/navigation'
import { CreateFirstUser } from '@/components/setup/CreateFirstUser'
export default function SetupPage() {
const router = useRouter()
const handleSuccess = () => {
// После успешного создания пользователя перенаправляем на страницу входа
router.push('/login')
}
return <CreateFirstUser onSuccess={handleSuccess} />
}