feat: auto enroll into org as student and oauth improvements

This commit is contained in:
Rotimi Best
2026-05-20 08:32:56 +01:00
parent d21d89f250
commit 71fbb2101c
18 changed files with 482 additions and 21 deletions
@@ -1,9 +1,10 @@
<script>
import { Badge } from '@cio/ui/base/badge';
import { TENANT_ROOT_DOMAIN } from '@cio/utils/constants';
</script>
<section id="student-dashboard" class="bg-black px-3 py-[10%] text-center text-white lg:px-0">
<Badge class="px-4! py-2! text-sm! underline">yourorg.classroomio.com</Badge>
<Badge class="px-4! py-2! text-sm! underline">yourorg.{TENANT_ROOT_DOMAIN}</Badge>
<h1 class="mx-auto flex flex-col items-center gap-4 text-3xl leading-[1.5] font-normal md:text-4xl lg:text-6xl">
Your Student Dashboard
</h1>
@@ -10,7 +10,7 @@
let { children } = $props();
</script>
<PageHeader className="flex flex-col items-center justify-center bg-[#F5F8FE] text-center pb-8">
<PageHeader className="flex flex-col items-center justify-center text-center pb-8">
<div class="mb-2 flex w-full items-center justify-center">
<span
class="rounded-full border-2 border-[#C2D2FF] bg-[#DCE5FF] px-4 py-1 text-sm font-medium text-blue-700"
@@ -10,7 +10,7 @@
let { children } = $props();
</script>
<PageHeader className="flex flex-col items-center justify-center bg-[#F5F8FE] text-center pb-8">
<PageHeader className="flex flex-col items-center justify-center text-center pb-8">
<div class="mb-2 flex w-full items-center justify-center">
<span
class="rounded-full border-2 border-[#C2D2FF] bg-[#DCE5FF] px-4 py-1 text-sm font-medium text-blue-700"
+1 -1
View File
@@ -67,7 +67,7 @@
class="flex w-full rounded-md border shadow-sm transition-all ease-in-out hover:scale-95 md:max-w-[370px]"
>
<img class="w-[30%] rounded-l-md" src={tool.src} alt="" />
<div class="w-[70%] rounded-r-md bg-[#F5F8FE] p-5">
<div class="w-[70%] rounded-r-md p-5">
<h1 class="text-sm md:text-base">{tool.title}</h1>
<p class="mt-1.5 text-xs text-gray-600">
{tool.subText}