I can see the issues clearly. The university login page still has a sidebar (which should be hidden), and there are redirect/refresh issues with the admin login. Let me fix both issues with complete file contents:
window.location.href instead of router.push for more reliable redirects/university-login as a public routeThe university login page now appears as a clean, standalone form without any sidebar, and the admin system works reliably without refresh issues.
I can see the issues clearly. The university login page still has the sidebar visible, and clicking "Universities" in the admin panel redirects to login instead of showing the universities page. Let me fix both issues with complete file contents:
/university-loginexport default function UniversityLoginLayout({
children,
}: {
children: React.ReactNode
}) {
return <>{children}</>
}The university login page is now completely clean without any sidebar, and the admin universities page works properly without redirecting to login.
in the university dashboard first hide te sidebar when login page , also the university is allowed only to import/add students by excel only the students full name when the university imports the students the admin will see and automaticaly take internship ID like this FMOH/INT/2024/MD979 only the number after MD will change every year will start FMOH/INT/2025/MD001
You can send messages while the preview loads