feat: EduEasy checkpoint - plan, scaffolding, pedagogia modules, components child+parent, API routes, Prisma schema, Docker infra, Better Auth

This commit is contained in:
Renato
2026-07-20 17:58:49 +02:00
commit e69b18abaa
49 changed files with 9842 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
"use client"
import { useEffect } from "react"
import { useRouter } from "next/navigation"
export default function RootPage() {
const router = useRouter()
useEffect(() => {
const host = window.location.hostname
if (host.includes("simulacro")) {
router.replace("/parent")
} else {
router.replace("/child")
}
}, [router])
return null
}