feat: Implement a new course learning system with dedicated layouts, lesson playback, and Spaced Repetition System (SRS) functionality.

This commit is contained in:
2026-01-25 18:17:26 +07:00
parent 74e5c2893d
commit 97547521ad
17 changed files with 881 additions and 990 deletions

View File

@@ -1,4 +1,4 @@
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout';
import DashboardLayout from '@/Layouts/DashboardLayout';
import { Head, Link } from '@inertiajs/react';
import { Button } from '@/Components/ui/button';
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/Components/ui/card';
@@ -12,7 +12,7 @@ interface SrsStats {
export default function SrsIndex({ stats }: { stats: SrsStats }) {
return (
<AuthenticatedLayout
<DashboardLayout
header={
<h2 className="text-xl font-semibold leading-tight text-gray-800 dark:text-gray-200">
Vocabulary SRS
@@ -83,6 +83,6 @@ export default function SrsIndex({ stats }: { stats: SrsStats }) {
</div>
</div>
</div>
</AuthenticatedLayout>
</DashboardLayout>
);
}